Skip to main content
Glama

TripAdvisor Vacation Planner MCP Server

by hhw67865

TripAdvisor 度假计划器 MCP 服务器

该 MCP 服务器提供对 TripAdvisor 数据的访问,用于规划假期、查找景点、餐厅和酒店。

特征

  • 按名称和类别搜索地点
  • 获取有关特定位置的详细信息
  • 查找附近的景点、餐厅和酒店
  • 查看照片和评论
  • 交互式假期计划提示

设置说明

先决条件

紫外线安装

  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. 打开 Claude 桌面
  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. 在 Claude 中开始新对话
  2. 只需使用“假期计划”提示即可
  3. 按照交互式提示来计划您的完美假期!

使用的 API 端点

  • 位置搜索:按名称和类别查找位置
  • 位置详情:获取有关位置的全面信息
  • 地点照片:查看某个地点的照片
  • 地点评论:阅读某个地点的评论
  • 附近搜索:查找特定点附近的位置

故障排除

  • 如果您看到 401 未授权错误,请检查您的 API 密钥是否正确,以及您的 IP 是否在 TripAdvisor 开发者门户中列入白名单
  • 对于 Claude Desktop 集成的问题,请验证您的配置设置并确保 server.py 的路径正确
  • 如果 Claude 无法完成,那么很有可能是您使用了太多的输入令牌。get_location_details_tool 通常是罪魁祸首。
-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

该 MCP 服务器提供对 TripAdvisor 数据的访问以用于规划假期,使用户能够通过交互式规划体验搜索并获取有关地点、景点、餐厅和酒店的详细信息。

  1. 特征
    1. 设置说明
      1. 先决条件
      2. 紫外线安装
      3. 运行服务器
      4. 设置 Claude Desktop
      5. 配置 Claude 桌面
      6. 使用假期计划器
    2. 使用的 API 端点
      1. 故障排除

        Related MCP Servers

        • -
          security
          F
          license
          -
          quality
          An MCP server that provides tools and resources for managing a coding project's todo list, allowing users to view, add, update, and delete todo items with details like priority, status, and tags.
          Last updated -
          1
          Python
        • A
          security
          F
          license
          A
          quality
          An MCP server implementation that enables interaction with the Unstructured API, providing tools to list, create, update, and manage sources, destinations, and workflows.
          Last updated -
          39
          28
          • Apple
        • A
          security
          A
          license
          A
          quality
          An MCP server that creates a virtual traveling environment on Google Maps, allowing users to guide an avatar on journeys with photo reports and SNS integration.
          Last updated -
          2
          20
          12
          TypeScript
          MIT License
          • Linux
          • Apple
        • -
          security
          F
          license
          -
          quality
          An MCP server that enables interaction with Datagouv APIs, primarily allowing users to search for up-to-date information about companies registered in France.
          Last updated -
          6
          TypeScript

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/hhw67865/tripadvisor-mcp-server'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server