IM

iceener/maps-streamable-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

22 stars 4 forks 品質 51 トレンド 18

Googleマップとやり取りするためのMCPサーバー(APIとルートAPI)。 TypeScript、Node、Hono.devで書かれている

概要

このサーバーは、Googleマップ用のリモートモデルコンテキストプロトコル(MCP)サーバーです。 場所を見つけ、場所の詳細と計画のルートを与えます。 Google Maps Platform Places API(新規)とRoutes APIを利用しています。 サーバがオン/オン/オンで実行されます。 MCP サーバテンプレート、バージョン 2.1、公式 MCP TypeScript SDK 2.3.0 上に構築されます。 プロトコルバージョン 2026-07-28 を使用します。 2025のプロトコルバージョンを使用するクライアントも受け入れます。 サーバは、監視や電話など、ユーザーの位置を知るエージェントです。 クライアントは現在の位置を与え、モデルは次のことができます。 - 種類や名前で、ユーザーの近くに場所を見つけます。 - 営業時間、評価、レビュー、連絡先データ、および場所の写真を読む。 - ウォーキング、運転、サイクリング、またはトランジットの指示を取得します。 - 複数の目的地までの距離を比較します。 各ツールは、モデルと構造化されたデータに対してテキストを与えます。 ツールの説明は、すべての入力と出力を与えます。 すべてのツールは、データを読み込みます.

概要(AI 翻訳)

このサーバーは、Googleマップ用のリモートモデルコンテキストプロトコル(MCP)サーバーです。 場所を見つけ、場所の詳細と計画のルートを与えます。 Google Maps Platform Places API(新規)とRoutes APIを利用しています。

サーバはCloudflare WorkersとBunで動作します。 MCP サーバテンプレート、バージョン 2.1、公式 MCP TypeScript SDK 2.3.0 上に構築されます。 プロトコルバージョン[2026-07-28を使用します。 2025のプロトコルバージョンを使用するクライアントも受け入れます。

サーバは、監視や電話など、ユーザーの位置を知るエージェントです。 クライアントは現在の位置を与え、モデルは次のことができます。

  • 種類や名前で、ユーザーの近くに場所を見つけます。
  • 営業時間、評価、レビュー、連絡先データ、および場所の写真を読む。
  • ウォーキング、運転、サイクリング、またはトランジットの指示を取得します。
  • 複数の目的地までの距離を比較します。

ツール

| ツール | 機能 | お問い合わせ | [search_places | 周辺スポットを探す [queryでテキスト検索(sushi, “Starbucks”)を行います。 [typesで、そのタイプ(「cafe」「薬理」)の場所がわかります。 どちらも、半径のすべての場所を見つけます。 お問い合わせ | [get_place | [place_idから場所の詳細を提示します.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Google Maps MCP Server

This server is a remote Model Context Protocol (MCP) server for Google Maps. It finds places, gives place details, and plans routes. It uses the Google Maps Platform Places API (New) and Routes API.

The server runs on Cloudflare Workers and on Bun. It is built on the MCP server template, version 2.1, and the official MCP TypeScript SDK 2.3.0. It uses protocol version 2026-07-28. It also accepts clients that use the 2025 protocol versions.

The server is for agents that know the location of the user, for example on a watch or a phone. The client gives the current position, and the model can:

  • Find places near the user, by type or by name.
  • Read the opening hours, ratings, reviews, contact data, and photos of a place.
  • Get walking, driving, cycling, or transit directions.
  • Compare the distance to several destinations.

Tools

Tool Function
search_places Finds places near a location. With query, it does a text search (“sushi”, “Starbucks”). With types, it finds places of those types (“cafe”, “pharmacy”). With neither, it finds all places in the radius.
get_place Gives the details of a place from a place_id. Select the data with fields: basic, contact, hours, reviews, photos.
get_route With one destination, gives a route, and turn-by-turn steps if you ask for them. With two or more destinations (25 maximum), compares the time and distance to each, and names the closest.

Each tool gives text for the model and structured data. The tool descriptions give all inputs and outputs. All tools only read data.

Examples of requests:

  • “Coffee near me”: search_places with types: ["cafe"] and open_now: true.
  • “Is the pharmacy on Main Street open?”: search_places, then get_place with fields: ["hours"].
  • “Which is closer, A or B?”: get_route with both places as destinations.

Photo results contain public image URLs that Google makes for each request. They never contain the API key.

Connect a client

The server URL is the deployed Worker’s MCP_PUBLIC_URL, for example https://google-maps..workers.dev/mcp. Use the Streamable HTTP transport, and send the shared token in the Authorization header.

Client Procedure
Alice Add an MCP server. Set the URL, the type streamable-http, and the header Authorization: Bearer .
Claude Code Run claude mcp add --transport http google-maps --header "Authorization: Bearer ".
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →