MapNetwork
Generate styled PNG/SVG map images of places in Japan with 11 customizable color themes.
Description from the maker (original English)
Geocoding, walking/driving/cycling distances, route optimization, isochrones and POI search on OSM
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
OSM_USER_AGENT, ORS_API_KEY, OSM_ALLOW_TOOLS, OSM_DENY_TOOLSValues marked secret are keys to your account. Never share them or paste them into a chat.
You need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"osm": {
"command": "npx",
"args": [
"-y",
"osm-mcp"
],
"env": {
"OSM_USER_AGENT": "your-value",
"ORS_API_KEY": "your-value",
"OSM_ALLOW_TOOLS": "your-value",
"OSM_DENY_TOOLS": "your-value"
}
}
}
}Run this in your terminal
claude mcp add osm --env OSM_USER_AGENT=your-value --env ORS_API_KEY=your-value --env OSM_ALLOW_TOOLS=your-value --env OSM_DENY_TOOLS=your-value -- npx -y osm-mcpFill in the empty values before running it.
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"osm": {
"command": "npx",
"args": [
"-y",
"osm-mcp"
],
"env": {
"OSM_USER_AGENT": "your-value",
"ORS_API_KEY": "your-value",
"OSM_ALLOW_TOOLS": "your-value",
"OSM_DENY_TOOLS": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"osm": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"osm-mcp"
],
"env": {
"OSM_USER_AGENT": "your-value",
"ORS_API_KEY": "your-value",
"OSM_ALLOW_TOOLS": "your-value",
"OSM_DENY_TOOLS": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
OSM_USER_AGENT envOSM_ALLOW_TOOLS envOSM_DENY_TOOLS envThese settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 8, 2026
The registry name was verified with the GitHub account ni-c, which owns the repo
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: ORS_API_KEY
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed –, and the latest version (0.3.2) reached the registry 24 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js, Docker on your computer.
In the same category: MapNetwork, Wikivoyage MCP, String Db MCP
Servers in the same category from other makers, sorted by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Generate styled PNG/SVG map images of places in Japan with 11 customizable color themes.
Wikivoyage travel guides: search destinations MCP: real tools for real work.
STRING protein networks: map identifiers and list interaction partners with confidence scores
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
A Model Context Protocol (MCP) server for OpenStreetMap, built for travel planning.
Lets MCP clients like Claude Code, Claude Desktop or Codex answer questions about places: geocoding, walking, driving and cycling distances and durations, multi-stop route optimization, isochrones and POI search — 11 tools, all read-only.
Eleven tools is the ceiling, not the floor: OSM_ALLOW_TOOLS=essential registers a curated six instead, and a model picks the right tool far more reliably from six than from eleven — see choosing which tools load.
All backends are free public OpenStreetMap services, so no API key is required. An OpenRouteService key can be supplied optionally to switch the routing engine.
routed-foot / routed-bike / routed-car path prefixes are used. Most existing OSM MCP servers get this wrong and silently return driving times for walking queries. This server uses the prefixes and its live smoke test asserts that foot routes are much slower than car routes.Every variable is optional — the server works out of the box.
| Variable | Default | Description |
|---|---|---|
OSM_USER_AGENT | osm-mcp/ (+https://github.com/ni-c/osm-mcp) | User-Agent sent to every service. Nominatim requires a real, identifying one. |
NOMINATIM_BASE_URL | https://nominatim.openstreetmap.org | Geocoding / reverse geocoding |
PHOTON_BASE_URL | https://photon.komoot.io | Typo-tolerant geocoding |
OSRM_BASE_URL | https://routing.openstreetmap.de | Routing, matrices, trip optimization. Must serve the routed-{car,bike,foot} path prefixes (the FOSSGIS layout). |
OVERPASS_BASE_URL | https://z.overpass-api.de/api/interpreter,https://lz4.overpass-api.de/api/interpreter | Comma-separated Overpass endpoints, tried in order until one answers (a malformed query stops the walk) |
VALHALLA_BASE_URL | https://valhalla1.openstreetmap.de | Isochrones |
ORS_API_KEY | – | Optional OpenRouteService key (secret). When set, routes, matrices and isochrones use ORS instead of OSRM/Valhalla. Free tier: 2000 directions/day, 40/minute. |
ORS_BASE_URL | https://api.openrouteservice.org | OpenRouteService endpoint |
OSM_CACHE_TTL | 3600 | Seconds identical upstream responses are served from the in-memory cache (0 disables caching) |
OSM_ALLOW_TOOLS | no | Comma-separated tool names, list_* prefixes, or essential for a curated preset |
OSM_DENY_TOOLS | no | Same syntax; removed from whatever OSM_ALLOW_TOOLS left |
OSM_ALLOW_TOOLS and OSM_DENY_TOOLS take comma-separated tool names; a trailing * matches a whole family. essential is a curated preset of six: geocode, reverse_geocode, find_nearby_pois, poi_details, route, map_link.
OSM_ALLOW_TOOLS=essential
OSM_ALLOW_TOOLS=geocode,route,find_nearby_pois OSM_DENY_TOOLS=isochrone,optimize_route
An entry that matches no tool aborts startup and names it, so a typo cannot silently hide a tool — an absent tool is not something anyone traces back to an environment variable. A filtered tool is never registered, so it is absent from tools/list and unknown to tools/call alike.
If you run several of these servers at once, mcp-hub is the other answer — its /hub endpoint replaces every server's tools with six meta-tools.
claude mcp add osm -- npx -y osm-mcp
claude_desktop_config.json:
{
"mcpServers": { "osm": { "command": "npx", "args": ["-y", "osm-mcp"] } } }
~/.codex/config.toml:
[mcp_servers.osm]
command = "npx" args = ["-y", "osm-mcp"]
Multi-arch, with SBOM and build provenance:
docker run -i --rm ghcr.io/ni-c/osm-mcp
-i is required — the protocol runs over stdin and stdout. There is no port to publish. More client recipes are in the client guide.
A client that cannot spawn a local process — ChatGPT connectors, Claude on the web, Cursor, LibreChat — reaches osm-mcp through mcp-hub: one container serves many stdio MCP servers over Streamable HTTP, with an OAuth 2.1 login behind a single password and long-lived tokens for the clients that cannot do OAuth. Its /hub endpoint puts every server behind six meta-tools, so one connector reaches all of them without N×tool schemas in the model's context, and it speaks both protocol revisions — a question this server asks travels through it to the person at the far end.
Its /config/mcp.json uses Claude Code's format, so the entry is the one you already have:
{
"mcpServers": { "osm": { "command": "npx", "args": ["-y", "osm-mcp"], "env": { "OSM_ALLOW_TOOLS": "essential" }, "denyTools": ["isochrone"] } } }
allowTools and denyTools there are the hub's own per-server filter, which is not the same thing as *_ALLOW_TOOLS in env — the difference, and the mistake it invites, are in the client guide.
| Tool | Description |
|---|---|
geocode | Place name/address → coordinates (Nominatim or Photon) |
reverse_geocode | Coordinates → nearest address |
route | Distance and duration between 2+ waypoints, foot/car/bike; optional turn-by-turn summary |
route_matrix | Travel time/distance from every origin to every destination in one call |
optimize_route | Best visiting order for a set of stops (traveling-salesman, OSRM trip) |
| isochrone | Reachable area
Only the beginning is shown; read the rest in the repo