viator-mcp
v2.2.0Search Viator tours and activities — products, availability, attractions, destinations.
Values you need
| Variable | What it is | |
|---|---|---|
VIATOR_API_KEY | required secret | Viator Partner API key (exp-api-key) — free Basic Access affiliate signup at partnerresources.viator.com |
VIATOR_API_BASE_URL | optional | API host (default production; set https://api.sandbox.viator.com/partner for a sandbox key) |
VIATOR_LANGUAGE | optional | Accept-Language for response text, e.g. en-US, es, fr, de, ja (default en-US) |
VIATOR_CACHE_TTL | optional | Seconds to cache identical read responses (default 60; 0 disables) |
VIATOR_STATIC_CACHE_TTL | optional | Seconds to cache reference data — destinations, tags, locations, rates (default 3600; 0 disables) |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add viator-mcp -e 'VIATOR_API_KEY=<VIATOR_API_KEY>' -- npx -y @chrischall/viator-mcp@2.2.0Add to
claude_desktop_config.json{
"mcpServers": {
"viator-mcp": {
"args": [
"-y",
"@chrischall/viator-mcp@2.2.0"
],
"command": "npx",
"env": {
"VIATOR_API_KEY": "<VIATOR_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"viator-mcp": {
"args": [
"-y",
"@chrischall/viator-mcp@2.2.0"
],
"command": "npx",
"env": {
"VIATOR_API_KEY": "<VIATOR_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "VIATOR_API_KEY",
"id": "viator-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"viator-mcp": {
"args": [
"-y",
"@chrischall/viator-mcp@2.2.0"
],
"command": "npx",
"env": {
"VIATOR_API_KEY": "${input:viator-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.viator-mcp]
command = "npx"
args = ["-y", "@chrischall/viator-mcp@2.2.0"]
env = { "VIATOR_API_KEY" = "<VIATOR_API_KEY>" }For AI agents
- Ask the user for: VIATOR_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: vt_search_products, vt_get_product, vt_list_product_tags, vt_search_attractions, vt_get_attraction, vt_get_availability_schedule, vt_search_freetext, vt_list_destinations, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json