TripAdvisor Vacation Planner MCP Server
This MCP server provides access to TripAdvisor data for planning vacations, enabling users to search for and get details about locations, attractions, restaurants, and hotels through an interactive planning experience.
hhw67865
README
TripAdvisor Vacation Planner MCP Server
This MCP server provides access to TripAdvisor data for planning vacations, finding attractions, restaurants, and hotels.
Features
- Search for locations by name and category
- Get detailed information about specific locations
- Find nearby attractions, restaurants, and hotels
- View photos and reviews
- Interactive vacation planning prompt
Setup Instructions
Prerequisites
- Python 3.10 or higher
- uv - Fast Python package installer and resolver
- TripAdvisor API key (get one from TripAdvisor Developer Portal)
- Claude Desktop
- Google Maps MCP Server (https://github.com/modelcontextprotocol/servers/tree/main/src/google-maps)
Installation with uv
- Clone this repository
- Create and activate a virtual environment:
uv venv # On Windows .venv\Scripts\activate # On macOS/Linux source .venv/bin/activate - Install the required dependencies:
uv add "mcp[cli]"
Running the Server
You can run the server directly with:
# 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
Setting up for Claude Desktop
Set up the MCP Server with:
mcp install server.py
Configuring Claude Desktop
- Open Claude Desktop
- Go to Settings > MCP Servers
- Add a new server with the following configuration:
{ "tripadvisor": { "command": "uv", "args": [ "run", "--with", "mcp[cli]", "mcp", "run", "PATH_TO_YOUR_PROJECT\\server.py" ], "env": { "TRIPADVISOR_API_KEY": "YOUR_API_KEY_HERE" } } } - Replace
PATH_TO_YOUR_PROJECTwith the absolute path to your project directory - Replace
YOUR_API_KEY_HEREwith your actual TripAdvisor API key
Using the Vacation Planner
- Start a new conversation in Claude
- Just prompt anything with "Vacation Planner" prompt
- Follow the interactive prompts to plan your perfect vacation!
API Endpoints Used
- Location Search: Find locations by name and category
- Location Details: Get comprehensive information about a location
- Location Photos: View photos of a location
- Location Reviews: Read reviews of a location
- Nearby Search: Find locations near a specific point
Troubleshooting
- If you see 401 Unauthorized errors, check that your API key is correct and that your IP is whitelisted in the TripAdvisor Developer Portal
- For issues with Claude Desktop integration, verify your configuration settings and ensure the path to server.py is correct
- If Claude is failing to complete, then there is a high chance that you are using too many input tokens. get_location_details_tool is usually the culprit.
Recommended Servers
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
MCP PubMed Search
Server to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.
dbt Semantic Layer MCP Server
A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
Tavily MCP Server
Provides AI-powered web search capabilities using Tavily's search API, enabling LLMs to perform sophisticated web searches, get direct answers to questions, and search recent news articles.
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.
Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.
mcp-shodan
MCP server for querying the Shodan API and Shodan CVEDB. This server provides tools for IP lookups, device searches, DNS lookups, vulnerability queries, CPE lookups, and more.
mcp-pinterest
A Pinterest Model Context Protocol (MCP) server for image search and information retrieval
The Verge News MCP Server
Provides tools to fetch and search news from The Verge's RSS feed, allowing users to get today's news, retrieve random articles from the past week, and search for specific keywords in recent Verge content.