route-cost-mcp
v0.1.0Standalone stdio MCP server for RouteCost estimates
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_vehicles List vehicles
List the vehicle types this server can estimate costs for, with their per-road-category fuel consumption. No API keys or network access required.
suggest_fuel_price Suggest fuel price
Suggest a fuel price per litre for a coordinate from the official Spanish Ministry fuel-price dataset (open data, no API key). Returns the median price of nearby stations, the source URL and the date the source reports.
| Parameter | Type | Description |
|---|---|---|
latitude * | number | |
longitude * | number | |
fuelProduct | string |
estimate_route_cost Estimate route cost
Estimate what a car trip costs: geocode origin and destination, route with Valhalla, split the distance by road category (urban, interurban, motorway, unknown), multiply each share by the vehicle's consumption and the local fuel price. Requires ROUTING_PROVIDER=valhalla with VALHALLA_API_KEY and GEOCODING_PROVIDER=stadia with STADIA_API_KEY; it refuses to estimate with mock providers instead of returning a fixture.
| Parameter | Type | Description |
|---|---|---|
destination * | string | |
origin * | string | |
vehicleId * | string | |
fuelPrice | object |