OilPriceAPI Connector for AI agents.
10 live capabilities
Track real-time energy commodity prices and historical market trends.
Waiting for input…
Why people use OilPriceAPI
OilPrice for Real-Time Energy Market Tracking
This Connector replaces that manual loop by giving your AI agent a direct line to OilPriceAPI. You can ask for a 30-day trend or a specific commodity's current price and get the answer instantly in your chat. You get clean data without the tab-switching.
What Vinkius changes
You get live energy market data delivered directly to your AI chat.
Use it from Claude, ChatGPT, Cursor or another AI client you already have.
One account · 5,900+ Connectors
- Real-world use case 01
Tracking weekly fuel costs
A logistics manager asks for diesel price trends over the last week to adjust fleet costs and plan for upcoming travel.
- Real-world use case 02
Comparing oil benchmarks
A trader compares WTI and Brent prices to find the best entry point for a new trade based on the current spread.
- Real-world use case 03
Historical market research
A researcher needs a 30-day history of natural gas prices to write a report on seasonal demand shifts.
Complete set · 10capabilities
The complete OilPriceAPI capability set.
These are the exact actions your AI can choose when you ask it to work with OilPriceAPI.
01—04
4 capabilities in this set.
Part of 10 available through OilPriceAPI.
- 01 Capability
List commodities
Shows all 50+ energy products and their specific codes. This is helpful for finding the right identifier for a query.
- 02 Capability
Get diesel price
Retrieves the current price for US Ultra Low Sulfur diesel. It is useful for tracking transportation fuel costs.
- 03 Capability
Get historical prices
Pulls price data for a custom date range for long-term analysis. This requires a paid subscription to the underlying API.
- 04 Capability
Get latest prices
Fetches current spot prices for any selected energy commodity. It provides a quick snapshot of the current market.
05—07
3 capabilities in this set.
Part of 10 available through OilPriceAPI.
- 05 Capability
Get natural gas price
Gets the current Henry Hub natural gas price. The data refreshes every 5 minutes.
- 06 Capability
Get past day prices
Retrieves hourly price movements for the last 24 hours. Use this to track intraday volatility.
- 07 Capability
Get past month prices
Pulls daily price data for the last 30 days. It is ideal for medium-term trend tracking.
08—10
3 capabilities in this set.
Part of 10 available through OilPriceAPI.
- 08 Capability
Get past week prices
Gets daily price data for the last 7 days. Use this to see how prices changed over the last week.
- 09 Capability
Get wti price
Fetches the current West Texas Intermediate crude oil price. This is the primary benchmark for US oil.
- 10 Capability
Get brent price
Gets the current international crude oil benchmark price. It updates every 5 minutes.
Set up in minutes
One URL. Then ask OilPriceAPI to work.
Claude and ChatGPT only need the Connector URL. Copy it once, add it in settings, and use OilPriceAPI from the conversation.
Choose your client
Live previewAdvanced clients IDE · CLI
Claude · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_NfykbC3ULlUI7qdsGwxlsnly7LXjTgbuYZiJyjyc/mcp - Step 01
Open Connectors
In Claude Web or Claude Desktop, open Settings and choose Connectors.
- Step 02
Add the URL
Choose Add custom connector, name it OilPriceAPI, and paste the URL above.
- Step 03
Turn it on in chat
Select +, open Connectors, and enable OilPriceAPI for the conversation.
ChatGPT · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_NfykbC3ULlUI7qdsGwxlsnly7LXjTgbuYZiJyjyc/mcp - Step 01
Open MCP settings
On desktop, open Settings and MCP servers. On web, open your workspace app or connector settings.
- Step 02
Add the URL
Choose Add server with Streamable HTTP, or create a custom MCP app, then paste the OilPriceAPI URL.
- Step 03
Save and start
Save the connection and enable OilPriceAPI in your conversation. Desktop may ask you to restart once.
Cursor · IDE configuration
Advanced setup
{
"mcpServers": {
"oilprice": {
"url": "https://edge.vinkius.com/vk_preview_NfykbC3ULlUI7qdsGwxlsnly7LXjTgbuYZiJyjyc/mcp"
}
}
} - Step 01
Open MCP Settings
Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux) → search "MCP Settings"
- Step 02
Add the server config
Paste the JSON configuration above into the mcp.json file that opens
- Step 03
Save the file
Cursor will automatically detect the new Connector
- Step 04
Start using OilPriceAPI
Open Agent mode in chat and ask: "Using OilPriceAPI, help me...". 10 tools available
VS Code Copilot · IDE configuration
Advanced setup
{
"mcpServers": {
"oilprice": {
"url": "https://edge.vinkius.com/vk_preview_NfykbC3ULlUI7qdsGwxlsnly7LXjTgbuYZiJyjyc/mcp"
}
}
} - Step 01
Create MCP config
Create a .vscode/mcp.json file in your project root
- Step 02
Add the server config
Paste the JSON configuration above
- Step 03
Enable Agent mode
Open GitHub Copilot Chat and switch to Agent mode using the dropdown
- Step 04
Start using OilPriceAPI
Ask Copilot: "Using OilPriceAPI, help me...". 10 tools available
Windsurf · IDE configuration
Advanced setup
{
"mcpServers": {
"oilprice": {
"url": "https://edge.vinkius.com/vk_preview_NfykbC3ULlUI7qdsGwxlsnly7LXjTgbuYZiJyjyc/mcp"
}
}
} - Step 01
Open MCP Settings
Go to Settings → MCP Configuration or press Cmd+Shift+P and search "MCP"
- Step 02
Add the server
Paste the JSON configuration above into mcp_config.json
- Step 03
Save and reload
Windsurf will detect the new server automatically
- Step 04
Start using OilPriceAPI
Open Cascade and ask: "Using OilPriceAPI, help me...". 10 tools available
Cline · IDE configuration
Advanced setup
{
"mcpServers": {
"oilprice": {
"url": "https://edge.vinkius.com/vk_preview_NfykbC3ULlUI7qdsGwxlsnly7LXjTgbuYZiJyjyc/mcp"
}
}
} - Step 01
Open Cline MCP Settings
Click the Connectors icon in the Cline sidebar panel
- Step 02
Add remote server
Click "Add Connector" and paste the configuration above
- Step 03
Enable the server
Toggle the server switch to ON
- Step 04
Start using OilPriceAPI
Ask Cline: "Using OilPriceAPI, help me...". 10 tools available
Claude Code · Terminal command
Advanced setup
claude mcp add oilprice --transport http "https://edge.vinkius.com/vk_preview_NfykbC3ULlUI7qdsGwxlsnly7LXjTgbuYZiJyjyc/mcp" - Step 01
Install Claude Code
Run npm install -g @anthropic-ai/claude-code if not already installed
- Step 02
Add the Connector
Run the command above in your terminal
- Step 03
Verify the connection
Run claude mcp to list connected servers, or type /mcp inside a session
- Step 04
Start using OilPriceAPI
Ask Claude: "Using OilPriceAPI, show me...". 10 tools are ready
Where the request belongs
Work OilPriceAPI can move forward.
For energy traders, procurement officers, and logistics managers who need to move away from manual price tracking and into data-driven decision making.
Energy Trader
Monitors Brent and WTI spreads in real-time to spot trading opportunities.
Procurement Manager
Tracks diesel and jet fuel costs to time fuel purchases for a large fleet.
Market Researcher
Pulls historical price trends for reports on global energy dynamics.
Build the capability set
Add more capabilities.
Each Connector adds new actions and data without changing how you work.
Browse ConnectorsCommodities
Access real-time futures prices for 30+ commodities. gold, silver, oil, gas, wheat, coffee, copper, and more via Commodities-API.
S&P Global Commodity Insights
Access global commodity price assessments. crude oil, natural gas, power, coal, metals, petrochemicals, and agriculture via S&P Global Platts benchmarks.
EIA Petroleum — Oil Market Intelligence
Real-time oil market data: WTI and Brent crude prices, gasoline and diesel retail prices, U.S. production, refinery operations, Strategic Petroleum Reserve levels, crude imports by country, and the weekly petroleum status report.
Flux Markets
Access energy market data, live pricing, and proprietary trade insights from Flux Markets.
EIA Natural Gas — Gas Market Intelligence
Natural gas market data: Henry Hub spot and futures prices, underground storage levels (the weekly report that moves markets), LNG imports/exports, production by state, pipeline flows, and consumption by sector.
Enverus Energy Intelligence
Equip your AI agent to access global energy data, track drilling rigs, and monitor well production via the Enverus API.
Bring your own AI
Change the model, client or framework. Keep OilPriceAPI connected.
-
Claude -
ChatGPT -
Gemini -
Cursor -
VS Code -
Windsurf -
ZCode -
Cline -
Zed -
Continue -
Kiro -
Roo Code -
Zencoder -
Goose -
Void -
Augment Code -
Amp -
Qodo -
Tabnine -
Pieces -
Sourcegraph Cody -
JetBrains -
Warp -
Amazon Q -
Antigravity -
BoltAI -
Raycast -
Jan -
LM Studio -
AnythingLLM -
Open WebUI -
Msty -
Cherry Studio -
LibreChat -
TypingMind -
Chorus -
5ire -
n8n -
LangChain -
LlamaIndex -
CrewAI -
Vercel AI SDK
Before you connect
Questions about OilPriceAPI.
The practical details behind the request, access and result.
Can the OilPrice MCP give me real-time prices?
Yes, it pulls data from OilPriceAPI that updates every 5 minutes for most commodities, including oil and gas.
Does OilPrice MCP support natural gas?
It tracks Henry Hub natural gas prices and provides updates every 5 minutes for your agent.
Can I get historical oil prices with OilPrice MCP?
You can pull custom date ranges for long-term trends using the paid tier of the underlying API.
Which specific oil types does OilPrice MCP track?
It covers major benchmarks like WTI and Brent, plus refined products like diesel and gasoline.
How often do the prices update?
Most commodity prices, including oil and gas, refresh every 5 minutes.
Can I use OilPrice MCP for research reports?
It is great for this because you can pull daily prices for the last 30 days or 7 days for trend analysis.
What energy commodities are included in OilPrice MCP?
It covers over 50 commodities, including crude oil, coal, and various refined fuels.
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 capability 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 capability which requires a paid subscription. This is ideal for long-term trend analysis, backtesting trading strategies, and academic research.
One connection away
Give your agent a direct line to OilPriceAPI.
Connect OilPriceAPI once. Keep it beside 5,900+ managed Connectors when the next task needs more.
Explore every Connector No credit card required · Free tier available