Skip to main content
Glama
TripAdvisor Vacation Planner MCP Server

TripAdvisor Vacation Planner MCP Server

by hhw67865

TripAdvisor バケーションプランナー MCP サーバー

この MCP サーバーは、休暇の計画、観光スポット、レストラン、ホテルの検索のために TripAdvisor データへのアクセスを提供します。

特徴

  • 名前とカテゴリで場所を検索する

  • 特定の場所に関する詳細情報を取得する

  • 近くの観光スポット、レストラン、ホテルを探す

  • 写真とレビューを見る

  • インタラクティブな休暇計画プロンプト

Related MCP server: travel-mcp-server

セットアップ手順

前提条件

UVによる設置

  1. このリポジトリをクローンする

  2. 仮想環境を作成してアクティブ化します。

    uv venv
    # On Windows
    .venv\Scripts\activate
    # On macOS/Linux
    source .venv/bin/activate
  3. 必要な依存関係をインストールします。

    uv add "mcp[cli]"

サーバーの実行

次のコマンドでサーバーを直接実行できます。

# Set your API key as an environment variable
export TRIPADVISOR_API_KEY=your_api_key_here  # Linux/macOS
set TRIPADVISOR_API_KEY=your_api_key_here     # Windows Command Prompt
$env:TRIPADVISOR_API_KEY="your_api_key_here"  # Windows PowerShell

# Run the server
mcp run server.py

Claude Desktop の設定

MCP サーバーを次のようにセットアップします。

mcp install server.py

Claudeデスクトップの設定

  1. クロードデスクトップを開く

  2. 設定 > MCPサーバーへ移動

  3. 次の構成で新しいサーバーを追加します。

    {
      "tripadvisor": {
        "command": "uv",
        "args": [
          "run",
          "--with",
          "mcp[cli]",
          "mcp",
          "run",
          "PATH_TO_YOUR_PROJECT\\server.py"
        ],
        "env": {
          "TRIPADVISOR_API_KEY": "YOUR_API_KEY_HERE"
        }
      }
    }
  4. PATH_TO_YOUR_PROJECTプロジェクトディレクトリへの絶対パスに置き換えます。

  5. YOUR_API_KEY_HERE実際のTripAdvisor APIキーに置き換えてください。

バケーションプランナーの使用

  1. クロードで新しい会話を始める

  2. 「バケーションプランナー」プロンプトで何でもプロンプトする

  3. インタラクティブなプロンプトに従って、完璧な休暇を計画しましょう。

使用されるAPIエンドポイント

  • 場所検索: 名前とカテゴリで場所を検索

  • 場所の詳細: 場所に関する包括的な情報を取得します

  • 場所の写真: 場所の写真を表示

  • 場所のレビュー:場所のレビューを読む

  • 周辺検索: 特定の地点の近くの場所を検索

トラブルシューティング

  • 401 Unauthorized エラーが表示された場合は、API キーが正しいこと、および IP が TripAdvisor 開発者ポータルでホワイトリストに登録されていることを確認してください。

  • Claude Desktop の統合に関する問題については、構成設定を確認し、server.py へのパスが正しいことを確認してください。

  • Claude が完了しない場合は、入力トークンが多すぎる可能性が高くなります。通常、get_location_details_tool が原因です。

Available Tools

4 tools
get_location_details_toolB
Get essential details about a location by ID for trip planning

Args:
    location_id: TripAdvisor location ID

Inputs: location_id (required).

get_nearby_locationsB
Find locations near a specific latitude and longitude

Args:
    latitude: Latitude coordinate
    longitude: Longitude coordinate
    category: Optional category filter (e.g., "hotels", "restaurants", "attractions")

Inputs: latitude (required), longitude (required), category.

plan_vacationB
Initiates the vacation planning process using the structured prompt.
This should be used whenever a user wants to plan a trip or vacation.

Returns:
    A message confirming the vacation planning process has started

Inputs: no named parameters.

search_locationsB
Search for locations on TripAdvisor

Args:
    query: Search term (e.g., "hotels in Paris")
    category: Optional category filter (e.g., "hotels", "restaurants", "attractions")

Inputs: query (required), category.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 4 tools

    Disambiguation4/5

    The tools have mostly distinct purposes: get_location_details_tool retrieves specific location info, get_nearby_locations finds nearby places, search_locations searches by query, and plan_vacation initiates trip planning. However, get_nearby_locations and search_locations could potentially overlap if a user searches for 'hotels near me' versus using coordinates, but their descriptions clarify the distinction.

    Naming Consistency3/5

    The naming is mixed: get_location_details_tool, get_nearby_locations, and search_locations follow a verb_noun pattern, but plan_vacation uses a verb_noun without 'get' or 'search', and get_location_details_tool includes '_tool' suffix inconsistently. This creates a readable but not fully consistent convention across all tools.

    Tool Count3/5

    With 4 tools, the count is borderline for a vacation planner server. It covers basic functions like searching and planning, but feels thin for a comprehensive trip planning domain, potentially lacking tools for booking, reviews, or itinerary management, which might limit agent effectiveness.

    Completeness2/5

    The tool surface has significant gaps for a vacation planner. It includes search and planning initiation but lacks CRUD operations for itineraries, booking tools, review access, or update/delete functions for planned trips. This incompleteness will likely cause agent failures in handling full vacation planning workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      MCP server that enables LLMs to interact with Tripadvisor API, supporting location data, reviews, and photos through standardized MCP interfaces
      5
      64
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Coordinates flights, hotels, events, weather, currency, and traffic data through a single MCP server, enabling comprehensive trip planning via natural language prompts.
      MIT