Back to Home
shimizu icon

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

Run Command
npm start

Security 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

Stats

Interest Score35
Security Score5
Cost ClassLow
Avg Tokens300
Stars5
Forks2
Last Update2025-11-28

Tags

OpenStreetMapGeoJSONGISMCPOverpass API