Search for locations by query text, category, and other filters
Find locations near specific coordinates
Get detailed information about a location
Retrieve reviews for a location
Get photos for a location
The Tripadvisor MCP provides AI assistants with access to Tripadvisor's Content API through standardized Model Context Protocol interfaces. This integration enables searching for travel destinations, hotels, restaurants, and attractions, along with retrieving detailed information, reviews, and photos. With this MCP, AI assistants can help users plan trips, find highly-rated accommodations, discover popular attractions, and make informed travel decisions based on authentic Tripadvisor content. The server supports location-based searches, allowing users to find points of interest near specific coordinates.
To use the Tripadvisor MCP, you'll need to obtain an API key from the Tripadvisor Developer Portal.
There are two main ways to install and run the Tripadvisor MCP:
git clone https://github.com/pab1it0/tripadvisor-mcp.git
cd tripadvisor-mcp
.env
file in the project directory with your API key:TRIPADVISOR_API_KEY=your_api_key_here
uv
:curl -LsSf https://astral.sh/uv/install.sh | sh
uv venv
source .venv/bin/activate # On Unix/macOS
.venv\Scripts\activate # On Windows
uv pip install -e .
docker build -t tripadvisor-mcp-server .
docker run -it --rm -e TRIPADVISOR_API_KEY=your_api_key_here tripadvisor-mcp-server
To configure your AI assistant client (like Claude Desktop), add the following to your client configuration file:
For direct installation:
{
"mcpServers": {
"tripadvisor": {
"command": "uv",
"args": [
"--directory",
"/path/to/tripadvisor-mcp",
"run",
"src/tripadvisor_mcp/main.py"
],
"env": {
"TRIPADVISOR_API_KEY": "your_api_key_here"
}
}
}
}
For Docker installation:
{
"mcpServers": {
"tripadvisor": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e", "TRIPADVISOR_API_KEY",
"tripadvisor-mcp-server"
],
"env": {
"TRIPADVISOR_API_KEY": "your_api_key_here"
}
}
}
}
Error: spawn uv ENOENT
in Claude Desktop, you may need to specify the full path to the uv
executable or set the environment variable NO_UV=1
in the configuration.Once configured, you can use the Tripadvisor MCP to:
The MCP provides a standardized interface for AI assistants to access this information and help users with travel planning.