プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

OpenStreetMap

作者:ni-cバージョン 0.3.2i★ –iパソコンで動く
レジストリ名io.github.ni-c/osm-mcp

インストール

概要

作者による説明(英語の原文)

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

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: 旅行・地図・天気
  • 入力が必要なもの:ORS_API_KEY

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: OSM_USER_AGENT, ORS_API_KEY, OSM_ALLOW_TOOLS, OSM_DENY_TOOLS

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、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"
      }
    }
  }
}

ターミナルでこれを実行します

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-mcp

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.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"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "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"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • OSM_USER_AGENT env
    Identifying User-Agent sent to all OSM services (Nominatim requires one)
  • ORS_API_KEY 秘密 env
    Optional OpenRouteService key; switches routing/matrix/isochrones to ORS
  • OSM_ALLOW_TOOLS env
    Comma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)
  • OSM_DENY_TOOLS env
    Comma-separated tool names or list_* prefixes to remove from whatever OSM_ALLOW_TOOLS left

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント ni-c で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

旅行・地図・天気のほかのサーバーとの比較i

  • このカテゴリのほかの1717件のうち0%よりスターが多い
  • このカテゴリのほかの1717件のうち56%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの1717件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

OpenStreetMapは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:ORS_API_KEY

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.3.2)がレジストリに届いたのは23 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.js, Dockerも必要です。

代わりに使えるものは?

同じカテゴリには:Cajon.pro, CarHauler247 Car Shipping Quotes, ThaiData UK

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Cajon.pro

作者:cajon.pro

Drum schools map (Russia, Kazakhstan, Armenia, Belarus), song tempo and drum parts, cajons.

クラウドで動く今日更新
インストール

ThaiData UK

作者:swifttiger888-commits

UK Thai restaurant data from FSA inspections: hygiene ratings, city stats, postcode search.

クラウドで動く今日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

osm-mcp

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.

What makes it different

  • Correct walking/cycling routes. The public OSRM demo servers ignore the profile segment inside the OSRM URL path and always return car routes unless the FOSSGIS 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.
  • Policy-compliant by construction. Per-service rate limiting (Nominatim and OSRM: 1 request/second), an identifying User-Agent on every request (required by the Nominatim usage policy), response caching, capped Overpass concurrency (2 slots) and automatic failover to the next Overpass endpoint on anything but a malformed query, within one 50-second budget per call.
  • Photon support. Optional typo-tolerant geocoding via komoot's Photon, which is designed for interactive use — a better fit for LLM-driven lookups than hammering Nominatim.

Requirements

  • Node.js ≥ 24
  • Internet access to the public OpenStreetMap services (see table below)

Configuration

Every variable is optional — the server works out of the box.

VariableDefaultDescription
OSM_USER_AGENTosm-mcp/ (+https://github.com/ni-c/osm-mcp)User-Agent sent to every service. Nominatim requires a real, identifying one.
NOMINATIM_BASE_URLhttps://nominatim.openstreetmap.orgGeocoding / reverse geocoding
PHOTON_BASE_URLhttps://photon.komoot.ioTypo-tolerant geocoding
OSRM_BASE_URLhttps://routing.openstreetmap.deRouting, matrices, trip optimization. Must serve the routed-{car,bike,foot} path prefixes (the FOSSGIS layout).
OVERPASS_BASE_URLhttps://z.overpass-api.de/api/interpreter,https://lz4.overpass-api.de/api/interpreterComma-separated Overpass endpoints, tried in order until one answers (a malformed query stops the walk)
VALHALLA_BASE_URLhttps://valhalla1.openstreetmap.deIsochrones
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_URLhttps://api.openrouteservice.orgOpenRouteService endpoint
OSM_CACHE_TTL3600Seconds identical upstream responses are served from the in-memory cache (0 disables caching)
OSM_ALLOW_TOOLSnoComma-separated tool names, list_* prefixes, or essential for a curated preset
OSM_DENY_TOOLSnoSame syntax; removed from whatever OSM_ALLOW_TOOLS left
Choosing which tools load

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.

Installation

Claude Code
claude mcp add osm -- npx -y osm-mcp
Claude Desktop

claude_desktop_config.json:

{

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

Codex

~/.codex/config.toml:

[mcp_servers.osm]

command = "npx" args = ["-y", "osm-mcp"]

Docker

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.

Through mcp-hub

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.

Tools

ToolDescription
geocodePlace name/address → coordinates (Nominatim or Photon)
reverse_geocodeCoordinates → nearest address
routeDistance and duration between 2+ waypoints, foot/car/bike; optional turn-by-turn summary
route_matrixTravel time/distance from every origin to every destination in one call
optimize_routeBest visiting order for a set of stops (traveling-salesman, OSRM trip)

| isochrone | Reachable area

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く