Openrouteservice

v0.2.1
io.github.pipeworx-io/openrouteservice Checked 1 day ago Published 29 days ago

Openrouteservice MCP.

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

directions

"Directions from A to B" / "how far is [X] from [Y]" / "hiking / cycling / wheelchair / walking route" / "truck routing" / "HGV directions" / "driving route" — turn-by-turn routing between coordinates with profile-specific routing. Profiles: driving-car, driving-hgv (trucks), foot-walking, foot-hiking, cycling-regular / mountain / road / electric, wheelchair. Returns geometry, distance, duration, turn-by-turn instructions, elevation. Uses OpenStreetMap data via OpenRouteService. Use for hiking/biking/wheelchair/truck cases where Mapbox/Google don't have the right profile.

ParameterTypeDescription
coordinates *array[[lon, lat], …]
formatstringjson (default) | geojson | gpx
instructionsboolean
profilestring

matrix

"Distance matrix between locations" / "all-to-all travel times" / "N×M routing grid" / "drive / walk / bike times between [list]" — N×M distance and duration matrix between many points via OpenStreetMap routing. Use for traveling-salesman setup, multi-stop optimization, nearest-warehouse, fleet dispatch. Profile-aware (car / truck / bike / foot / wheelchair).

ParameterTypeDescription
locations *array
destinationsarrayWhich `locations` to route TO, as 0-based indices into that array — e.g. [1,2]. NOT coordinates. Omit to use every location.
metricsarray["duration","distance"]
profilestring
sourcesarrayWhich `locations` to route FROM, as 0-based indices into that array — e.g. [0] means the first location. NOT coordinates. Omit to use every location.

isochrones

"Reachable area in [N] minutes" / "drive-time / walk-time / bike-time polygons" / "service area" / "catchment polygon" / "isochrone map" — generate isochrone polygons (area reachable from a point in time or distance) for car / truck / bike / foot / wheelchair profiles using OpenStreetMap. Use for delivery zones, commute sheds, site selection.

ParameterTypeDescription
locations *array
range *arraySeconds or meters.
profilestring
range_typestringtime (default) | distance

snap

"Snap coordinate to nearest road" / "find closest road to [lat,lng]" / "is there a road at this point" — snap arbitrary GPS coordinates to the nearest routable OSM road for a given profile (car / bike / foot). Use to clean noisy GPS, validate routability before calling directions, or place markers on a road network.

ParameterTypeDescription
locations *array
profilestring
radiusnumber

elevation_line

"Elevation profile along a route" / "hiking trail elevation gain" / "topographic profile of [path]" / "how hilly is this route" — elevation samples along a geometry (linestring). Pass geojson / polyline / encodedpolyline5 / encodedpolyline6. Use for hiking elevation gain, cycling grade analysis, trail planning, terrain profiles.

ParameterTypeDescription
format_in *stringgeojson | polyline | encodedpolyline5 | encodedpolyline6
geometry *Per format_in

elevation_point

"Elevation / altitude at [coordinates]" / "how high is [location]" / "height above sea level for [lat,lng]" — elevation (meters above sea level) at a single point. Use for "what's the elevation of Denver", terrain queries, or attaching altitude to GPS records.

ParameterTypeDescription
format_in *stringpoint | geojson
geometry *Per format_in (point: [lon, lat])