OSM-GeoJSON-MCP-Server
by shimizu
Overview
This server fetches OpenStreetMap data via the Overpass API, converts it to GeoJSON format, and provides it through a Model Context Protocol (MCP) interface, with an option to save large datasets to local files.
Installation
npm startSecurity Notes
The server explicitly disables SSL certificate verification (`rejectUnauthorized: false`) in its HTTPS requests to Overpass API servers. While justified in comments for direct IP connections, this creates a critical vulnerability to Man-in-the-Middle (MITM) attacks, allowing an attacker to impersonate the Overpass API servers without a valid certificate. No hardcoded secrets were found. Input validation for geographical coordinates and query limits is implemented, reducing the risk of malformed queries. Rate limiting and caching mechanisms are in place to mitigate resource exhaustion.
Similar Servers
mcp-server
Integrates Mapbox's Model Context Protocol (MCP) server with AI agents, enabling them to access Mapbox's location-based tools for geospatial intelligence.
gis-mcp
Serves as a Model Context Protocol (MCP) backend, enabling Large Language Models (LLMs) to perform complex geospatial operations and spatial analysis through various GIS libraries.
opensearch-mcp-server-py
Enables AI assistants and Large Language Models (LLMs) to interact with OpenSearch clusters by providing a standardized Model Context Protocol (MCP) interface for operations like searching, retrieving mappings, and managing shards.
opencage-geocoding-mcp
Provides geocoding and reverse geocoding capabilities, along with API status monitoring, using the OpenCage Geocoding API.