
pab1it0/tripadvisor-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
pab1it0/tripadvisor-mcp는 MCP 서버 후보로 수입 https://github.com/pab1it0/tripadvisor-mcp.
개요
pab1it0/tripadvisor-mcp는 MCP 서버 후보로 수입 https://github.com/pab1it0/tripadvisor-mcp.
개요(AI 번역)
A 모델 Context Protocol (MCP) Tripadvisor Content API 서버.
이 Tripadvisor 위치 데이터, 리뷰 및 표준 MCP 인터페이스를 통해 사진에 액세스 할 수 있으며 여행 목적지 및 경험을 검색 할 AI 조수가 있습니다.
특징
-
[x] Tripadvisor에 위치 (호텔, 레스토랑, 관광 명소) 검색
-
[x] 자주 묻는 질문
-
[x] 위치 검색 및 사진
-
[x] 좌표를 기준으로 주변 위치를 검색
-
[x] API 키 인증
-
[x] Docker 컨테이너화 지원
-
[x] AI Assistant를 위한 대화형 도구 제공
도구 목록은 구성이 가능하므로 MCP 클라이언트에서 사용할 수있는 도구를 선택할 수 있습니다.
사용법
-
Tripadvisor Developer Portal에서 Tripadvisor Content API 키를 가져옵니다.
-
Tripadvisor Content API에 대한 환경 변수를 구성,
.env파일 또는 시스템 환경 변수를 통해: -
클라이언트 구성 파일에 서버 구성 추가. 예를 들어, Claude Desktop의 경우:
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
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.
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 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:
docker build -t tripadvisor-mcp-server .
Running with Docker
You can run the server using Docker in several ways:
Using docker run directly:
docker run -it --rm \
-e TRIPADVISOR_API_KEY=your_api_key_here \
tripadvisor-mcp-server
Using docker-compose:
Create a .env file with your Tripadvisor API key and then run:
docker-compose up
Running with Docker in Claude Desktop
To use the containerized server with Claude Desktop, update the configuration to use Docker with the environment variables:
{
"mcpServers": {
"tripadvisor": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e", "TRIPADVISOR_API_KEY",
"tripadvisor-mcp-server"
],
"env": {
"TRIPADVISOR_API_KEY": "your_api_key_here"
}
}
}
}
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
설치
docker run --rm -i -e TRIPADVISOR_API_KEY tripadvisor-mcp-server설정
{
"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"
}
}
}
}