Travel Planner MCP Server

by GongRzhe
Verified

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Integrations

  • Provides integration with Google Maps APIs including Places API, Directions API, Geocoding API, and Time Zone API for location search, route calculation, and travel planning

旅行プランナー MCP サーバー (@gongrzhe/server-travelplanner-mcp)

Googleマップや旅行計画サービスと連携するためのトラベルプランナーモデルコンテキストプロトコル(MCP)サーバー実装。このサーバーにより、LLMは位置情報の検索、場所の詳細情報の参照、移動時間の計算といった旅行関連タスクを実行できます。

インストールと使用方法

Smithery経由でインストール

Smithery経由で Claude Desktop 用の Travel Planner を自動的にインストールするには:

npx -y @smithery/cli install @GongRzhe/TRAVEL-PLANNER-MCP-Server --client claude

手動でインストールする

# Using npx (recommended) npx @gongrzhe/server-travelplanner-mcp # With environment variable for Google Maps API GOOGLE_MAPS_API_KEY=your_api_key npx @gongrzhe/server-travelplanner-mcp

またはグローバルにインストールします:

# Install globally npm install -g @gongrzhe/server-travelplanner-mcp # Run after global installation GOOGLE_MAPS_API_KEY=your_api_key @gongrzhe/server-travelplanner-mcp

コンポーネント

ツール

  • 検索場所
    • Google Places API を使用して場所を検索する
    • 入力:
      • query (文字列): 場所の検索クエリ
      • location (オプション):結果を偏らせるための緯度と経度
      • radius (オプション): 検索半径(メートル)
  • 場所の詳細を取得する
    • 特定の場所の詳細情報を取得する
    • 入力:
      • placeId (文字列): 詳細を取得するGoogleプレイスID
  • ルートを計算する
    • 2つの場所間のルートを計算する
    • 入力:
      • origin (文字列): 開始位置
      • destination (文字列):終了場所
      • mode (オプション):移動手段(運転、徒歩、自転車、公共交通機関)
  • タイムゾーンを取得する
    • 場所のタイムゾーン情報を取得する
    • 入力:
      • location : 緯度と経度の座標
      • timestamp (オプション): タイムゾーン計算用のタイムスタンプ

構成

Claude Desktopでの使用

このサーバーを Claude Desktop アプリで使用するには、 claude_desktop_config.jsonの「mcpServers」セクションに次の構成を追加します。

{ "mcpServers": { "travel-planner": { "command": "npx", "args": ["@gongrzhe/server-travelplanner-mcp"], "env": { "GOOGLE_MAPS_API_KEY": "your_google_maps_api_key" } } } }

あるいは、パッケージがインストールされている場合は、node コマンドを直接使用することもできます。

{ "mcpServers": { "travel-planner": { "command": "node", "args": ["path/to/dist/index.js"], "env": { "GOOGLE_MAPS_API_KEY": "your_google_maps_api_key" } } } }

発達

ソースから構築

  1. リポジトリをクローンする
  2. 依存関係をインストールします:
    npm install
  3. プロジェクトをビルドします。
    npm run build

環境変数

  • GOOGLE_MAPS_API_KEY (必須): 次の API が有効になっている Google Maps API キー:
    • プレイスAPI
    • ルート案内API
    • ジオコーディングAPI
    • タイムゾーンAPI

ライセンス

このMCPサーバーはMITライセンスに基づいてライセンスされています。詳細については、プロジェクトリポジトリのLICENSEファイルをご覧ください。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

LLM が Google マップや旅行計画サービスと連携して、場所の検索、場所の詳細、移動時間の計算などの旅行関連のタスクを実行できるようにします。

  1. Installation & Usage
    1. Installing via Smithery
    2. Installing Manually
  2. Components
    1. Tools
  3. Configuration
    1. Usage with Claude Desktop
  4. Development
    1. Building from Source
    2. Environment Variables
  5. License
    ID: y3u6yjiiq1