compare_fuel_prices
Pack: fuel-prices · Endpoint: https://gateway.pipeworx.io/fuel-prices/mcp
Where is fuel cheapest or most expensive in Europe — every country ranked by pump price for one fuel in the same week. Answers “which European country has the cheapest diesel”, “where is petrol most expensive in Europe”, “is it cheaper to fill up in Poland or Germany”, and cross-border questions before a drive. Returns each country with its price per litre including and excluding tax and the tax share, so a difference can be attributed to the tax or to the underlying fuel. Sourced from the European Commission’s Weekly Oil Bulletin, which EU Member States report into weekly. Fuels: ${FUEL_LIST}.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
fuel | string | no | Which fuel to rank on: petrol (default), diesel, lpg, heating_oil. |
order | string | no | ”cheapest” (default) or “most_expensive”. |
countries | array | no | Optional shortlist of country names or codes to compare, e.g. [“Poland”,“Germany”,“Czechia”]. Omit to rank all 28. |
items | string | no | |
week_ending | string | no | Optional YYYY-MM-DD to compare a past week instead of the latest. |
limit | number | no | How many countries to return (default 10, max 30). |
Example call
Arguments
{
"fuel": "diesel",
"order": "cheapest",
"limit": 5
}
curl
curl -X POST https://gateway.pipeworx.io/fuel-prices/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"compare_fuel_prices","arguments":{"fuel":"diesel","order":"cheapest","limit":5}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('compare_fuel_prices', {
"fuel": "diesel",
"order": "cheapest",
"limit": 5
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"fuel-prices": {
"url": "https://gateway.pipeworx.io/fuel-prices/mcp"
}
}
}
See Getting Started for client-specific install steps.