TripAdvisor Vacation Planner MCP Server
TripAdvisor 度假计划器 MCP 服务器
该 MCP 服务器提供对 TripAdvisor 数据的访问,用于规划假期、查找景点、餐厅和酒店。
特征
按名称和类别搜索地点
获取有关特定位置的详细信息
查找附近的景点、餐厅和酒店
查看照片和评论
交互式假期计划提示
Related MCP server: travel-mcp-server
设置说明
先决条件
Python 3.10 或更高版本
uv - 快速 Python 软件包安装程序和解析器
TripAdvisor API 密钥(从TripAdvisor 开发者门户获取)
克劳德桌面
Google 地图 MCP 服务器( https://github.com/modelcontextprotocol/servers/tree/main/src/google-maps )
紫外线安装
克隆此存储库
创建并激活虚拟环境:
uv venv # On Windows .venv\Scripts\activate # On macOS/Linux source .venv/bin/activate安装所需的依赖项:
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 桌面
打开 Claude 桌面
前往“设置”>“MCP 服务器”
添加具有以下配置的新服务器:
{ "tripadvisor": { "command": "uv", "args": [ "run", "--with", "mcp[cli]", "mcp", "run", "PATH_TO_YOUR_PROJECT\\server.py" ], "env": { "TRIPADVISOR_API_KEY": "YOUR_API_KEY_HERE" } } }将
PATH_TO_YOUR_PROJECT替换为项目目录的绝对路径将
YOUR_API_KEY_HERE替换为您实际的 TripAdvisor API 密钥
使用假期计划器
在 Claude 中开始新对话
只需使用“假期计划”提示即可
按照交互式提示来计划您的完美假期!
使用的 API 端点
位置搜索:按名称和类别查找位置
位置详情:获取有关位置的全面信息
地点照片:查看某个地点的照片
地点评论:阅读某个地点的评论
附近搜索:查找特定点附近的位置
故障排除
如果您看到 401 未授权错误,请检查您的 API 密钥是否正确,以及您的 IP 是否在 TripAdvisor 开发者门户中列入白名单
对于 Claude Desktop 集成的问题,请验证您的配置设置并确保 server.py 的路径正确
如果 Claude 无法完成,那么很有可能是您使用了太多的输入令牌。get_location_details_tool 通常是罪魁祸首。
Available Tools
4 toolsget_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
Scored across 4 tools
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.
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.
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.
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
Related MCP Connectors
Official MCP server for MAQAMI, a hotel and flight booking platform with 3M+ hotels. Search live hotel rates and flights, look up places, airports and hotel details, then prebook and book. Remote Streamable HTTP endpoint, no API key required.
Skiplagged MCP Server for flight search, hotel booking, and travel planning
Hotel booking MCP server. Search, book, and manage reservations across 250K+ properties worldwide.
Greetwell curates authentic local experiences and provides personal concierge support in over 500 destinations, helping you explore confidently wherever you go. The Greetwell MCP server lets you search for activities by location, date, and interest, then drill into details like duration, meeting point, cancellation policy, and real-time availability. It can also recommend complementary experiences to help you build an itinerary of things to do.
Related MCP Servers
- AlicenseBqualityDmaintenanceMCP server that enables LLMs to interact with Tripadvisor API, supporting location data, reviews, and photos through standardized MCP interfaces564MIT
- FlicenseAqualityDmaintenanceAn AI-powered travel planner MCP server enabling flight and hotel search, weather forecasts, point-of-interest discovery, itinerary generation, and budget management.8-
- AlicenseNot gradedqualityDmaintenanceMCP server for Expedia travel recommendations. Enables LLMs to search hotels, flights, activities, and car rentals using natural language.25Apache 2.0
- AlicenseNot gradedqualityDmaintenanceCoordinates flights, hotels, events, weather, currency, and traffic data through a single MCP server, enabling comprehensive trip planning via natural language prompts.MIT
Appeared in Searches
- A server for finding tourism information and travel destinations
- AI-powered travel planning and booking assistant
- A server for finding hotels and attractions with detailed descriptions and images
- A server for finding food reviews and restaurant recommendations on Dianping
- A service for finding points of interest near a specific address