
pab1it0/tripadvisor-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
pab1it0/tripadvisor-mcp は [https://github.com/pab1it0/tripadvisor-mcp.] からインポートされた MCP サーバー候補です
概要
pab1it0/tripadvisor-mcp は [https://github.com/pab1it0/tripadvisor-mcp.] からインポートされた MCP サーバー候補です
概要(AI 翻訳)
モデルコンテキストプロトコル (MCP) サーバ(Tripadvisor コンテンツ API)
これは、標準化されたMCPインターフェイスを介してトリップアドバイザーの位置データ、レビュー、および写真へのアクセスを提供し、AIアシスタントは旅行先や経験を検索することができます。
##特徴
-
[x] トリップアドバイザーのロケーション(ホテル、レストラン、アトラクション)を検索
-
[x] 特定の場所に関する詳細情報を入手
-
[x]レビューや写真を投稿する
-
[x] 座標に基づいて近くの場所を検索
-
[x] API キー認証
-
[x] Dockerコンテナ化サポート
-
[x] AIアシスタントのためのインタラクティブツールを提供
ツールのリストは設定可能ですので、MCP クライアントに利用可能なツールを選択できます。
使用法
1。 Tripadvisor Developer PortalからTripadvisorコンテンツAPIキーを取得します。
-
[[
.env]ファイルまたはシステム環境変数を介して、Tripadvisor コンテンツ API の環境変数を設定します。 -
クライアント設定ファイルにサーバー設定を追加します。 例えば、Claude デスクトップの場合:
このページは 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"
}
}
}
}