TrueTravelCost

v1.0.0
com.truetravelcost/trip-cost Checked 4 days ago Published 27 days ago

Estimate what a car trip really costs: fuel, servicing, tyres, tolls and ownership.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

calculate_trip_cost Calculate car trip cost

Estimate the true cost of driving from one place to another: fuel or electricity, maintenance, tyres, tolls and optionally ownership costs (depreciation, insurance, registration). Best coverage in Europe. Returns EUR figures with a breakdown. Estimates use vehicle-class averages. Motorway vignettes for Austria, Switzerland, Czechia, Slovakia and Slovenia are included in tolls_and_extras (see the vignettes list); other vignette countries such as Hungary are flagged in warnings but not yet priced.

ParameterTypeDescription
from *stringStart location, city or address. Include the country, e.g. "Munich, Germany".
to *stringDestination, e.g. "Salzburg, Austria".
fuel_pricenumberOptional override: EUR per litre (or per kWh for electric).
fuel_typestringOnly for classes other than hybrid and electric. Default petrol.
include_ownership_costsbooleanAdd depreciation, insurance and registration/finance.
premiumbooleanPremium brand: servicing, tyres and ownership cost more.
round_tripbooleanDouble the distance, tolls and costs.
vehicle_classstringType of vehicle.