OpenStreetMap Geospatial

v1.0.0Search & Data Extractionstable

An OpenStreetMap MCP server implementation that enhances LLM capabilities with location-based services and geospatial data.

anthropic-claudellmmcpmcp-serveropenstreetmap
Share:
193
Stars
0
Downloads
0
Weekly
0/5

What is OpenStreetMap Geospatial?

OpenStreetMap Geospatial is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to openstreetmap mcp server implementation that enhances llm capabilities with location-based services and geospatial data.

An OpenStreetMap MCP server implementation that enhances LLM capabilities with location-based services and geospatial data.

This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • An OpenStreetMap MCP server implementation that enhances LLM

Use Cases

Location-based services with LLMs
Geospatial data analysis
Map-based queries
jagan-shanmugam

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMay 19, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx open-streetmap

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use OpenStreetMap Geospatial

The OpenStreetMap MCP server bridges LLMs to free, open geospatial data via the Nominatim geocoding API and OSRM routing engine. It provides twelve location-based tools including address geocoding, reverse geocoding, point-of-interest discovery, route calculation, and neighborhood livability assessment. It is especially useful for applications that need location intelligence without paying for proprietary mapping APIs — letting AI assistants answer questions like "find EV charging stations near me" or "what is the commute time between these two addresses?"

Prerequisites

  • Python 3.10+ and the `uv` package manager installed
  • No API keys required — the server uses free OpenStreetMap public APIs
  • An MCP-compatible client such as Claude Desktop, Cursor, or Windsurf
  • Internet access to reach Nominatim (nominatim.openstreetmap.org) and OSRM routing services
1

Install the server via uvx

The easiest installation is via `uvx`, which downloads and runs the package without a separate install step. Alternatively, install with pip for a persistent setup.

# Option 1: run directly without installing
uvx osm-mcp-server

# Option 2: install persistently
pip install osm-mcp-server
2

Clone for local development (optional)

For development or to inspect the source, clone the repository and install in editable mode.

git clone https://github.com/jagan-shanmugam/open-streetmap-mcp.git
cd open-streetmap-mcp
pip install -e .
3

Configure your MCP client

Add the server to your MCP client configuration. No environment variables are required since the server uses public OSM APIs.

4

Test the connection with MCP Inspector

Before connecting Claude, verify the server works using the MCP Inspector tool.

npx @modelcontextprotocol/inspector uvx osm-mcp-server

OpenStreetMap Geospatial Examples

Client configuration

MCP configuration for Claude Desktop or any other MCP client. Uses uvx to run the server without a separate installation step.

{
  "mcpServers": {
    "osm-mcp-server": {
      "command": "uvx",
      "args": ["osm-mcp-server"]
    }
  }
}

Prompts to try

Example prompts for geospatial queries using the OpenStreetMap MCP server.

- "Geocode the address '1600 Amphitheatre Parkway, Mountain View, CA' and return its coordinates"
- "Find coffee shops within 500 meters of Times Square, New York"
- "What is the driving route from Chicago to Milwaukee, and how long will it take?"
- "Find EV charging stations near the city center of Amsterdam"
- "Reverse geocode coordinates 48.8584, 2.2945 and tell me what landmark is there"

Troubleshooting OpenStreetMap Geospatial

Geocoding returns no results for a valid address

Nominatim requires well-formed addresses. Try including the country name and using English place names. Avoid abbreviations — for example, use 'New York City, United States' instead of 'NYC'.

Server fails to start with 'uvx: command not found'

Install the `uv` package manager with `pip install uv` or by following the instructions at https://docs.astral.sh/uv/. Then retry `uvx osm-mcp-server`.

Route calculation returns an error or empty result

The OSRM public API has rate limits. For heavy usage, consider running a local OSRM instance. Also verify both origin and destination addresses geocode successfully before requesting a route.

Frequently Asked Questions about OpenStreetMap Geospatial

What is OpenStreetMap Geospatial?

OpenStreetMap Geospatial is a Model Context Protocol (MCP) server that openstreetmap mcp server implementation that enhances llm capabilities with location-based services and geospatial data. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install OpenStreetMap Geospatial?

Follow the installation instructions on the OpenStreetMap Geospatial GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with OpenStreetMap Geospatial?

OpenStreetMap Geospatial works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is OpenStreetMap Geospatial free to use?

Yes, OpenStreetMap Geospatial is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Search & Data Extraction MCP Servers

Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "open-streetmap": { "command": "npx", "args": ["-y", "open-streetmap"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use OpenStreetMap Geospatial?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides