viator-mcp

v2.2.0
io.github.chrischall/viator-mcp Checked 8 hours ago Published 27 days ago

Search Viator tours and activities — products, availability, attractions, destinations.

Values you need

VariableWhat it is
VIATOR_API_KEYrequired secret Viator Partner API key (exp-api-key) — free Basic Access affiliate signup at partnerresources.viator.com
VIATOR_API_BASE_URLoptional API host (default production; set https://api.sandbox.viator.com/partner for a sandbox key)
VIATOR_LANGUAGEoptional Accept-Language for response text, e.g. en-US, es, fr, de, ja (default en-US)
VIATOR_CACHE_TTLoptional Seconds to cache identical read responses (default 60; 0 disables)
VIATOR_STATIC_CACHE_TTLoptional 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.0
Add 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

  1. Ask the user for: VIATOR_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. 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, ….
  5. 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