Skip to content
MCP server

OSRMRoute

Routing, geocoding, places and distance matrix tools for location-aware AI workflows

Pricing
Freemium
Platforms
API, CLI, Web
Runs
Remotely
Version
1.0.0
Listing updated
1 day ago

About OSRMRoute

OSRMRoute is a freemium MCP server for maps and travel. It runs as a hosted remote server, so there is nothing to install locally.

OSRMRoute exposes its mapping API to assistants over a stateless streamable HTTP endpoint, authenticated with a Bearer API key. Normal scopes, credit charges and limits apply, a studio scope is required for the studio features, and the docs state MCP tools cannot publish or delete resources.

The documented tools include get_route for driving, cycling or walking between 2 to 25 coordinates, distance_matrix for road-network durations and distances, reverse_geocode, autocomplete_address, place_details for an OSM result, natural_search, and estimate_fuel. The fuel estimator works from your own calibration of consumption when empty and fully loaded, and the docs say it does no road routing and gives no validated error percentage.

Billing is credit-based. A free plan gives 1,000 credits a day for non-commercial use, paid plans run to 50,000 a day, and pay-as-you-go is $1 per 1,000 credits with a $10 minimum top-up. AI search uses the Business plan's 1,000 monthly AI operations. A CLI is also available for Node.js 24 or newer.

Install

Run in a terminal

claude mcp add --transport http osrmroute https://osrmroute.com/api/mcp

Add to Settings → Connectors → Add custom connector

https://osrmroute.com/api/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "osrmroute": {
      "url": "https://osrmroute.com/api/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "osrmroute": {
      "type": "http",
      "url": "https://osrmroute.com/api/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "osrmroute": {
      "serverUrl": "https://osrmroute.com/api/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "osrmroute": {
      "type": "http",
      "url": "https://osrmroute.com/api/mcp"
    }
  }
}

Tools this server provides (7)

Taken from the project documentation; the running server may differ.

get_route
Route between coordinates for driving, cycling or walking.
distance_matrix
Durations and distances between coordinates.
reverse_geocode
Find the nearest address to a coordinate.
autocomplete_address
Complete a partial address.
place_details
Read source attributes by OSM result ID.
natural_search
Find places from a natural-language request.
estimate_fuel
Estimate trip fuel and cost from user calibration.

What it does

Route calculation
Driving, cycling or walking routes through up to 25 coordinates.
Distance matrix
Durations and distances over the road network.
Geocoding tools
Reverse geocoding and address autocomplete.
Place details
Read source attributes for an OSM search result.
Natural-language search
Find places from a plain request, with an AI mode.
Fuel estimate
Trip fuel and cost from your own calibration figures.
Safe by scope
MCP tools cannot publish or delete resources.

Good for

  • Plan a route between several stops from a chat
  • Build a travel time matrix for delivery points
  • Find the nearest address for GPS coordinates
  • Estimate fuel cost for a loaded truck trip

Pricing

Freemium

Free 1,000 credits/day; pay as you go $1 per 1,000 credits; paid plans and enterprise available

Prices change. Check osrmroute.com before you buy.

OSRMRoute FAQ

Does it need an API key?

Yes, send it as an Authorization Bearer header.

Is there a free tier?

Yes, 1,000 credits a day for non-commercial use.

How is usage charged?

Credits per call; pay as you go is $1 per 1,000 credits.

Can it publish or delete maps?

No, MCP tools cannot publish or delete resources.

Is OSRMRoute free?

OSRMRoute has a free plan, with paid plans for more usage or features.

How do I add OSRMRoute to Claude Code?

Run this command in your terminal: claude mcp add --transport http osrmroute https://osrmroute.com/api/mcp

What are the best alternatives to OSRMRoute?

The closest alternatives to OSRMRoute are Tutu eSIM, Shanghai Streets Travel Guide, Fifty Asks, Lane Cost freight rates and Zentria Flow.

Alternatives to OSRMRoute

  1. Tutu eSIM

    MCP server

    Live travel eSIM plans, prices and roaming costs for 190+ countries

    • 5 tools
    • Remote
    • Paid
    • Maps and travel
  2. Curated places, walking routes and areas in Shanghai, Jiangsu and Zhejiang

    • 9 tools
    • Remote
    • Free
    • Maps and travel
  3. Fifty Asks

    MCP server

    Let an agent book a free AI-visibility check or a 15-minute call for a local business

    • 10 tools
    • Remote
    • Free
    • Maps and travel
  4. Free US truckload rate estimates for any lane, 8 truck types, history from 2003

    • 13 tools
    • Remote
    • Free
    • Freight and logistics
  5. Zentria Flow

    MCP server

    US tariff layers by HTS code and origin, origin comparison and landed cost for importers

    Runs locally
    • 4 tools
    • Freemium
    • Freight and logistics
  6. Gangway AIS

    MCP server

    Vessel positions, port calls and anchorage waiting times from licensed AIS data

    • 21 tools
    • Remote
    • Freemium
    • Freight and logistics