What you can ask
- “What does OilPriceAPI have for the area or asset I'm working on?”
- “Pull the most recent OilPriceAPI records and put them in a table.”
- “What does OilPriceAPI cover, and how fresh is the data?”
Connect to your AI assistant
Paste this URL into Claude, ChatGPT, or any MCP client, then sign in when prompted. After you sign in, add your OilPriceAPI key in PatchOps.
https://patchops.ai/api/mcpClaude: use Add to Claude, or Settings > Connectors > Add custom connector and paste the URL.
Claude Code
claude mcp add --transport http patchops https://patchops.ai/api/mcpStep by step
- 1
Open connectors
In Claude, open Settings > Connectors and click "Add custom connector".
- 2
Paste the URL
Name it PatchOps and paste
https://patchops.ai/api/mcpas the server URL, then click Add. - 3
Sign in
Click Connect and sign in to PatchOps when Claude asks.
- 4
Start using
Ask Claude a question. It uses OilPriceAPI through PatchOps when it needs to.
› Technical details
Real-time and historical commodity prices for crude oil, natural gas, diesel, gasoline, and heating oil.
Setup
A few steps to connect your AI agents to OilPriceAPI.
- 1
Get an Access Key
Register at https://oilpriceapi.com and generate your access key for full access.
- 2
Connect on PatchOps
Navigate to /mcp, find OilPriceAPI, and enter your access key. Without one, some calls may return limited demo data.
- 3
Start Querying
Ask your AI agent for the data you need — it discovers this connector's methods automatically.
