osmmcp
by NERVsystems·★ 22·综合分 43
OpenStreetMap MCP 服务器提供精确地理空间工具,包括地理编码、路由和社区分析。
概述
这是一个使用 Go 编写的优秀 MCP 服务器,通过模型上下文协议提供广泛的 OpenStreetMap 功能。它提供了一套全面的地理空间工具,包括地理编码、反向地理编码、路线计算和地点发现。该服务器采用可组合工具设计理念,使 LLM 能够组合工具来实现复杂工作流程。它包括 EV 充电站查找、社区分析和地图可视化等专业功能。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您的 LLM 应用需要精确的地理空间工具,特别是基于位置的服务、路线规划或社区分析时,选择 osmmcp。
什么时候不要选它
如果您需要 OpenStreetMap 数据之外的全球覆盖,或需要实时交通数据(此服务器不提供),请不要选择 osmmcp。
此 server 暴露的工具
从 README 抽取出 12 个工具bbox_from_pointsCreate a bounding box that encompasses all given geographic coordinates
geocode_addressConvert an address or place name to geographic coordinates
reverse_geocodeConvert geographic coordinates to a human-readable address
find_nearby_placesFind points of interest near a specific location
route_fetchFetch a route between two points using OSRM routing service
get_map_imageRetrieve and display an OpenStreetMap image for analysis
find_charging_stationsFind electric vehicle charging stations near a location
analyze_commuteAnalyze transportation options between home and work locations
analyze_neighborhoodEvaluate neighborhood livability for real estate and relocation decisions
suggest_meeting_pointSuggest an optimal meeting point for multiple people
find_schools_nearbyFind educational institutions near a specific location
find_parking_facilitiesFind parking facilities near a specific location
可对比工具
安装
安装
使用 Go
go install github.com/NERVsystems/osmmcp@latest与 Claude Desktop 一起使用
将以下内容添加到您的 claude_desktop_config.json:
{
"mcpServers": {
"osmmcp": {
"command": "go",
"args": ["run", "github.com/NERVsystems/osmmcp"],
"env": {}
}
}
}FAQ
- 这个服务器使用哪些地理空间数据源?
- 该服务器主要使用通过直接 API 调用的 OpenStreetMap (OSM) 数据和用于路线计算的 OSRM 路由服务。
- 这个服务器需要 API 密钥吗?
- 基本功能不需要 API 密钥,因为它使用免费的 OpenStreetMap 服务。但是,大量使用可能需要考虑速率限制。
osmmcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。