Location tools for your AI agents
Give any AI agent geocoding, routing, distance matrix, isochrones and route optimization — through one Model Context Protocol server. Works with Claude, Cursor and any MCP client.
One server, every location skill
The Model Context Protocol (MCP) is how modern AI agents plug into external tools. Our MCP server exposes the whole OSRMRoute platform as ready-to-call tools, so your agent can turn an address into coordinates, plan a route, or optimize a delivery run — without you wiring up any APIs by hand.
8 tools out of the box
Every tool runs on our own maps, with your API key.
geocode_addressAddress or place name → coordinates
reverse_geocodeCoordinates → nearest address
autocomplete_addressPartial text → ranked address suggestions
get_routeDriving, cycling or walking route with distance & time
distance_matrixTravel time & distance between every pair of points
get_isochroneReachable area within a time budget
optimize_routeMulti-stop, multi-vehicle route optimization
get_timezoneTimezone & UTC offset for a coordinate
Set up in one minute
Get your API key
Create a key in your OSRMRoute dashboard — the free tier is enough to start.
Add the server to your MCP client
Drop this into your Claude Desktop, Cursor or Cline config and restart. That's it — the tools appear in your agent.
Ask your agent
"Optimize this delivery route" or "how far is it from here?" — your agent now calls real maps.
{
"mcpServers": {
"osrmroute": {
"command": "npx",
"args": ["-y", "osrmroute-mcp"],
"env": { "OSRMROUTE_API_KEY": "YOUR_API_KEY" }
}
}
}Why OSRMRoute for agents
Strong regional data
Deep coverage of Azerbaijan, the Caucasus, Central Asia, Turkey and the Middle East — where global providers fall short.
A fraction of the cost
Our own OpenStreetMap servers instead of metered global APIs. Every tool call counts against your flat monthly plan.
One integration, eight skills
No juggling separate geocoding, routing and optimization vendors — one server covers the whole location stack.
Questions
Which MCP clients are supported?
Any client that speaks the Model Context Protocol — Claude Desktop, Cursor, Cline and others. The server runs over stdio via npx, so there is nothing to host.
How is it billed?
Tool calls use your normal OSRMRoute API key and count against your plan, exactly like direct API requests. No separate MCP fee.
Give your agent a sense of place
Install the MCP server and start calling real maps in minutes.