jagan-shanmugam/open-streetmap-mcp logo

jagan-shanmugam/open-streetmap-mcp

Free

具有基于位置服务和地理空间数据的 OpenStreetMap MCP 服务器。

FreeFree tier
Type
Open Source

About jagan-shanmugam/open-streetmap-mcp

OpenStreetMap (OSM) MCP Server is an open-source implementation that enhances LLM capabilities with location-based services and geospatial data. It provides a comprehensive set of tools for geocoding addresses, reverse geocoding coordinates, finding nearby points of interest, getting route directions, searching by category within a bounding box, suggesting optimal meeting points, exploring neighborhoods, analyzing commute options, locating EV charging stations, performing neighborhood livability analysis for real estate, and finding parking facilities. The server also exposes resources for place information and styled map tiles. It can be easily installed via uvx osm-mcp-server in MCP hosts such as Claude Desktop, Cursor, and Windsurf, or run locally using pip install -e . and osm-mcp-server.

Key Features

Geocode addresses and place names to coordinates
Reverse geocode coordinates to human-readable addresses
Find nearby points of interest
Get turn-by-turn route directions between locations
Search for places by category within a bounding box
Suggest optimal meeting points for multiple people
Explore areas and get comprehensive location information
Find schools and educational institutions near a location
Analyze commute options between home and work
Locate EV charging stations with connector and power filtering

Pros & Cons

Pros
  • Open source and free to use
  • Comprehensive set of geospatial tools covering many location use cases
  • Easy to install and integrate with popular MCP hosts via uvx
  • Based on OpenStreetMap data, ensuring global coverage and free access
  • Provides both tool-based and resource-based access to OSM data
  • Actively maintained with community support (210 stars, 46 forks)
Cons
  • Requires an MCP host (e.g., Claude Desktop) or local setup to run
  • Dependent on OpenStreetMap API availability and internet connection
  • No built-in graphical user interface – only usable as an MCP server
  • May be subject to OSM API usage limits if not self-hosted

Best For

Real estate neighborhood analysis and livability scoringFinding nearby EV charging stations with filtersOptimizing meeting points for groups of peopleCommute analysis and transportation planningLocating schools and educational institutionsParking search near a destinationGeocoding for location-based applicationsExploration of neighborhoods for travel or business

FAQ

How do I install the OpenStreetMap MCP server?
In MCP hosts like Claude Desktop, Cursor, Windsurf, add the following to your MCP configuration: {"mcpServers": {"osm-mcp-server": {"command": "uvx", "args": ["osm-mcp-server"]}}}
What tools does the server provide?
The server provides tools for geocoding, reverse geocoding, finding nearby places, route directions, category search, meeting point suggestion, area exploration, school location, commute analysis, EV charging station search, neighborhood livability analysis, and parking facility search.
Can I run the server locally?
Yes, clone the repository, install the package with `pip install -e .`, then start the server with `osm-mcp-server`. It listens for MCP requests on standard input/output.
Is this project free to use?
Yes, the OpenStreetMap MCP server is open source and free to use. It is available under the license in the repository.
What data does the server use?
It uses OpenStreetMap (OSM) data, which is free and globally available, to provide geospatial information and services.