An OpenStreetMap MCP server implementation that enhances LLM capabilities with location-based services and geospatial data.
# Add to your Claude Code skills
git clone https://github.com/jagan-shanmugam/open-streetmap-mcpAn OpenStreetMap MCP server implementation that enhances LLM capabilities with location-based services and geospatial data.



osm-mcp-server: The main server, available for public use.
"mcpServers": {
"osm-mcp-server": {
"command": "uvx",
"args": [
"osm-mcp-server"
]
}
}
This server provides LLMs with tools to interact with OpenStreetMap data, enabling location-based applications to:
The server implements location-based resources:
location://place/{query}: Get information about places by name or addresslocation://map/{style}/{z}/{x}/{y}: Get styled map tiles at specified coordinatesThe server implements several geospatial tools:
geocode_address: Convert text to geographic coordinatesreverse_geocode: Convert coordinates to human-readable addressesfind_nearby_places: Discover points of interest near a locationget_route_directions: Get turn-by-turn directions between locationssearch_category: Find places of specific categories in an areasuggest_meeting_point: Find optimal meeting spots for multiple peopleexplore_area: Get comprehensive data about a neighborhoodfind_schools_nearby: Locate educational institutions near a specific locationanalyze_commute: Compare transportation options between home and workfind_ev_charging_stations: Locate EV charging infrastructure with filteringanalyze_neighborhood: Evaluate neighborhood livability for real estatefind_parking_facilities: Locate parking options near a destinationTo run the server locally:
pip install -e .
osm-mcp-server
The repository includes two example clients in the examples/...