MCP server
OilAPI inside Claude, ChatGPT, Cursor and Claude Code.
On this pageThe addressClaude and ChatGPTClaude CodeCursorAn example
The address
The MCP server is at https://oilapi.net/mcp. It gives your assistant the tools on MCP tools, and every call runs on your key, your plan and your limits.
Claude and ChatGPT
Add a custom connector with the address above. Your assistant asks you to sign in with your OilAPI account and press Allow. No key to paste; the assistant gets a key of its own, which you can remove from Keys.
Claude Code
claude mcp add --transport http oilapi https://oilapi.net/mcp --header "Authorization: Bearer YOUR_API_KEY"
Cursor
{
"mcpServers": {
"oilapi": {
"url": "https://oilapi.net/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}An example
Ask "cheapest diesel near the centre of Paris right now?" and the assistant calls stations_near with the point, the fuel and a radius, then answers from what comes back.