TripadvisorSAFE
A Model Context Protocol (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.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
A [Model Context Protocol][mcp] (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.
[mcp]: https://modelcontextprotocol.io
Features
- [x] Search for locations (hotels, restaurants, attractions) on Tripadvisor
- [x] Get detailed information about specific locations
- [x] Retrieve reviews and photos for locations
- [x] Search for nearby locations based on coordinates
- [x] API Key authentication
- [x] Docker containerization support
- [x] 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.
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:
# Required: Tripadvisor Content API configuration TRIPADVISOR_API_KEY=your_api_key_here
- Add the server configuration to your client configuration file. For example, for Claude Desktop:
{
"mcpServers": {
"tripadvisor": {
"command": "uv",
"args": [
"--directory",
"",
"run",
"src/tripadvisor_mcp/main.py"
],
"env": {
"TRIPADVISOR_API_KEY": "your_api_key_here"
}
}
}
}Note: if you seeError: 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:
docker build -t tripadvisor-mcp-server .
Running with Docker
You can ru
5c5879aededcOBSERVED · 2026-10-08Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add tripadvisor_mcp --env TRIPADVISOR_API_KEY=${TRIPADVISOR_API_KEY} -- uvx tripadvisor_mcp{
"mcpServers": {
"tripadvisor_mcp": {
"command": "uvx",
"args": [
"tripadvisor_mcp"
],
"env": {
"TRIPADVISOR_API_KEY": "${TRIPADVISOR_API_KEY}"
}
}
}
}Exposed tools (4)
4 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
get_location_details | read | |
get_location_photos | read | |
get_location_reviews | read | |
search_nearby_locations | read |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | WARN |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (1 observation(s))
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (3)
print(f" API Key: {'*' * (len(config.api_key) - 8) + config.api_key[-8:] if config.api_key else 'Not set'}").env.template
curl -LsSf https://astral.sh/uv/install.sh | sh
Gates applied: no_behavioural_pass.
5c5879aededcfull audit observations/trust-audit/mcp-server/pab1it0__tripadvisor.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | 5c5879aededc | SAFE | B | 89 | first audit |
Questions
What is the Tripadvisor MCP server?
A Model Context Protocol (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.
What tools does Tripadvisor expose?
4 in total: 4 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Tripadvisor safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Tripadvisor need?
It reads TRIPADVISOR_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Tripadvisor run?
It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as tripadvisor_mcp.
How current is this page?
The grade is for one exact copy of the source (5c5879aededc), read on 2026-10-08. The repository is watched and re-audited when it changes.