osm-mcp

osm-mcp

19

MCP-OSM integrates OpenStreetMap data with the Model Context Protocol, providing a web-based interface for map visualization and data querying. It features various tools for interacting with map data, such as adding markers and querying a PostgreSQL/PostGIS database.

What is MCP-OSM?

MCP-OSM is a package that integrates OpenStreetMap with the Model Context Protocol, allowing users to query and visualize map data through an MCP interface.

How does MCP-OSM communicate with clients?

MCP-OSM uses Server-Sent Events (SSE) for server-to-client communication, enabling real-time updates and interactions.

What database does MCP-OSM use for map data?

MCP-OSM uses PostgreSQL with PostGIS for querying and managing OpenStreetMap data.

Can I customize the map view in MCP-OSM?

Yes, MCP-OSM provides tools to set the map view, add markers, lines, and polygons, allowing for extensive customization.

What are the default environment variables for MCP-OSM?

The default environment variables include FLASK_HOST (127.0.0.1), FLASK_PORT (8889), PGHOST (localhost), PGPORT (5432), PGDB (osm), PGUSER (postgres), and PGPASSWORD (postgres).