Openrouteservice
v0.2.1Openrouteservice 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.
| Parameter | Type | Description |
|---|---|---|
coordinates * | array | [[lon, lat], …] |
format | string | json (default) | geojson | gpx |
instructions | boolean | |
profile | string |
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).
| Parameter | Type | Description |
|---|---|---|
locations * | array | |
destinations | array | Which `locations` to route TO, as 0-based indices into that array — e.g. [1,2]. NOT coordinates. Omit to use every location. |
metrics | array | ["duration","distance"] |
profile | string | |
sources | array | Which `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.
| Parameter | Type | Description |
|---|---|---|
locations * | array | |
range * | array | Seconds or meters. |
profile | string | |
range_type | string | time (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.
| Parameter | Type | Description |
|---|---|---|
locations * | array | |
profile | string | |
radius | number |
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.
| Parameter | Type | Description |
|---|---|---|
format_in * | string | geojson | 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.
| Parameter | Type | Description |
|---|---|---|
format_in * | string | point | geojson |
geometry * | Per format_in (point: [lon, lat]) |
geocode_search
"Geocode [address]" / "find [city] coordinates" / "search for places named [X]" / "where is [landmark]" — geocode an address or place name to coordinates via Pelias (OpenStreetMap-backed). Returns ranked candidates with lat/lng, address components, layer (venue/street/locality/region). Use as a free alternative to Mapbox/Google geocoding, or when you want OpenStreetMap-curated data.
| Parameter | Type | Description |
|---|---|---|
text * | string | |
focus_lat | number | |
focus_lon | number | |
layers | string | |
size | number | |
sources | string |