# OilPrice MCP for AI Agents AI Agent Connect

> OilPrice MCP gives your AI agent real-time and historical data on 50+ energy commodities. It pulls prices for WTI, Brent, Natural Gas, and refined products like diesel and jet fuel. You can check current spot prices, analyze intraday movements, or pull long-term historical trends for market research and procurement planning.

## Overview
- **Category:** data-analytics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_NfykbC3ULlUI7qdsGwxlsnly7LXjTgbuYZiJyjyc/ai-agent-connect
- **Tags:** commodity-prices, market-data, real-time-api, energy-trading, financial-data, rest-api

## Description

Most energy analysts spend way too much time jumping between different websites to find the latest spot prices. They end up copy-pasting WTI and Brent numbers into spreadsheets, trying to keep up with intraday volatility that changes every few minutes. This Connector changes that by giving your AI agent a direct line to the OilPriceAPI. Instead of hunting for the latest crude oil numbers, you can just ask your agent to pull them instantly. It handles the heavy lifting of fetching current spot prices, checking hourly movements for the last 24 hours, or pulling monthly trends to see how the market is shifting. If you need to know how much diesel costs in the US right now or want to see how coal benchmarks have moved over the last seven days, the information is ready when you ask. It is a massive time saver for anyone who needs to keep a pulse on energy costs without the manual data entry. Because this is part of the Vinkius catalog, you can plug it into your existing workflow and let your AI do the monitoring for you. You get a reliable feed of energy intelligence that helps you make faster decisions on trades, procurement, or logistics.

## Tools

### list_commodities
Shows all 50+ energy products and their specific codes. This is helpful for finding the right identifier for a query.

### get_diesel_price
Retrieves the current price for US Ultra Low Sulfur diesel. It is useful for tracking transportation fuel costs.

### get_historical_prices
Pulls price data for a custom date range for long-term analysis. This requires a paid subscription to the underlying API.

### get_latest_prices
Fetches current spot prices for any selected energy commodity. It provides a quick snapshot of the current market.

### get_natural_gas_price
Gets the current Henry Hub natural gas price. The data refreshes every 5 minutes.

### get_past_day_prices
Retrieves hourly price movements for the last 24 hours. Use this to track intraday volatility.

### get_past_month_prices
Pulls daily price data for the last 30 days. It is ideal for medium-term trend tracking.

### get_past_week_prices
Gets daily price data for the last 7 days. Use this to see how prices changed over the last week.

### get_wti_price
Fetches the current West Texas Intermediate crude oil price. This is the primary benchmark for US oil.

### get_brent_price
Gets the current international crude oil benchmark price. It updates every 5 minutes.

## Prompt Examples

**Prompt:** 
```
What is the current price of WTI crude oil?
```

**Response:** 
```
Fetching latest WTI price... **Current WTI Crude** is trading at **$78.45 USD** per barrel. 

*   **Last Updated:** 2 minutes ago
*   **Session Range:** $77 - $79

WTI has shown steady movement this morning with slight support near the $77 mark.
```

**Prompt:** 
```
Show me natural gas prices for the last week.
```

**Response:** 
```
Retrieving past week natural gas prices... **Henry Hub Natural Gas** has traded between **$2.72-$2.95/MMBtu** over the last 7 days.

*   **Current Price:** $2.85/MMBtu
*   **Change:** Up 3% from last week

Prices have been supported by increased heating demand and steady LNG export volumes.
```

**Prompt:** 
```
Compare WTI and Brent crude prices today.
```

**Response:** 
```
Fetching both benchmarks... 

| Benchmark | Current Price |
| :--- | :--- |
| **WTI Crude** | $78.45/bbl |
| **Brent Crude** | $82.30/bbl |

**Analysis:**
*   **WTI-Brent Spread:** $3.85
*   **Context:** The spread is currently within the normal range. Brent's premium reflects tighter global supply and stronger international demand compared to US inventories.
```

## Capabilities

### Fetch current WTI or Brent prices
Get the latest crude oil benchmarks instantly without leaving your chat.

### Track Henry Hub gas fluctuations
Monitor natural gas price movements with updates every 5 minutes.

### Get refined product costs
Access current pricing for diesel, gasoline, and jet fuel.

### Analyze 24-hour price movements
Retrieve hourly price data for the last day to see intraday volatility.

### Pull historical commodity data
Query specific date ranges to perform long-term market trend analysis.

### List all energy commodity codes
See the full list of 50+ supported energy products and their identifiers.

## Use Cases

### 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.

### 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.

### Historical market research
A researcher needs a 30-day history of natural gas prices to write a report on seasonal demand shifts.

### Bulk fuel procurement
A procurement team checks the current price of jet fuel to decide if it is an optimal time to lock in a bulk purchase.

## Benefits

- Stop manual data entry by letting your agent pull WTI and Brent prices directly from OilPriceAPI.
- Monitor refined products like diesel and gasoline with get_diesel_price to manage fuel costs.
- Analyze market volatility using get_past_day_prices to see hourly movements over 24 hours.
- Perform long-term trend analysis by pulling historical data with get_historical_prices for specific dates.
- Quickly identify all supported products using list_commodities to ensure you have the right codes.
- Get updated natural gas benchmarks every 5 minutes via get_natural_gas_price for accurate reporting.

## How It Works

The bottom line is you get live energy market data delivered directly to your AI chat.

1. Subscribe to the OilPrice MCP on Vinkius.
2. Enter your OilPriceAPI key into your AI client settings.
3. Ask your agent for specific energy prices or trend data.

## Frequently Asked Questions

**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` 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.