TripAdvisor 度假计划器 MCP 服务器
该 MCP 服务器提供对 TripAdvisor 数据的访问,用于规划假期、查找景点、餐厅和酒店。
特征
按名称和类别搜索地点
获取有关特定位置的详细信息
查���附近的景点、餐厅和酒店
查看照片和评论
交互式假期计划提示
设置说明
先决条件
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]"
运行服务器
您可以使用以下方式直接运行服务器:
设置 Claude Desktop
使用以下命令设置 MCP 服务器:
配置 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 通常是罪魁祸首。
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 数据的访问以用于规划假期,使用户能够通过交互式规划体验搜索并获取有关地点、景点、餐厅和酒店的详细信息。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityThis MCP server aids users in searching and analyzing their photo library by location, labels, and people, offering functionalities like photo analysis and fuzzy matching for enhanced photo management.Last updated -21MIT License
- AsecurityAlicenseAqualityAn 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 -814523MIT License
- -securityAlicense-qualityMCP server that enables LLMs to interact with Tripadvisor API, supporting location data, reviews, and photos through standardized MCP interfacesLast updated -48MIT License
- -securityAlicense-qualityThis MCP server allows an AI assistants to search for flight information online using Google Flights. It can find flights for specific dates or search through a range of dates to find all options or just the cheapest ones available.Last updated -15MIT License
Appeared in Searches
- 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
- A planner for grouping travel activities by location and creating daily itineraries
- A service for translating text or language