OSM PostgreSQL Server
MCP-OSM: Integración de OpenStreetMap para MCP
Este paquete proporciona integración de OpenStreetMap para MCP, lo que permite a los usuarios consultar y visualizar datos de mapas a través de una interfaz MCP.

Características
Visor de mapas basado en web que utiliza Leaflet y OpenStreetMap
Comunicación de servidor a cliente mediante eventos enviados por el servidor (SSE)
Herramientas MCP para el control de mapas (agregar marcadores, polígonos, configurar la vista, obtener la vista)
Interfaz de consulta PostgreSQL/PostGIS para datos de OpenStreetMap
Related MCP server: MCP Google Maps
Instalación
Este es mi claude_desktop_config.json :
{
"mcpServers": {
"OSM PostgreSQL Server": {
"command": "/Users/wiseman/.local/bin/uv",
"args": [
"run",
"--env-file",
".env",
"--with",
"mcp[cli]",
"--with",
"psycopg2",
"--with-editable",
"/Users/wiseman/src/mcp-osm",
"--directory",
"/Users/wiseman/src/mcp-osm",
"mcp",
"run",
"mcp.py"
]
}
}
}Cuando se inicia el servidor MCP, también inicia un servidor web en http://localhost:8889/ que tiene la interfaz de mapa.
Variables de entorno
Las siguientes variables de entorno se pueden utilizar para configurar el MCP:
FLASK_HOST: host para el servidor Flask (predeterminado: 127.0.0.1)FLASK_PORT- Puerto para el servidor Flask (predeterminado: 8889)PGHOST- Host de PostgreSQL (predeterminado: localhost)PGPORT- Puerto PostgreSQL (predeterminado: 5432)PGDB: nombre de la base de datos PostgreSQL (predeterminado: osm)PGUSER- Nombre de usuario de PostgreSQL (predeterminado: postgres)PGPASSWORD- Contraseña de PostgreSQL (predeterminada: postgres)
Herramientas MCP
Las siguientes herramientas MCP están disponibles:
get_map_view- Obtener la vista del mapa actualset_map_view- Establece la vista del mapa en coordenadas o límites específicosset_map_title- Establece el título que se muestra en la parte inferior derecha del mapaadd_map_marker- Agrega un marcador en coordenadas específicasadd_map_line- Agrega una línea definida por un conjunto de coordenadasadd_map_polygon- Agrega un polígono definido por un conjunto de coordenadasquery_osm_postgres: ejecuta una consulta SQL en la base de datos OpenStreetMap
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityDmaintenanceProvides access to Google Maps API functionality including geocoding, place search, direction routing, and distance calculations through a structured MCP interface.415MIT
- AlicenseAqualityDmaintenanceProvides access to Google Maps API functionality including places search, geocoding, directions, distance matrix, elevation data, and static map generation through the MCP interface.8231MIT
- AlicenseNot gradedqualityBmaintenanceProvides MCP tools for Google Maps services including directions, geocoding, distance matrix, and places search.14Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to perceive and control a live MapLibre GL map over MCP, allowing querying rendered features, reading popups, navigating, and toggling layers.1MIT
Related MCP Connectors
Nominatim MCP — wraps OpenStreetMap Nominatim geocoding API (free, no auth)
OpenStreetMap Overpass MCP — programmatic queries against the OSM database
Geoapify MCP — wraps the Geoapify Location Platform (geoapify.com)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/wiseman/osm-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server