プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Google Maps Directions

作者:johnisanerdバージョン 1.0.0i★ –iクラウドで動く
レジストリ名io.github.johnisanerd/google-maps-directions

インストール

概要

作者による説明(英語の原文)

Google Maps routes, ETAs, and turn-by-turn steps via the Apify Directions API, hosted MCP.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: クラウドで動く
  • トランスポート: Streamable HTTP
  • カテゴリ: その他

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:3項目中3項目に合格
  • 作者のサーバーで動きます。あなたが頼んだ内容は、作者のサーバーを通ります。
  • レジストリには、入力が必要なキーは載っていません。

必要なもの

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

ウェブ、デスクトップ、モバイルのClaudeで使えます:

  1. Settings → Connectors を開く
  2. Add custom connector を押す
  3. 下のアドレスを貼り付けて Add を押す
  4. サインインを求められたら、作者のサービスにサインインする
SettingsConnectors1+ Add2https://…3
https://mcp.apify.com/?tools=johnvc/google-maps-directions-api

ターミナルでこれを実行します

claude mcp add --transport http google-maps-directions 'https://mcp.apify.com/?tools=johnvc/google-maps-directions-api'

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "google-maps-directions": {
      "url": "https://mcp.apify.com/?tools=johnvc/google-maps-directions-api"
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "google-maps-directions": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=johnvc/google-maps-directions-api"
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

ChatGPTがつなげるのは、インターネット上のサーバーだけです:

  1. ウェブ版のChatGPTを開き → Settings → Connectors (Apps)
  2. Create または Add を押す(プランによっては、先に Advanced で Developer mode をオンにする必要があります)
  3. 下のアドレスを貼り付け、名前を付けて保存する
  4. サインインを求められたら、作者のサービスにサインインする
SettingsConnectors1+ Create2https://…3
https://mcp.apify.com/?tools=johnvc/google-maps-directions-api

メニューの名前は、プランや時期によって少し違うことがあります。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

このサーバーは、ツール一覧を表示する前にサインインを求めます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント johnisanerd で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • ✓ 合格

    エンドポイントが応答する

    107ミリ秒で応答(HTTP 401)

  • ✓ 合格

    OAuthでサインイン

    OAuthでのサインインに対応しているため、AIアプリがログイン画面へ案内してくれます

  • … 未チェック

    ツールの説明に隠れた指示がない

    まだチェックしていません。エンドポイントをチェックするときにツール一覧を読み取ります

その他のほかのサーバーとの比較i

  • このカテゴリのほかの32680件のうち0%よりスターが多い
  • このカテゴリのほかの32680件のうち89%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの32680件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Google Maps Directionsは安全ですか?

当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

作者のクラウドで動きます。インストール不要でインターネット経由でつながりますが、送った内容は作者のサーバーを通ります。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(1.0.0)がレジストリに届いたのは4 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URLでつながるので、リモートMCPサーバーに対応したアプリ(開発者モードのChatGPTなど)でも使えます。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, EmbeddedCI BenchPod

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

クラウドで動く★ 211一昨日更新
インストール

EmbeddedCI BenchPod

作者:embeddedci-com

Drive a BenchPod hardware-in-the-loop bench: power, flash, UART, I2C, CAN, analog and logic.

パソコンで動く今日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

🗺️ Google Maps Directions API: routes, ETA, and turn-by-turn steps as JSON

The most efficient, reliable, and developer-friendly way to use the Google Maps Directions API.

Actor page: apify.com/johnvc/google-maps-directions-api Input schema: apify.com/johnvc/google-maps-directions-api/input-schema

Call the Google Maps Directions API from Python or from any MCP client and get directions between an origin and a destination as clean, structured JSON: route options for driving, transit, walking, cycling, and flight, with distance, ETA, traffic-aware duration ranges, resolved place coordinates, turn-by-turn steps, and a direct Google Maps link. Provide addresses, GPS coordinates, or place IDs.

Video Walkthrough

Quick Start

Prerequisites
  1. Clone the repository
   git clone https://github.com/johnisanerd/Apify-Google-Maps-Directions-API.git

cd Apify-Google-Maps-Directions-API

  1. Install dependencies with UV
   # Install UV if you do not have it:

curl -LsSf https://astral.sh/uv/install.sh | sh

Install project dependencies:

uv sync

  1. Configure your API key
   cp .env.example .env

Edit .env and add your Apify API key

Get your free API key at: https://apify.com?fpr=9n7kx3

  1. Run the example
   uv run python google-maps-directions-api-example.py
Alternative: set the API key directly
export APIFY_API_TOKEN="your_api_key_here"

uv run python google-maps-directions-api-example.py

Explore every input

Once the basic run works, google-maps-directions-api-cookbook.py is a runnable catalog of every feature (all travel modes, coordinates and place-ID inputs, avoidance, units, localization, and transit time and routing). See the cookbook table under "Usage Examples" below.

Why Use This Google Maps Directions API?

Every travel mode in one call. Ask for the best options across modes, or pin a single mode: driving, transit, walking, cycling, flight, or two-wheeler. One request returns every route option Google offers for your origin and destination.

Turn-by-turn detail, structured. Each route option carries distance, duration, a traffic-aware typical duration range, a route summary, route notes (tolls, conditions), and trips broken down into individual turn-by-turn steps. Transit options include stops, lines, operators, and times.

Flexible inputs. Set your origin and destination as an address or place name, exact GPS coordinates, or a Google Maps place ID. Choose units, avoid tolls, highways, or ferries, tune transit routing, and set a departure or arrival time.

Predictable pricing. A single route lookup is one flat charge. No surprise per-step or per-byte billing.

Built for agents. The Actor is MCP-ready, so you can load it as a tool in Claude or Cursor and ask for directions in plain language (see the install sections below).

Features

Core Capabilities
  • Driving, transit, walking, cycling, flight, and two-wheeler routing
  • Distance, ETA, and traffic-aware duration ranges
  • Turn-by-turn steps per leg, with per-step distance and duration
  • Transit stops, lines, operators, and departure/arrival times
  • Resolved origin/destination addresses, place IDs, and GPS coordinates
  • A direct Google Maps link for each route
Data Quality
  • Clean, consistent JSON with one row per lookup
  • Real units, formatted and raw (meters/seconds plus human-readable strings)
  • Country and language targeting for localized place names and instructions

Usage Examples

Basic Example
{

"start_addr": "New York, NY", "end_addr": "Boston, MA" }

Advanced Example
{

"start_addr": "Brooklyn, NY", "end_addr": "Times Square, New York, NY", "travel_mode": "transit", "transit_routing": "less_walking", "time_type": "arrive_by", "time_value": "2026-06-01T09:00:00", "distance_unit": "miles", "hl": "en", "gl": "us" }

Run every input from Python (cookbook)

google-maps-directions-api-cookbook.py is a runnable catalog that exercises every input the API supports, with a clean printed summary per route. Run one example by name, or all:

uv run python google-maps-directions-api-cookbook.py            # runs 'basic'

uv run python google-maps-directions-api-cookbook.py walking uv run python google-maps-directions-api-cookbook.py all # runs every example (each is billed)

ExampleWhat it shows
basicBest routes across all modes (the default)
drivingDriving only, distances in miles
walkingWalking directions
cyclingCycling directions
two_wheelerTwo-wheeler (motorcycle/scooter; select regions like India)
transitPublic transit directions
transit_advancedTransit with arrive-by time, preferred mode, and less walking
flightFlight option for a long-haul route
coordinatesOrigin and destination as latitude,longitude
place_idsOrigin and destination as Google Maps place IDs
avoidAvoid tolls, highways, and ferries
depart_atFuture departure time (traffic-aware ETA)
localizedKilometers and French instructions

Input Parameters

Provide an origin (an address, coordinates, or a place ID) and a destination.

ParameterTypeRequiredDefaultDescription
start_addrstrone of origin-Origin address or place name.
end_addrstrone of dest-Destination address or place name.
start_coordsstrno-Origin as latitude,longitude. Overrides start_addr.
end_coordsstrno-Destination as latitude,longitude. Overrides end_addr.
start_data_idstrno-Origin Google Maps place ID. Overrides start_addr.
end_data_idstrno-Destination Google Maps place ID. Overrides end_addr.
travel_modestrnobestbest, driving, cycling, walking, transit, flight, two-wheeler.
distance_unitstrnoautoauto, km, or miles.
avoid_tollsboolnofalsePrefer routes without toll roads.
avoid_highwaysboolnofalsePrefer routes that avoid highways.
avoid_ferriesboolnofalsePrefer routes that avoid ferries.
transit_preferstrnononebus, subway, train, tram, or light_rail (transit only).
transit_routingstrnononefewer_transfers, less_walking, or wheelchair (transit only).
time_typestrnoleave_nowleave_now, depart_at, or arrive_by.
time_valuestrno-ISO 8601 datetime or Unix timestamp, used with depart_at / arrive_by.
hlstrnoenInterface language code (ISO 639-1).
glstrnousCountry code (ISO 3166-1).

Output Format

One row per run. Trimmed example for New York, NY to Boston, MA:

{

"result_type": "directions", "start": "New York, NY", "end": "Boston, MA", "travel_mode": "best", "directions_found": true, "directions_count": 3, "best_duration": "3 hr 38 min", "best_distance": "215 miles", "places_info": [ { "address": "New York", "data_id": "0x89c24fa5d33f083b:0xc80b8f06e177fe62", "gps_coordinates": { "latitude": 40.7127753, "longitude": -74.0059728 } }, { "address": "Boston, Massachusetts", "data_id": "0x89e3652d0d3d311b:0x787cbf240162e8a0", "gps_coordinates": { "latitude": 42.3555076, "longitude": -71.0565364 } } ], "directions": [ { "travel_mode": "Driving", "via": "CT-15 N and I-90 E", "distance": 346243, "duration": 13082, "formatted_distance": "215 miles", "formatted_duration": "3 hr 38 min", "typical_duration_range": "3 hr 21 min to 4 hr 10 min", "extensions": ["Fastest route now due to traffic conditions", "This route has tolls."], "trips": [ { "travel_mode": "Driving", "title": "Get on FDR Dr", "formatted_distance": "0.9 mi", "formatted_duration": "5 min", "details": [ { "title": "Head toward Park Row", "action": "straight", "formatted_distance": "200 ft", "formatted_duration": "21 sec" } ] } ] } ], "durations": [ { "travel_mode": "Driving", "formatted_duration": "3 hr 38 min" }, { "travel_mode": "Transit", "formatted_duration": "4 hr 25 min" }, { "travel_mode": "Flight", "formatted_duration": "1 hr 15 min" } ], "google_maps_directions_url": "https://www.google.com/maps/dir/...", "gl": "us", "hl": "en", "fetched_at": "2026-05-29T12:00:00+00:00" }


This Actor is MCP-server-compatible, so AI assistants can call the Google Maps Directions API as a tool through Apify's hosted MCP server.

The Actor's MCP server URL is always built with the actors and docs helper tools plus this one Actor:

https://mcp.apify.com/?tools=actors,docs,johnvc/google-maps-directions-api

The actors and docs tools let the assistant discover and read Apify docs, while preloading just this one Actor keeps the tool list small. Auth is either OAuth in the browser when offered, or your Apify API token (the same APIFY_API_TOKEN secret used by the Python example). Get a token at https://console.apify.com/settings/integrations and a free Apify account at https://apify.com?fpr=9n7kx3 .

Install in Claude Cowork Desktop

Cowork is the desktop app's automation mode. To give it the Google Maps Directions API as a tool, add the Apify MCP server as a connector.

  1. Open the Claude desktop app and go to Settings → Connectors (or Settings → Developer → Edit Config to edit claude_desktop_config.json directly).
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  1. Add the Apify MCP server, preloaded with only this Actor:
{

"mcpServers": { "apify": { "command": "npx", "args": [ "-y", "mcp-remote", "https://mcp.apify.com/?tools=actors,docs,johnvc/google-maps-directions-api" ] } } }

  1. Restart the app. When Cowork first calls the tool, complete the OAuth prompt in your browser, or add your Apify API token in the connector settings to skip OAuth.
  2. In a Cowork chat, confirm the tool is available and ask it to run the Google Maps Directions API.

Download the desktop app and start a free trial: https://claude.ai/referral/uIlpa7nPLg More help: https://docs.apify.com/platform/integrations/claude-desktop

Install in Claude Code

Claude Code is the command-line tool. Add the Actor's MCP server with one command:

claude mcp add --transport http apify \

"https://mcp.apify.com/?tools=actors,docs,johnvc/google-maps-directions-api"

To use a token instead of browser OAuth:

claude mcp add --transport http apify \

"https://mcp.apify.com/?tools=actors,docs,johnvc/google-maps-directions-api" \ --header "Authorization: Bearer YOUR_APIFY_TOKEN"

Then verify with claude mcp list, or run /mcp inside a session. Ask Claude Code to call the Google Maps Directions API.

Try Claude Code fr

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く