Skip to main content
Glama
Travel Planner MCP Server

Travel Planner MCP Server

by GongRzhe

旅行プランナー 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

Related MCP server: Google Maps MCP Server

コンポーネント

ツール

  • 検索場所

    • 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ファイルをご覧ください。

Available Tools

5 tools
create_itineraryC

Creates a personalized travel itinerary based on user preferences

Inputs: destination (required), endDate (required), origin (required), startDate (required), +2 more.

get_accommodationsC

Searches for accommodation options in a specified location

Inputs: checkIn (required), checkOut (required), location (required), budget.

get_transport_optionsB

Retrieves available transportation options between two points

Inputs: date (required), destination (required), origin (required).

optimize_itineraryC

Optimizes an existing itinerary based on specified criteria

Inputs: itineraryId (required), optimizationCriteria (required).

search_attractionsC

Searches for attractions and points of interest in a specified location

Inputs: location (required), categories, radius.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: itinerary creation, accommodation search, transport options retrieval, itinerary optimization, and attraction search. There is no overlap in functionality, making it easy for an agent to select the right tool.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern (e.g., create_itinerary, get_accommodations, optimize_itinerary). This uniformity enhances readability and predictability for agents.

    Tool Count5/5

    With 5 tools, the server is well-scoped for travel planning, covering key aspects like itinerary management, accommodations, transport, and attractions. Each tool serves a distinct and necessary function.

    Completeness4/5

    The toolset covers core travel planning operations, but minor gaps exist, such as updating or deleting itineraries and booking accommodations or transport. However, agents can likely work around these with the provided tools.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers