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
Enables AI agents and applications with Mapbox's geospatial intelligence, including geocoding, routing, POI search, and map visualization.
gis-mcp
A Model Context Protocol (MCP) server that provides AI agents and LLMs with comprehensive GIS capabilities, enabling geospatial analysis, data gathering, and transformations through natural language.
opensearch-mcp-server-py
Enables AI assistants and LLMs to interact with OpenSearch clusters by providing a standardized Model Context Protocol (MCP) interface through built-in and dynamic tools.
geoserver-mcp
Enables Large Language Models (LLMs) to interact with and manage geospatial data and services through the GeoServer REST API.