LocalFree server, account needed

OpenStreetMap MCP server

ni-c/osm-mcp

OpenStreetMap travel planning: geocoding, walking, driving and cycling routes, travel-time matrices, route optimization, isochrones and POI search.

5 GitHub stars1,530 npm downloads / month

Install OpenStreetMap in Claude Code

npm

Claude Code
claude mcp add openstreetmap -- npx -y osm-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "openstreetmap": {
      "command": "npx",
      "args": [
        "-y",
        "osm-mcp"
      ]
    }
  }
}

Docker

Claude Code
claude mcp add openstreetmap -- docker run -i --rm ghcr.io/ni-c/osm-mcp:0.3.2
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "openstreetmap": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ni-c/osm-mcp:0.3.2"
      ]
    }
  }
}

Frequently asked questions

What does the OpenStreetMap MCP server do?

OpenStreetMap travel planning: geocoding, walking, driving and cycling routes, travel-time matrices, route optimization, isochrones and POI search.

Is the OpenStreetMap MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does OpenStreetMap run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add OpenStreetMap to Claude Code?

Run: claude mcp add openstreetmap -- npx -y osm-mcp

More location & travel MCP servers

View all