PluginBench
MCP Server
Active
MIT

OpenStreetMap MCP Server

io.github.ni-c/osm-mcp

What is the OpenStreetMap MCP server?

Geocoding, walking/driving/cycling distances, route optimization, isochrones and POI search on OSM

How to install OpenStreetMap

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • OSM_USER_AGENT

    Identifying User-Agent sent to all OSM services (Nominatim requires one)

  • ORS_API_KEY
    secret

    Optional OpenRouteService key; switches routing/matrix/isochrones to ORS

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "osm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "osm-mcp"
      ],
      "env": {
        "OSM_USER_AGENT": "<YOUR_OSM_USER_AGENT>",
        "ORS_API_KEY": "<YOUR_ORS_API_KEY>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "osm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "osm-mcp"
      ],
      "env": {
        "OSM_USER_AGENT": "<YOUR_OSM_USER_AGENT>",
        "ORS_API_KEY": "<YOUR_ORS_API_KEY>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "osm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "osm-mcp"
      ],
      "env": {
        "OSM_USER_AGENT": "<YOUR_OSM_USER_AGENT>",
        "ORS_API_KEY": "<YOUR_ORS_API_KEY>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "osm-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "osm-mcp"
      ],
      "env": {
        "OSM_USER_AGENT": "<YOUR_OSM_USER_AGENT>",
        "ORS_API_KEY": "<YOUR_ORS_API_KEY>"
      }
    }
  }
}
Claude Code
claude mcp add osm-mcp --env OSM_USER_AGENT=<YOUR_OSM_USER_AGENT> --env ORS_API_KEY=<YOUR_ORS_API_KEY> -- npx -y osm-mcp

Related MCP servers

Browse your Audiobookshelf libraries and keep listening progress, bookmarks and playlists in sync

0
TypeScript
MIT
View repository →

Read-only MCP server for Calibre-Web: library search, browsing and covers via the OPDS feed

0
TypeScript
MIT
View repository →

FreshRSS

Active

MCP server for FreshRSS, the self-hosted RSS feed aggregator

0
TypeScript
MIT
View repository →

Manage DNS zones and records (zonefiles, RRSets, TTL, protection) via the Hetzner Cloud API

0
TypeScript
MIT
View repository →

MCP server for Linkwarden, the self-hosted bookmark manager with page preservation

0
TypeScript
MIT
View repository →

mcp-hub

Active

Serve many stdio MCP servers from one container, for ChatGPT, Claude and other MCP clients

0
TypeScript
MIT
View repository →