Tripadvisor MCP Server
An MCP server that provides access to Tripadvisor location, review, and photo data through standardized MCP interfaces, enabling AI assistants to search for travel destinations and experiences.
Get this MCP server
An MCP server that provides access to Tripadvisor location, review, and photo data through standardized MCP interfaces, enabling AI assistants to search for travel destinations and experiences.
Installation
UV Package Manager
uv venv
source .venv/bin/activate # On Unix/macOS
.venv\Scripts\activate # On Windows
uv pip install -e .
Docker Build
docker build -t tripadvisor-mcp-server .
Docker Run
docker run -it --rm \
-e TRIPADVISOR_API_KEY=your_api_key_here \
tripadvisor-mcp-server
Docker Compose
docker-compose up
Configuration
Claude Desktop - UV
{
"mcpServers": {
"tripadvisor": {
"command": "uv",
"args": [
"--directory",
"<full path to tripadvisor-mcp directory>",
"run",
"src/tripadvisor_mcp/main.py"
],
"env": {
"TRIPADVISOR_API_KEY": "your_api_key_here"
}
}
}
}
Claude Desktop - Docker
{
"mcpServers": {
"tripadvisor": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e", "TRIPADVISOR_API_KEY",
"tripadvisor-mcp-server"
],
"env": {
"TRIPADVISOR_API_KEY": "your_api_key_here"
}
}
}
}
Available Tools
| Tool | Description |
|---|---|
search_locations |
Search locations by text query, category, and other filters |
search_nearby_locations |
Search locations near specific coordinates |
get_location_details |
Get detailed information about a location |
get_location_reviews |
Get reviews for a location |
get_location_photos |
Get photos of a location |
Features
- Search locations (hotels, restaurants, attractions) on Tripadvisor
- Get detailed information about specific locations
- Get reviews and photos of locations
- Search nearby locations based on coordinates
- Authentication via API Key
- Docker containerization support
- Provide interactive tools for AI assistants
- Customizable tool list
Environment Variables
Required
TRIPADVISOR_API_KEY- Required API key for accessing Tripadvisor Content API
Notes
Requires a Tripadvisor Content API key from the Tripadvisor Developer Portal. If you see an 'Error: spawn uv ENOENT' error in Claude Desktop, specify the full path to uv or set the environment variable NO_UV=1.