OpenStreetMap (OSM) MCP Server
@jagan-shanmugam
An OpenStreetMap MCP server implementation that enhances LLM capabilities with location-based services and geospatial data.
Overview
What is OpenStreetMap (OSM) MCP Server?
The OpenStreetMap (OSM) MCP Server is an implementation of the Model Context Protocol that enhances LLM capabilities with location-based services and geospatial data from OpenStreetMap. It provides a toolkit for geocoding, reverse geocoding, route directions, points of interest, and area analysis, enabling AI assistants to interact with real-world geography.
How to use OpenStreetMap (OSM) MCP Server?
Install the server in MCP hosts (Claude Desktop, Cursor, Windsurf) by adding a configuration entry using the uvx command with the osm-mcp-server package. For local development, install with pip install -e . and run osm-mcp-server. Test using the example clients in the examples/ directory or integrate via the MCP client library.
Key features of OpenStreetMap (OSM) MCP Server
- Geocode addresses and place names to coordinates
- Reverse geocode coordinates to addresses
- Find nearby points of interest
- Get route directions between locations
- Search for places by category within a bounding box
- Suggest optimal meeting points for multiple people
Use cases of OpenStreetMap (OSM) MCP Server
- Finding optimal meeting points for groups of people
- Analyzing neighborhood livability for real estate decisions
- Locating parking facilities with availability and fee information
- Comparing commute options between home and work
- Locating EV charging stations with connector and power filtering
FAQ from OpenStreetMap (OSM) MCP Server
How do I install the server in a desktop MCP host?
Add the following JSON configuration under mcpServers in your host’s config file: `"osm-mcp-server": { "command": "uvx", "args": ["osm-m