io.github.chrischall/viator-mcp

Registre officiel Recherche et web

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

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

NPM package @chrischall/viator-mcp
Claude Code
claude mcp add viator-mcp -e 'VIATOR_API_KEY=<your viator_api_key>' -e 'VIATOR_API_BASE_URL=<VIATOR_API_BASE_URL>' -e 'VIATOR_LANGUAGE=<VIATOR_LANGUAGE>' -e 'VIATOR_CACHE_TTL=<VIATOR_CACHE_TTL>' -e 'VIATOR_STATIC_CACHE_TTL=<VIATOR_STATIC_CACHE_TTL>' -- npx -y @chrischall/viator-mcp@2.1.10
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "viator-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@chrischall/viator-mcp@2.1.10"
            ],
            "env": {
                "VIATOR_API_KEY": "<your viator_api_key>",
                "VIATOR_API_BASE_URL": "<VIATOR_API_BASE_URL>",
                "VIATOR_LANGUAGE": "<VIATOR_LANGUAGE>",
                "VIATOR_CACHE_TTL": "<VIATOR_CACHE_TTL>",
                "VIATOR_STATIC_CACHE_TTL": "<VIATOR_STATIC_CACHE_TTL>"
            }
        }
    }
}

Variables d'environnement

  • VIATOR_API_KEY obligatoire secret Viator Partner API key (exp-api-key) — free Basic Access affiliate signup at partnerresources.viator.com
  • VIATOR_API_BASE_URL API host (default production; set https://api.sandbox.viator.com/partner for a sandbox key)
  • VIATOR_LANGUAGE Accept-Language for response text, e.g. en-US, es, fr, de, ja (default en-US)
  • VIATOR_CACHE_TTL Seconds to cache identical read responses (default 60; 0 disables)
  • VIATOR_STATIC_CACHE_TTL Seconds to cache reference data — destinations, tags, locations, rates (default 3600; 0 disables)

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. viator-mcp
  2. Quick start
  3. Tools
  4. Environment
  5. Development
  6. License

viator-mcp

MCP server for the Viator Partner API (v2) — search tours, activities and experiences for Claude. Search the catalog with structured filters or free text, get product details and availability schedules, browse attractions and destinations, all over stdio.

Developed and maintained by AI (Claude Code). Use at your own discretion.

Quick start

{
  "mcpServers": {
    "viator": {
      "command": "npx",
      "args": ["-y", "@chrischall/viator-mcp"],
      "env": { "VIATOR_API_KEY": "your-viator-partner-api-key" }
    }
  }
}

Get a key by signing up as a Viator affiliate at partnerresources.viator.com — the Basic Access tier is free. This server targets that tier: read-only search/content/availability; no booking endpoints (product results carry a productUrl for booking on viator.com, tagged with your affiliate id).

Tools

AreaTools
Productsvt_search_products, vt_get_product, vt_list_product_tags
Searchvt_search_freetext
Attractionsvt_search_attractions, vt_get_attraction
Availabilityvt_get_availability_schedule
Referencevt_list_destinations, vt_get_locations, vt_get_exchange_rates
Healthvt_healthcheck — is this connector working? Reports whether VIATOR_API_KEY resolved, whether Viator accepted it, and what to fix. Start here when another tool fails: an empty result can mean "no products" or "never authenticated".

All tools are read-only. vt_search_products and vt_search_freetext accept compact: true for slim summaries (code, title, price, rating, booking URL) instead of full records.

Environment

VariableRequiredDescription
VIATOR_API_KEYyesViator Partner API key (sent as exp-api-key)
VIATOR_API_BASE_URLnoAPI host (default production; set https://api.sandbox.viator.com/partner for a sandbox key)
VIATOR_LANGUAGEnoAccept-Language for response text (default en-US)
VIATOR_CACHE_TTLnoSeconds to cache identical reads (default 60; 0 disables)
VIATOR_STATIC_CACHE_TTLnoSeconds to cache reference data — destinations, tags, locations, exchange rates (default 3600)

Viator rate-limits per endpoint on a rolling 10-second window and answers 429/503 with Retry-After; the client honors it (one retry) and the response cache absorbs repeated identical calls.

Development

npm install
npm test          # vitest; no real network calls
npm run build     # tsc + esbuild bundle

The API surface this server is coded against is pinned in docs/VIATOR-API.md.

License

MIT

Questions fréquentes

Qu'est-ce que io.github.chrischall/viator-mcp ?

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

Comment installer io.github.chrischall/viator-mcp ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add viator-mcp -e 'VIATOR_API_KEY=<your viator_api_key>' -e 'VIATOR_API_BASE_URL=<VIATOR_API_BASE_URL>' -e 'VIATOR_LANGUAGE=<VIATOR_LANGUAGE>' -e 'VIATOR_CACHE_TTL=<VIATOR_CACHE_TTL>' -e 'VIATOR_STATIC_CACHE_TTL=<VIATOR_STATIC_CACHE_TTL>' -- npx -y @chrischall/viator-mcp@2.1.10. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour io.github.chrischall/viator-mcp ?

Oui. Il attend VIATOR_API_KEY, à renseigner dans sa configuration.

io.github.chrischall/viator-mcp est-il open source ?

Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.

Qui maintient io.github.chrischall/viator-mcp ?

Il est publié par chrischall. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.