MCP-OSM: MCP 向け OpenStreetMap 統合
このパッケージは、MCP 用の OpenStreetMap 統合を提供し、ユーザーが MCP インターフェースを通じてマップ データを照会および視覚化できるようにします。
特徴
LeafletとOpenStreetMapを使用したWebベースの地図ビューア
サーバー送信イベント (SSE) によるサーバーとクライアント間の通信
マップ制御用の MCP ツール (マーカー、ポリゴンの追加、ビューの設定、ビューの取得)
OpenStreetMapデータ用のPostgreSQL/PostGISクエリインターフェース
インストール
これは私のclaude_desktop_config.json
です:
MCP サーバーが起動すると、マップ インターフェイスを持つhttp://localhost:8889/の Web サーバーも起動します。
環境変数
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