MCP server for OpenStreetMap geocoding, routing, and POI search

MCP server for OpenStreetMap geocoding, routing, and POI search

osm-mcp-server-tpp6me•bytpp6me

An MCP server that exposes OpenStreetMap-based tools for geocoding, routing, distance matrices, trip optimization, and nearby point-of-interest search.

License: Not specified•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Provides Nominatim geocoding tools including forward geocoding, place search, reverse geocoding, and place details lookup by OSM type and ID.
  • •Offers OSRM-based routing tools for route distance, detailed routes with turn-by-turn steps, distance matrices for 2-10 points, and trip optimization.
  • •Includes an Overpass-based tool to find nearby points of interest such as restaurants, cafes, hotels, fuel, and ATMs within a radius.
  • •Supports configurable endpoints via environment variables for Nominatim, OSRM, and Overpass, allowing custom or self-hosted servers.

BEST FOR

  • •Looking up coordinates and addresses for locations using OpenStreetMap data.
  • •Planning driving, walking, or cycling routes with distance, duration, and turn-by-turn directions.
  • •Finding nearby points of interest such as coffee shops, restaurants, and ATMs within a given radius.

ABOUT OSM-MCP-SERVER-TPP6ME

MCP server for OpenStreetMap geocoding, routing, and POI search is cataloged as an MCP server attributed to tpp6me. An MCP server that exposes OpenStreetMap-based tools for geocoding, routing, distance matrices, trip optimization, and nearby point-of-interest search. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for OpenStreetMap geocoding, routing, and POI search are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Can the server use self-hosted or custom Nominatim and OSRM servers?

Yes, custom endpoint URLs can be configured via environment variables or by editing the base URL constants, which the README recommends for production use.

How many tools does the server offer?

Version 2.0.0 exposes 12 tools, including geocoding, routing, distance, trip optimization, nearby search, and map link tools.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 89230b7ed01e · 采集于 2026-11-13 11:06:51 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MCP Server for OSM

Overview

This is an MCP server for accessing OSM functions: Nominatim (geocoding/reverse/lookup), OSRM (routing/matrix/trip) and Overpass (nearby POI search).

Please note that these are open servers, use them lightly and fairly. For production usage consider installing your own servers and using them. Set custom endpoints via env vars (see below).

Requirements

Node 20+

npm install

Features (v2.0.0, 12 tools)

  1. geocode – address → coords (top result, limit, countrycodes)
  2. search_places – query → up to 20 structured results
  3. reverse_geocode – lat/lon → address (zoom 0-18)
  4. place_details – OSM lookup by osm_type + osm_id
  5. distanceWithHaversine – straight-line distance (km/mi/m)
  6. routeDistance – OSRM distance (driving/walking/cycling)
  7. route_details – distance + duration + turn-by-turn steps
  8. distance_matrix – OSRM table for 2-10 points
  9. optimize_trip – OSRM trip (TSP) for 2-10 waypoints
  10. find_nearby_places – Overpass POIs: restaurant, cafe, hotel, fuel, atm, etc. within radius
  11. get_map_link – openstreetmap.org link for coords
  12. about – server info

Sample prompts: "Give coordinates of New York", "Coffee shops within 1km of (12.97, 77.59)?", "Optimize a trip visiting A, B, C", "Driving route Berlin → Potsdam with steps?".

Env vars

NOMINATIM_BASE_URL=https://nominatim.openstreetmap.org
OSRM_BASE_URL=https://router.project-osrm.org
OVERPASS_BASE_URL=https://overpass-api.de/api/interpreter
NOMINATIM_EMAIL=you@example.com   # optional, for large usage

Installation

To install the dependancies

npm install

Else you can install the dependancy

npm install @modelcontextprotocol/sdk

To enable the MCP server in the workspace we have create a directory and a configuration file in that directory.

mkdir .vscode
cd .vscode
touch mcp.json

Make a directory called .vscode in you working directory, create a file called mcp.json and add the configuration below. Update the paths to you node and your API key

{
    "servers": {
        "my-mcp-server-bfba9100": {
            "type": "stdio",
            "command": "/path/to/node",
            "args": [       
                "/path/to/index.js"
            ],
            "env": {

            },
        }
    }
}

Global VScode

Add the configuration file in ~/.vscode to make it accessible across all directories

Cursor

The global and local workspace will work for cursor also. The directories will be called .cursor. You can place the configuration file.

Claude Integration

The MCP server can be added to Claude Desktop app. Find the file claude_desktop_config.json. In MAC they will be available at

` ~/Library/Application\ Support/Claude/claude_desktop_config.json

Using custom Nominatim and OSRM servers

This MCP server can be used with custom Nominatim and OSRM servers, for e.g. your own servers if you choose to host them. This is usually recommended for production use. Change the lines

const NOMINATIM_BASE_URL = "<CUSTOM NOMINATIM SERVER>";
const OSRM_BASE_URL = "<CUSTOM OSRM SERVER>";





Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for OpenStreetMap geocoding, routing, and POI search from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/osm-mcp-server-tpp6me)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research