Supports containerized deployment with Docker for isolation and easy setup, including configuration options for running the MCP server within Docker containers.
Provides access to Tripadvisor's Content API, enabling search for travel destinations, hotels, restaurants, and attractions, as well as retrieving detailed location information, reviews, photos, and nearby points of interest.
Tripadvisor MCP Server
A (MCP) server for Tripadvisor Content API.
This provides access to Tripadvisor location data, reviews, and photos through standardized MCP interfaces, allowing AI assistants to search for travel destinations and experiences.
Features
Search for locations (hotels, restaurants, attractions) on Tripadvisor
Get detailed information about specific locations
Retrieve reviews and photos for locations
Search for nearby locations based on coordinates
API Key authentication
Docker containerization support
Provide interactive tools for AI assistants
The list of tools is configurable, so you can choose which tools you want to make available to the MCP client.
Related MCP server: mcp-llm
Usage
Get your Tripadvisor Content API key from the Tripadvisor Developer Portal.
Configure the environment variables for your Tripadvisor Content API, either through a
.envfile or system environment variables:
Add the server configuration to your client configuration file. For example, for Claude Desktop:
Note: if you see
Error: spawn uv ENOENTin Claude Desktop, you may need to specify the full path touvor set the environment variableNO_UV=1in the configuration.
Docker Usage
This project includes Docker support for easy deployment and isolation.
Building the Docker Image
Build the Docker image using:
Running with Docker
You can run the server using Docker in several ways:
Using docker run directly:
Using docker-compose:
Create a .env file with your Tripadvisor API key and then run:
Running with Docker in Claude Desktop
To use the containerized server with Claude Desktop, update the configuration to use Docker with the environment variables:
This configuration passes the environment variables from Claude Desktop to the Docker container by using the -e flag with just the variable name, and providing the actual values in the env object.
Development
Contributions are welcome! Please open an issue or submit a pull request if you have any suggestions or improvements.
This project uses uv to manage dependencies. Install uv following the instructions for your platform:
You can then create a virtual environment and install the dependencies with:
Project Structure
The project has been organized with a src directory structure:
Testing
The project includes a test suite that ensures functionality and helps prevent regressions.
Run the tests with pytest:
Tools
Tool | Category | Description |
| Search | Search for locations by query text, category, and other filters |
| Search | Find locations near specific coordinates |
| Retrieval | Get detailed information about a location |
| Retrieval | Retrieve reviews for a location |
| Retrieval | Get photos for a location |
License
MIT