Back to Home
NERVsystems icon

osmmcp

Verified Safe

by NERVsystems

Overview

Enables LLMs to interact with OpenStreetMap data through a rich set of geospatial tools, including geocoding, routing, and points of interest search.

Installation

Run Command
./osmmcp --enable-http --http-addr :7082 --enable-monitoring --monitoring-addr :9090

Environment Variables

  • OSMMCP_DEFAULT_REGION
  • OTLP_ENDPOINT
  • ENVIRONMENT

Security Notes

The server employs robust security practices including extensive input validation to prevent injection (e.g., in `validateTags`, `sanitizeAddress`), per-IP rate limiting (`pkg/server/middleware.go`), connection pooling with timeouts, structured error handling, and the application of standard HTTP security headers (`X-Content-Type-Options`, `X-Frame-Options`, `X-XSS-Protection`, `Strict-Transport-Security`, `Content-Security-Policy`). Request body size limits are enforced, and authentication (bearer, basic) is supported for HTTP transport. No use of 'eval' or similar dynamic code execution is apparent, and sensitive API keys are externalized or passed via flags, not hardcoded. OpenTelemetry tracing and Prometheus monitoring enhance observability for security audits.

Similar Servers

Stats

Interest Score19
Security Score9
Cost ClassMedium
Avg Tokens1000
Stars11
Forks1
Last Update2025-12-22

Tags

OpenStreetMapGeospatialLLM ToolsMappingRouting