MCP server
One address gives your assistant 7 tools: a country's pump prices, the prices a government sets, the cheapest stations near a place, and crude and product benchmarks back to 1987. It calls the API with your own key, so your plan and limits apply.
https://oilapi.net/mcpclaude mcp add --transport http oilapi https://oilapi.net/mcp --header "Authorization: Bearer YOUR_API_KEY"
{
"mcpServers": {
"oilapi": {
"url": "https://oilapi.net/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
For agents that read skills: download the skill and save it as ~/.claude/skills/oilapi/SKILL.md, or upload it as a skill in Claude's settings. Agents also find it at /.well-known/agent-skills/index.json.
coverageEvery country we price, what we hold for it and how far back it goesprice_nowA country's pump prices: today's for each fuel, or one fuel over a rangeset_pricesPrices a government has fixed, as each level took effectstations_nearStations near a point, or in a country, town or brand, with their pricesbenchmarksCrude and product benchmarks with their latest priceprice_historyOne benchmark day by day, or averaged by week, month or yearconvertUnits of a currency per US dollar, day by dayEvery tool runs on your own key, sent as a Bearer token. Your key and plan are in your account, and a free key takes a minute. In Claude or ChatGPT, add it as a custom connector instead: give the server address and sign in with your OilAPI account. No key to paste.