DokumentationNatural Language Search · Places · Studio →
Entwicklerautomatisierung
CLI und Remote MCP mit Ihrem API-Schlüssel nutzen.
KI-Assistent
Business enthält 1.000 gemeinsame KI-Vorgänge pro monatlichem Abrechnungszeitraum. Kein Übertrag, keine automatischen Zusatzkosten.
Eine erfolgreiche Suche nutzt 1 KI-Vorgang und 2 Standard-API-Credits.
AI Search
osrmroute search --json '{"q":"Find cafes near Berlin", "ai":true}'AI Studio
osrmroute style-preview --json '{"prompt":"A calm dark map with blue water", "ai":true}'OSRMRoute CLI
Quellpaket von unserer Website installieren; Node.js 24 oder neuer. npm-Registry-Veröffentlichung separat.
Terminal
npm install -g https://osrmroute.com/downloads/osrmroute-cli-1.0.1.tgz
export OSRMROUTE_API_KEY="YOUR_KEY"
osrmroute geocode --json '{"q":"Berlin"}'
osrmroute search --json '{"q":"cafes near Berlin within 2 km"}'
osrmroute styles
osrmroute --helpRemote MCP
Zustandsloses Streamable HTTP. Endpoint und Authorization-Bearer-Header im kompatiblen Client konfigurieren. Kein OAuth und keine SSE-Abonnements.
API-Berechtigungen, Credits und Limits gelten. Studio erfordert explizite studio-Berechtigung. MCP veröffentlicht und löscht keine Ressourcen.
Streamable HTTP
Endpoint: https://osrmroute.com/api/mcp
Authorization: Bearer $OSRMROUTE_API_KEY
Content-Type: application/json
Accept: application/json, text/event-stream
MCP-Protocol-Version: 2025-06-18initialize
{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2025-06-18",
"capabilities": {},
"clientInfo": {
"name": "example",
"version": "1.0.0"
}
}
}tools/call
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "natural_search",
"arguments": {
"q": "cafes near Berlin"
}
}
}Verfügbare MCP-Werkzeuge
place_detailsget_routedistance_matrixreverse_geocodeautocomplete_addressget_timezoneget_isochroneoptimize_routegeocode_addressnatural_searchsuggest_addressesretrieve_placestructured_geocodeplaces_along_routestatic_maplist_styleslist_datasetspreview_style