Openstreetmap
БесплатноНе проверенAdvanced OpenStreetMap MCP Server for AI Agents. Goes beyond geocoding with Neighborhood Livability Scoring and Commute Analysis. Modular, stable, and Windows-r
Описание
Advanced OpenStreetMap MCP Server for AI Agents. Goes beyond geocoding with Neighborhood Livability Scoring and Commute Analysis. Modular, stable, and Windows-ready.
README
A modular, high-performance Model Context Protocol (MCP) server for OpenStreetMap. This implementation goes beyond simple geocoding, providing advanced geospatial analytics like neighborhood livability scoring and commute analysis.
🚀 Why this server?
While there are many OSM MCP servers, this version is built for stability, modular extension, and advanced insights:
- Modular Architecture: Clean separation between API Client, Utility logic, and Tool definitions. Easy to audit and extend.
- Enterprise Analytics:
analyze_neighborhood: Calculates a "Livability Score" based on walking proximity to essential services (groceries, healthcare, parks).analyze_commute: Multi-modal comparison of travel times (car, bike, foot) for lifestyle planning.
- Efficient: Uses FastMCP for asynchronous I/O and structured tool registration.
- Windows Optimized: Built and tested to run reliably as a background process on Windows environments.
🛠 Features
Core Tools
- Geocoding:
geocode_address,reverse_geocode - Routing:
get_route_directions(OSRM based) - Search:
find_nearby_places,search_category - Analytics:
explore_area,analyze_neighborhood,analyze_commute
Specialized Tools (Optional)
Found in tools/extras.py (not loaded by default for performance):
find_schools_nearbyfind_ev_charging_stationsfind_parking_facilitiessuggest_meeting_point
Resources
location://place/{query}: Real-time place metadata.location://map/{style}/{z}/{x}/{y}: Interactive map tile retrieval.
📦 Installation
Requirements
- Python 3.10+
uv(recommended) orpip
Method 1: Via MCP Config (Claude/Cursor)
Add this to your mcp_config.json:
{
"mcpServers": {
"osm-mcp": {
"command": "python",
"args": [
"c:/path/to/osm-mcp-server/src/openstreetmap_mcp/server.py"
],
"env": {
"PYTHONPATH": "c:/path/to/osm-mcp-server/src/openstreetmap_mcp"
}
}
}
}
Method 2: Local Development
git clone https://github.com/neco001/openstreetmap-mcp
cd openstreetmap-mcp
uv sync
📂 Project Structure
src/openstreetmap_mcp/
├── server.py # Main Entry Point
├── instance.py # FastMCP lifecycle
├── client.py # HTTP logic for OSM/OSRM/Overpass
├── utils.py # Haversine & geometric helpers
├── tools/ # Categorized tool definitions
│ ├── geocoding.py
│ ├── routing.py
│ ├── search.py
│ └── analysis.py
└── resources.py # Map & Data resources
⚖️ License
MIT License - feel free to use, modify and distribute.
Acknowledgments
Original logic & concepts by Jagan Shanmugam. This repository is a modular refactor focused on Enterprise usage, Windows compatibility, and Analytics tools.
Установка Openstreetmap
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/neco001/openstreetmap-mcpFAQ
Openstreetmap MCP бесплатный?
Да, Openstreetmap MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Openstreetmap?
Нет, Openstreetmap работает без API-ключей и переменных окружения.
Openstreetmap — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Openstreetmap в Claude Desktop, Claude Code или Cursor?
Открой Openstreetmap на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Openstreetmap with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
