MCP-OSM: MCP용 OpenStreetMap 통합
이 패키지는 MCP에 OpenStreetMap 통합을 제공하여 사용자가 MCP 인터페이스를 통해 지도 데이터를 쿼리하고 시각화할 수 있도록 합니다.
특징
Leaflet과 OpenStreetMap을 사용한 웹 기반 지도 뷰어
SSE(Server-Sent Events)를 통한 서버-클라이언트 통신
지도 제어를 위한 MCP 도구(마커, 폴리곤 추가, 뷰 설정, 뷰 가져오기)
OpenStreetMap 데이터를 위한 PostgreSQL/PostGIS 쿼리 인터페이스
설치
이것은 내 claude_desktop_config.json
입니다:
지엑스피1
MCP 서버가 시작되면 맵 인터페이스가 있는 http://localhost:8889/ 에서 웹 서버도 시작됩니다.
환경 변수
다음 환경 변수를 사용하여 MCP를 구성할 수 있습니다.
FLASK_HOST
- Flask 서버의 호스트(기본값: 127.0.0.1)FLASK_PORT
- Flask 서버의 포트(기본값: 8889)PGHOST
- PostgreSQL 호스트(기본값: localhost)PGPORT
- PostgreSQL 포트(기본값: 5432)PGDB
- PostgreSQL 데이터베이스 이름(기본값: osm)PGUSER
- PostgreSQL 사용자 이름(기본값: postgres)PGPASSWORD
- PostgreSQL 비밀번호(기본값: postgres)
MCP 도구
사용 가능한 MCP 도구는 다음과 같습니다.
get_map_view
- 현재 맵 뷰 가져오기set_map_view
- 맵 뷰를 특정 좌표 또는 경계로 설정합니다.set_map_title
- 지도 오른쪽 하단에 표시되는 제목을 설정합니다.add_map_marker
- 특정 좌표에 마커 추가add_map_line
- 좌표 집합으로 정의된 선을 추가합니다.add_map_polygon
- 좌표 집합으로 정의된 다각형을 추가합니다.query_osm_postgres
- OpenStreetMap 데이터베이스에 대해 SQL 쿼리를 실행합니다.
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
MCP에 OpenStreetMap 통합을 제공하여 사용자가 마커, 폴리곤을 추가하고 맵 뷰를 제어하는 도구를 사용하여 맵 데이터를 쿼리하고 시각화할 수 있도록 합니다.
Related MCP Servers
- -securityAlicense-qualityMCP Server for the Google Maps API.Last updated -11,86869,779MIT License
- AsecurityAlicenseAqualityEnables seamless integration with any LLM client supporting MCP for creating and optimizing technical content and product positioning using Open Strategy Partners' methodologies.Last updated -6237CC BY-SA 4.0
- AsecurityAlicenseAqualityProvides access to Google Maps API functionality including geocoding, place search, direction routing, and distance calculations through a structured MCP interface.Last updated -41MIT License
- -securityFlicense-qualityAn MCP tool that integrates with Amap API services, allowing AI to access geographic information, weather data, and route planning.Last updated -6