
Jagan-Shanmugam/Open-StreetMap-MCP 是从 https://github.com/jagan-shanmugam/open-streetmap-mcp. 导入的 MCP 服务器候选人
概览
Jagan-Shanmugam/Open-StreetMap-MCP 是从 https://github.com/jagan-shanmugam/open-streetmap-mcp. 导入的 MCP 服务器候选人
概述(AI 翻译)
OpenStreetMap MCP 服务器实现,通过基于位置的服务和地理空间数据增强了 LLM 功能。
演示
交汇点优化
社区分析
停车搜查
安装
在 Claude Desktop、Cursor、Windsurf 等 MCP 主机中。
osm-mcp-server:主服务器,供公众使用。
特色
该服务器为大型语言模型提供与OpenStreetMap数据交互的工具,使基于位置的应用能够:
- 地址和地名的地理编码到坐标
- 将地理编码坐标反向到地址
- 寻找附近的兴趣点
- 获取地点间的路线指引
- 在边界框内按类别搜索地点
- 建议多人的最佳会面点
- 探索区域并获取全面的位置信息
- 查找靠近地点的学校和教育机构
- 分析家与工作之间的通勤选项
- 寻找带有连接器和电源过滤功能的电动汽车充电站
- 为房地产进行邻里宜居性分析
- 查找停车场,提供可用性和费用信息
组成部分
资源
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
OpenStreetMap (OSM) MCP Server
An OpenStreetMap MCP server implementation that enhances LLM capabilities with location-based services and geospatial data.
Demo
Meeting Point Optimization
Neighborhood Analysis
Parking Search
Installation
In MCP Hosts like Claude Desktop, Cursor, Windsurf, etc.
-
osm-mcp-server: The main server, available for public use."mcpServers": { "osm-mcp-server": { "command": "uvx", "args": [ "osm-mcp-server" ] } }
Features
This server provides LLMs with tools to interact with OpenStreetMap data, enabling location-based applications to:
- 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
- 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
- Perform neighborhood livability analysis for real estate
- Find parking facilities with availability and fee information
Components
Resources
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 coordinates
Tools
The 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 destination
Local Testing
Running the Server
To run the server locally:
- Install the package in development mode:
pip install -e .
- Start the server:
osm-mcp-server
- The server will start and listen for MCP requests on the standard input/output.
Testing with Example Clients
安装
uvx osm-mcp-server配置
"mcpServers": {
"osm-mcp-server": {
"command": "uvx",
"args": [
"osm-mcp-server"
]
}
}