OilPriceAPI — Real-Time Oil, Gas & Commodity Prices for AI Agents
@OilpriceAPI
Give your AI agent live energy markets in one install.
Overview
What is OilPriceAPI?
OilPriceAPI is a commodity-data MCP server that gives AI agents live energy markets. It serves fintech dashboards, fleet and logistics tools, and maritime compliance platforms, processing over 2 million requests per month.
How to use OilPriceAPI?
Run npx -y oilpriceapi-mcp in any MCP-compatible environment, or install the one-click Claude Desktop extension from the GitHub releases. It works instantly in demo mode with no API key or signup, and a free tier unlocks 40+ commodities.
Key features of OilPriceAPI
- 26 production-grade tools: real-time spot prices, historical ranges, futures curves, alerts, and market briefs
- 70+ commodities including Brent, WTI, natural gas, EU carbon allowances, and gold
- Natural-language lookup — ask for "brent" or "european gas", not ticker codes
- Works instantly in demo mode — no API key or signup required
- Tool annotations (read-only/destructive hints) for agent framework auto-approval
- Automatic retries with backoff and typed error messages
Use cases of OilPriceAPI
- Powering fintech dashboards with live energy and commodity prices
- Informing fleet and logistics cost models with real-time fuel and bunker prices
- Supporting maritime compliance platforms with market data
- Enabling AI agents to fetch commodity price data via natural language queries
FAQ from OilPriceAPI
How do I try OilPriceAPI without signing up?
You can run it in demo mode immediately using npx -y oilpriceapi-mcp — no API key or registration is needed.
What commodities are supported?
Over 70 commodities including Brent, WTI, Dubai crude, natural gas (Henry Hub, TTF, JKM LNG), EU carbon allowances (ETS), diesel, jet fuel, marine bunker fuels (VLSFO), gasoline, heating oil, coal, and gold.
What runtime or dependencies does it require?
It runs via npx (Node.js) and works with any MCP-compatible client framework. There are no other server-side dependencies.
How does authentication work?
The server supports demo mode (no key) and a free API key tier that unlocks 40+ commodities. Keys are obtained from the OilPriceAPI website.
Does it support agent-safe tool calling?
Yes, it provides tool annotations with read-only/destructive hints so agent frameworks can auto-approve safe calls.