Official Fuel Prices
RemoteAbout Official Fuel Prices
Official Fuel Prices provides station-level fuel prices for France, Spain, Italy, and Western Australia, normalized into a shared JSON schema. It is intended for applications and agents that need prices with location and source metadata.
Key features
- 01Station-level fuel prices
- 02Coverage of four regions
- 03Coordinates and ISO timestamps
- 04Currency, unit, source, and licence fields
Use cases
- 01Find low-priced diesel near Paris
- 02Compare nearby stations by coordinates
- 03Summarize brand prices around Madrid
MCP support
The service is available to MCP clients through an Apify-hosted server URL. The README also gives a local setup using the Apify actors MCP server.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://mcp.apify.com?tools=sste/official-fuel-pricesclaude mcp add --transport http sstempresarial-official-fuel-prices https://mcp.apify.com?tools=sste/official-fuel-prices{"mcpServers":{"sstempresarial-official-fuel-prices":{"type":"http","url":"https://mcp.apify.com?tools=sste/official-fuel-prices"}}}Open in Cursor{"servers":{"sstempresarial-official-fuel-prices":{"type":"http","url":"https://mcp.apify.com?tools=sste/official-fuel-prices"}}}Open in VS Code{"mcpServers":{"sstempresarial-official-fuel-prices":{"type":"http","url":"https://mcp.apify.com?tools=sste/official-fuel-prices"}}}{"mcpServers":{"sstempresarial-official-fuel-prices":{"serverUrl":"https://mcp.apify.com?tools=sste/official-fuel-prices"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
https://mcp.apify.com?tools=sste/official-fuel-pricesAuth requiredTools
Details
From the project READMEOfficial Fuel Prices API — examples (France, Spain, Italy, Western Australia)
Docs and guides: https://fuel-prices-api.pages.dev/?utm_source=github&utm_medium=referral&utm_campaign=examples
Runnable examples for Official Fuel Prices, an API that returns station-level petrol, diesel, LPG, CNG and hydrogen prices for ~46,000 stations from official government open data (DGCCRF France, MITECO Spain, MIMIT Italy, FuelWatch Western Australia), normalized into one JSON schema with coordinates, ISO timestamps, currency, unit, source and licence on every row.
| Example | What it does |
|---|---|
curl/cheapest-diesel-paris.sh | One HTTP call: 10 cheapest diesel stations within 3 km of Paris |
python/cheapest_nearby.py | CLI: cheapest stations near any coordinates |
python/brand_summary_pandas.py | Median price by brand around Madrid with pandas |
javascript/cheapest-nearby.mjs | Node.js: cheapest stations near a point |
mcp/ | Claude Desktop / Cursor config and example prompts for AI agents |
Setup
- Get an Apify API token: https://console.apify.com/settings/integrations (free account; pay per use).
export APIFY_TOKEN=...- Run any example.
MCP (AI agents)
Server URL: https://mcp.apify.com?tools=sste/official-fuel-prices — works with Claude, Cursor, VS Code and other
MCP clients (OAuth sign-in on first use). Local: npx @apify/actors-mcp-server --tools sste/official-fuel-prices.
Pricing
$0.005 per run + $0.0005 per price row (a "10 cheapest stations" query ≈ $0.01).
Data sources and licences
France: data.economie.gouv.fr (DGCCRF), Licence Ouverte v2.0 · Spain: Geoportal Gasolineras (MITECO), reuse under Ley 37/2007 · Italy: MIMIT Osservaprezzi, IODL 2.0 · Western Australia: FuelWatch. Independent project, not affiliated with these agencies. Examples are MIT-licensed.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.