openrouteservice
openrouteservice (HeiGIT) routing on OpenStreetMap: geocoding and reverse geocoding, directions with turn-by-turn steps for car, truck, bike, foot and wheelchair, travel time matrices, isochrones (reachable areas), multi-vehicle route optimisation and points of interest. Free API key.
7 天免费 · 无需信用卡 · EU 托管
问 openrouteservice 任何事
通过 AnythingMCP 对 openrouteservice 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。
在 Cloud 上安装 openrouteserviceClaude 是 AI,可能会出错。请核对回答。
2 分钟设置
- 1在 cloud.anythingmcp.com 开始免费试用。
- 2在连接器商店点击 openrouteservice。提示时粘贴凭据。
- 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
配置 openrouteservice
直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。
openrouteservice
This connector uses openrouteservice by HeiGIT (Heidelberg Institute for Geoinformation Technology), the routing and geocoding service built on OpenStreetMap, at its current address https://api.heigit.org: geocoding and reverse geocoding, routes with turn-by-turn directions for car, truck, bicycle, foot and wheelchair, travel-time matrices, reachability areas (isochrones), route optimisation for several vehicles, and points of interest.
Setup (about 2 minutes)
- Sign up for free at https://account.heigit.org and create an API key (the free plan covers testing and small production use).
- Paste the key into
OPENROUTESERVICE_API_KEY. It is sent as is in theAuthorizationheader (no Bearer). Keys made for the old api.openrouteservice.org work here too; that old address is being shut down in November 2026. - Install and run
openrouteservice_geocodeto check the key.
Coordinates are [longitude, latitude], longitude first, in every routing tool (e.g. [7.8421, 47.9990] for Freiburg). Geocoding results also return coordinates as [longitude, latitude]. Swapping them is the usual cause of "point not found" (error 2010) or of a route in the ocean.
Workflow
- Addresses to points:
openrouteservice_geocode(countrynarrows, e.g.DE),openrouteservice_autocomplete,openrouteservice_reverse_geocode. - Routes:
openrouteservice_directionsreturns distance, duration and steps; setprofile(driving-car,driving-hgvfor trucks,cycling-regular,foot-walking,wheelchair...),languagefor the instructions andoptions.avoid_featuresto avoid highways, tolls or ferries. - Many-to-many:
openrouteservice_matrix(durations in seconds, distances in the chosen unit). - Catchment areas:
openrouteservice_isochroneswithrangein seconds (or metres withrange_typedistance). - Tours for a fleet:
openrouteservice_optimize_routeswith jobs and vehicles (VROOM format; times in seconds since midnight or Unix time). - Places around:
openrouteservice_find_poiswith a point and abufferin metres.
Units: durations are seconds; distances follow units (km by default here). Convert seconds to hours and minutes before quoting.
Limits and errors: the free plan allows about 2,000 directions and 40 per minute, with smaller daily quotas for matrix, isochrones, optimisation and POIs; answers carry x-ratelimit-remaining. 403 means the daily quota is used up (or a wrong key), 429 the per-minute limit, 401 a missing key. Error 2004 means the request exceeds a limit (too many points or too long a route), 2010 a point not near a road.