MCP.so
Sign In

Osm MCP Server

@ni-c

Basic information

Category

Media & Design

Last updated

License

MIT

Author

ni-c

About Osm MCP Server

MCP server for OpenStreetMap: geocoding, walking/driving/cycling distances, route optimization, isochrones and POI search

Osm MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "osm": {
      "command": "npx",
      "args": [
        "-y",
        "osm-mcp"
      ]
    }
  }
}

Osm MCP Server tools

11

Place name/address → coordinates (Nominatim or Photon)

Coordinates → nearest address

Distance and duration between 2+ waypoints, `foot`/`car`/`bike`; optional turn-by-turn summary

Travel time/distance from every origin to every destination in one call

Best visiting order for a set of stops (traveling-salesman, OSRM trip)

Reachable area within a time or distance budget (Valhalla, or ORS with key)

POIs around a location by category or raw OSM tag, sorted by distance (Overpass)

Full OSM record of one element: opening hours, website, phone, …

Fair meeting venue for 2–8 people (balanced travel times)

Great-circle distance, computed offline

openstreetmap.org marker / directions links, computed offline

Overview

What is Osm?

MCP server for OpenStreetMap: geocoding, walking/driving/cycling distances, route optimization, isochrones and POI search

How to use Osm?

The README includes setup instructions such as claude mcp add osm -- npx -y osm-mcp.

Key features of Osm

  • Correct walking/cycling routes. The public OSRM demo servers ignore the
  • Policy-compliant by construction. Per-service rate limiting (Nominatim and
  • Photon support. Optional typo-tolerant geocoding via komoot's Photon
  • Node.js ≥ 24
  • Internet access to the public OpenStreetMap services (see table below)

Use cases of Osm

  • Connect an MCP-compatible client to this repository's service.
  • Review the README-backed setup before enabling it in production.

Frequently asked questions

1

Where is the source code for Osm?

The source code is linked from the repository URL on this page.

2

Does Osm include a standard MCP config?

If the README contains a parseable MCP configuration block, it is shown in the Config tab.

Comments

More Media & Design MCP servers