openrouteservice

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 上安装 openrouteservice
openrouteservice · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

2 分钟设置

  1. 1在 cloud.anythingmcp.com 开始免费试用。
  2. 2在连接器商店点击 openrouteservice。提示时粘贴凭据。
  3. 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
立即安装 openrouteservice

openrouteservice 指南

面向主流 AI 客户端的逐步设置。

配置 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)

  1. Sign up for free at https://account.heigit.org and create an API key (the free plan covers testing and small production use).
  2. Paste the key into OPENROUTESERVICE_API_KEY. It is sent as is in the Authorization header (no Bearer). Keys made for the old api.openrouteservice.org work here too; that old address is being shut down in November 2026.
  3. Install and run openrouteservice_geocode to 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 (country narrows, e.g. DE), openrouteservice_autocomplete, openrouteservice_reverse_geocode.
  • Routes: openrouteservice_directions returns distance, duration and steps; set profile (driving-car, driving-hgv for trucks, cycling-regular, foot-walking, wheelchair...), language for the instructions and options.avoid_features to avoid highways, tolls or ferries.
  • Many-to-many: openrouteservice_matrix (durations in seconds, distances in the chosen unit).
  • Catchment areas: openrouteservice_isochrones with range in seconds (or metres with range_type distance).
  • Tours for a fleet: openrouteservice_optimize_routes with jobs and vehicles (VROOM format; times in seconds since midnight or Unix time).
  • Places around: openrouteservice_find_pois with a point and a buffer in 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.

你的 AI 距离 openrouteservice 仅两次点击。

安装连接器、粘贴凭据、向 AI 提问。7 天免费,无需信用卡。