OilPrice MCP Server
Access real-time and historical oil, gas, and energy commodity prices — WTI, Brent, Natural Gas, Diesel, and 40+ more via OilPriceAPI.
Ask AI about this MCP Server
Vinkius supports streamable HTTP and SSE.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
What is the OilPriceAPI MCP Server?
The OilPriceAPI MCP Server gives AI agents like Claude, ChatGPT, and Cursor direct access to OilPriceAPI via 10 tools. Access real-time and historical oil, gas, and energy commodity prices — WTI, Brent, Natural Gas, Diesel, and 40+ more via OilPriceAPI. Powered by the Vinkius - no API keys, no infrastructure, connect in under 2 minutes.
Built-in capabilities (10)
Tools for your AI Agents to operate OilPriceAPI
Ask your AI agent "What is the current price of WTI crude oil?" and get the answer without opening a single dashboard. With 10 tools connected to real OilPriceAPI data, your agents reason over live information, cross-reference it with other MCP servers, and deliver insights you would spend hours assembling manually.
Works with Claude, ChatGPT, Cursor, and any MCP-compatible client. Powered by the Vinkius - your credentials never touch the AI model, every request is auditable. Connect in under two minutes.
Why teams choose Vinkius
One subscription gives you access to thousands of MCP servers - and you can deploy your own to the Vinkius Edge. Your AI agents only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure and security, zero maintenance.
Build your own MCP Server with our secure development framework →Vinkius works with every AI agent you already use
…and any MCP-compatible client


















OilPrice MCP Server capabilities
10 toolsPrices update every 5 minutes. USE WHEN: - User asks specifically about Brent oil price - User needs the international crude oil benchmark - User wants to check European/global oil prices - User asks "what is Brent price" EXAMPLES: - "What is Brent price?" → call with no params - "Current Brent crude oil price" → call with no params - "Brent oil benchmark" → call with no params Get current Brent crude oil price
Important for tracking transportation fuel costs and refined product margins. USE WHEN: - User asks about diesel fuel prices - User needs refined product pricing - User wants to track diesel vs crude crack spreads - User asks "what is diesel price" EXAMPLES: - "What is diesel price?" → call with no params - "Current ULSD diesel price" → call with no params - "US diesel fuel cost" → call with no params Get current US Diesel (Ultra Low Sulfur) price
Requires a paid OilPriceAPI subscription. USE WHEN: - User asks about historical oil prices for a specific period - User wants long-term trend analysis or backtesting - User asks for prices from specific dates EXAMPLES: - "WTI prices for Q1 2026" → commodity_code="WTI_USD", start_date="2026-01-01", end_date="2026-03-31" - "Brent crude last year" → commodity_code="BRENT_CRUDE_USD", start_date="2025-01-01", end_date="2025-12-31" Get historical price data for a custom date range
Prices are updated every 5 minutes for oil, gas, and refined products. USE WHEN: - User asks about current oil prices - User needs the latest commodity prices - User wants to check current WTI or Brent prices - User asks what is the price of oil/gas/coal right now PARAMETERS: - commodity_code (OPTIONAL): Specific commodity code (e.g. "WTI_USD", "BRENT_CRUDE_USD") EXAMPLES: - "What is current oil price?" → call with commodity_code="WTI_USD" - "Latest Brent crude price" → call with commodity_code="BRENT_CRUDE_USD" - "Show all latest energy prices" → call with no params Get the latest spot prices for energy commodities
Prices update every 5 minutes. USE WHEN: - User asks about natural gas prices - User needs the US natural gas benchmark - User wants to check Henry Hub prices - User asks "what is natural gas price" EXAMPLES: - "What is natural gas price?" → call with no params - "Current Henry Hub gas price" → call with no params - "US natural gas benchmark" → call with no params Get current US Natural Gas (Henry Hub) price
Perfect for tracking intraday price movements and volatility. USE WHEN: - User asks about oil price movements today - User needs hourly price data for the last day - User wants to track intraday volatility - User asks how prices changed in the last 24 hours PARAMETERS: - commodity_code (OPTIONAL): Specific commodity code EXAMPLES: - "Show WTI price movements today" → call with commodity_code="WTI_USD" - "Hourly natural gas prices last 24h" → call with commodity_code="NATURAL_GAS_USD" - "Brent crude intraday prices" → call with commodity_code="BRENT_CRUDE_USD" Get hourly prices data for the last 24 hours
Great for monthly trend analysis and medium-term price tracking. USE WHEN: - User asks about oil price trends this month - User needs daily prices for the last 30 days - User wants to track monthly price movements - User asks how prices changed over the past month PARAMETERS: - commodity_code (OPTIONAL): Specific commodity code EXAMPLES: - "WTI price trends this month" → call with commodity_code="WTI_USD" - "Monthly natural gas prices" → call with commodity_code="NATURAL_GAS_USD" - "Brent crude last 30 days" → call with commodity_code="BRENT_CRUDE_USD" Get daily price data for the last 30 days
Ideal for weekly trend analysis and short-term price tracking. USE WHEN: - User asks about oil price trends this week - User needs daily prices for the last week - User wants to track weekly price movements - User asks how prices changed over the past week PARAMETERS: - commodity_code (OPTIONAL): Specific commodity code EXAMPLES: - "WTI price trends this week" → call with commodity_code="WTI_USD" - "Weekly natural gas prices" → call with commodity_code="NATURAL_GAS_USD" - "Brent crude last 7 days" → call with commodity_code="BRENT_CRUDE_USD" Get daily price data for the last 7 days
Prices update every 5 minutes. USE WHEN: - User asks specifically about WTI oil price - User needs the US crude oil benchmark - User wants to check American oil prices - User asks "what is WTI price" EXAMPLES: - "What is WTI price?" → call with no params - "Current WTI crude oil price" → call with no params - "West Texas Intermediate price" → call with no params Get current WTI (West Texas Intermediate) crude oil price
USE WHEN: - User wants to explore what commodities are available - User needs to find commodity codes for querying prices - User is exploring the API capabilities for the first time - User asks what energy commodities are supported AVAILABLE COMMODITY TYPES: - Crude Oil: WTI_USD, BRENT_CRUDE_USD - Refined Products: DIESEL_USD, GASOLINE_USD, HEATING_OIL_USD, JET_FUEL_USD - Natural Gas: NATURAL_GAS_USD - Coal: COAL_USD - And 40+ more energy commodities EXAMPLES: - "What commodities are available?" → call with no params - "Show me all commodity codes" → call with no params - "List all energy products" → call with no params List all available energy commodities in OilPriceAPI
What the OilPrice MCP Server unlocks
Connect to OilPriceAPI and bring real-time energy commodity intelligence to any AI agent. Access 50+ energy commodities with prices updated every 5 minutes.
What you can do
- WTI Crude Oil — Get current and historical West Texas Intermediate crude prices, the primary US oil benchmark
- Brent Crude — Track international crude oil prices, the global benchmark for oil trading
- Natural Gas — Monitor Henry Hub natural gas prices updated every 5 minutes
- Refined Products — Access diesel, gasoline, heating oil, and jet fuel prices
- Coal — Track Newcastle thermal coal benchmarks
- Latest Prices — Fetch current spot prices for any or all commodities
- Intraday Data — Analyze hourly price movements over the last 24 hours
- Weekly Trends — Review daily prices for the last 7 days
- Monthly Analysis — Examine daily prices for the last 30 days
- Historical Data — Query custom date ranges for long-term trend analysis (paid tier)
- Commodity Catalog — Explore all 50+ available energy commodities and their codes
How it works
1. Subscribe to this server
2. Enter your OilPriceAPI key (free 7-day trial with 10,000 requests available)
3. Start querying energy prices from Claude, Cursor, or any MCP-compatible client
Your AI becomes an energy analyst, helping you track commodity prices, understand market dynamics, and make data-driven decisions.
Who is this for?
- Energy Traders — monitor real-time WTI, Brent, and natural gas prices for trading opportunities
- Procurement Teams — track fuel costs (diesel, gasoline, jet fuel) to optimize purchasing timing
- Researchers & Analysts — access historical price data for market studies and publications
- Logistics Managers — monitor diesel and gasoline prices for fleet cost management
- Investment Professionals — integrate commodity price feeds into portfolio analysis
- Aviation & Shipping — track jet fuel and diesel prices for operational cost planning
Frequently asked questions about the OilPrice MCP Server
How often are oil and gas prices updated?
Oil, gas, and refined product prices (WTI, Brent, Natural Gas, Diesel, Gasoline, etc.) are updated every 5 minutes during market hours. Coal prices update daily. This ensures you have near real-time data for trading decisions and cost monitoring.
How do I get an OilPriceAPI key and what does the free trial include?
Visit https://oilpriceapi.com/ and sign up for a free account. The 7-day free trial includes 10,000 API requests, access to all 50+ commodities, all endpoints (latest, past day, past week, past month), and no credit card required. After the trial, paid plans start at $15/month. Rate limit on free tier: 60 requests/minute.
What commodity codes are available?
The API offers 50+ energy commodities. Key codes include: WTI_USD (WTI Crude), BRENT_CRUDE_USD (Brent Crude), NATURAL_GAS_USD (Henry Hub Gas), DIESEL_USD (Ultra Low Sulfur Diesel), GASOLINE_USD (RBOB Gasoline), HEATING_OIL_USD (No. 2 Heating Oil), JET_FUEL_USD (Aviation Fuel/Kerosene), COAL_USD (Newcastle Thermal Coal). Use the list_commodities tool to see the full catalog.
Can I access historical price data for trend analysis?
Yes! The free tier includes past_day (24h hourly), past_week (7d daily), and past_month (30d daily) endpoints. For custom date ranges beyond 30 days, use the get_historical_prices tool which requires a paid subscription. This is ideal for long-term trend analysis, backtesting trading strategies, and academic research.
More in this category
You might also like
Connect OilPrice with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript toolkit for building AI-powered web applications.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
Give your AI agents the power of OilPriceAPI MCP Server
Production-grade OilPrice MCP Server. Verified, monitored, and maintained by Vinkius. Ready for your AI agents — connect and start using immediately.






