OilPriceAPI
JSON →Real-time oil, gas, and commodity prices. 40+ energy commodities with natural language queries, price subscriptions, and analyst prompts.
Install
npx oilpriceapi-mcp Tools · 14
- opa_get_price Current spot price for a single commodity
- opa_market_overview All commodity prices in one call, grouped by category
- opa_compare_prices Side-by-side comparison of 2-5 commodities with spread
- opa_list_commodities Full commodity catalog (fetched live from API)
- opa_get_history Historical prices with high/low/avg/change (day/week/month/year)
- opa_get_futures Front-month futures price (Brent BZ or WTI CL)
- opa_get_futures_curve Full forward curve with contango/backwardation analysis
- opa_get_marine_fuels Bunker fuel prices by port and fuel type (VLSFO/MGO/IFO380)
- opa_get_rig_counts Baker Hughes US rig count with week-over-week change
- opa_get_drilling Drilling intelligence: wells, permits, completions by region
- opa_get_diesel_by_state AAA retail diesel price for any US state (50 states + DC)
- opa_get_storage Cushing and SPR oil storage/inventory levels
- opa_get_opec_production OPEC country-level production data
- opa_get_forecasts EIA STEO energy price forecasts
Environment variables
OILPRICEAPI_KEYOILPRICEAPI_BASE_URL
Links
★ 2 GitHub stars