Skip to main content
Glama

Google マップ MCP サーバー

Google Maps API 用の MCP サーバー。

ツール

  1. maps_geocode

    • 住所を座標に変換する

    • 入力: address (文字列)

    • 戻り値: location、formatted_address、place_id

  2. maps_reverse_geocode

    • 座標を住所に変換する

    • 入力:

      • latitude (数値)

      • longitude (数値)

    • 戻り値: formatted_address、place_id、address_components

  3. maps_search_places

    • テキストクエリを使用して場所を検索する

    • 入力:

      • query (文字列)

      • location (オプション): { 緯度: 数値、経度: 数値 }

      • radius (オプション):数値(メートル、最大50000)

    • 戻り値: 名前、住所、場所を含む場所の配列

  4. maps_place_details

    • 場所の詳細情報を取得する

    • 入力: place_id (文字列)

    • 返される情報: 名前、住所、連絡先、評価、レビュー、営業時間

  5. maps_distance_matrix

    • 地点間の距離と時間を計算する

    • 入力:

      • origins (文字列[])

      • destinations (文字列[])

      • mode (オプション): 「運転」 | 「徒歩」 | 「自転車」 | 「公共交通機関」

    • 戻り値: 距離と所要時間の行列

  6. maps_elevation

    • 場所の標高データを取得する

    • 入力: locations ({緯度、経度} の配列)

    • 戻り値: 各ポイントの標高データ

  7. maps_directions

    • 地点間のルート案内

    • 入力:

      • origin (文字列)

      • destination (文字列)

      • mode (オプション): 「運転」 | 「徒歩」 | 「自転車」 | 「公共交通機関」

    • 返される値: 歩数、距離、所要時間を含むルートの詳細

設定

APIキー

ここの指示に従って、Google Maps API キーを取得します。

Claude Desktopでの使用

claude_desktop_config.jsonに以下を追加します。

ドッカー

{ "mcpServers": { "google-maps": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "GOOGLE_MAPS_API_KEY", "mcp/google-maps" ], "env": { "GOOGLE_MAPS_API_KEY": "<YOUR_API_KEY>" } } } }

NPX

{ "mcpServers": { "google-maps": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-google-maps"], "env": { "GOOGLE_MAPS_API_KEY": "<YOUR_API_KEY>" } } } }

VS Codeでの使用

素早くインストールするには、以下のワンクリック インストール ボタンのいずれかを使用します...

VS CodeでNPXを使ってインストールする VS Code Insiders で NPX を使用してインストールする

VS CodeでDockerを使ってインストールする VS Code Insiders で Docker を使用してインストールする

手動でインストールする場合は、VS Code のユーザー設定 (JSON) ファイルに次の JSON ブロックを追加します。Ctrl Ctrl + Shift + Pを押してPreferences: Open User Settings (JSON)と入力すると、このブロックを追加できます。

オプションとして、ワークスペース内の.vscode/mcp.jsonというファイルに追加することもできます。これにより、他のユーザーと設定を共有できるようになります。

.vscode/mcp.jsonファイルではmcpキーは必要ないことに注意してください。

{ "mcp": { "inputs": [ { "type": "promptString", "id": "maps_api_key", "description": "Google Maps API Key", "password": true } ], "servers": { "google-maps": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-google-maps"], "env": { "GOOGLE_MAPS_API_KEY": "${input:maps_api_key}" } } } } }

Docker インストールの場合:

{ "mcp": { "inputs": [ { "type": "promptString", "id": "maps_api_key", "description": "Google Maps API Key", "password": true } ], "servers": { "google-maps": { "command": "docker", "args": ["run", "-i", "--rm", "mcp/google-maps"], "env": { "GOOGLE_MAPS_API_KEY": "${input:maps_api_key}" } } } } }

建てる

Docker ビルド:

docker build -t mcp/google-maps -f src/google-maps/Dockerfile .

ライセンス

このMCPサーバーはMITライセンスに基づいてライセンスされています。つまり、MITライセンスの条件に従って、ソフトウェアを自由に使用、改変、配布することができます。詳細については、プロジェクトリポジトリのLICENSEファイルをご覧ください。

-
security - not tested
-
license - not tested
-
quality - not tested

Related MCP Servers

  • -
    security
    F
    license
    -
    quality
    An MCP Server that enables interaction with Google's Service Usage API, allowing management and control of which Google Cloud Platform APIs and services are enabled for a project.
    Last updated -

View all related MCP servers

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/modelcontextprotocol/google-maps'

If you have feedback or need assistance with the MCP directory API, please join our Discord server