Tripadvisor Mcp

io.github.chrischallPublished by GitHub account chrischallv1.2.0Updated Nov 5, 2026

TripAdvisor location search, details, photos, and reviews via the Terra API

Overview

AI-generated overview

TripAdvisor travel data for an assistant: search hotels, restaurants and attractions, then pull details, photos and reviews via the Terra API.

What you can do
  • Search locations by name, with optional category, country or postal-code scoping
  • Find places near a latitude/longitude, a reference location or a bounding box
  • Fetch full details for one location or batch several ids in a single call
  • Retrieve photos and traveler reviews, paginated
  • Diagnose the optional browser bridge and read a location's public page without an API key
When to use it
Useful when you want an assistant to research trips, compare hotels, restaurants or attractions, or pull ratings, addresses and reviews while planning travel. All tools are read-only, so it suits lookups rather than booking or editing anything.
Requirements
Runs locally over stdio via npx (Node.js). The Terra tools need a TripAdvisor Terra API key in TRIPADVISOR_API_KEY, sent as an X-API-Key header; a legacy Content API key returns 403. The ta_web_* tools need no key but require the ContextMint Bridge browser extension in Chrome with a one-time pairing approval. Optional cache, timeout and debug variables are available.
Before you install
The Terra Discover tier is pay-as-you-go with a daily call quota, so usage can cost money; caching is on by default to stretch it. The browser bridge routes requests through your signed-in browser tab and needs a pairing approval, and the README notes the project is AI-developed and used at your own discretion. All tools are read-only.

Installation

In SourceWeft

  1. Open Tripadvisor Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

tripadvisor-mcp

[npm]

MCP server for the TripAdvisor Terra API — travel data for Claude. Search hotels, restaurants, and attractions by name or coordinates, then pull full details, photos, and reviews, all over stdio. (Terra is TripAdvisor's current API; the legacy Content API is sunset on 2026-08-31.)

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

Quick start

json
{  "mcpServers": {    "tripadvisor": {      "command": "npx",      "args": ["-y", "@chrischall/tripadvisor-mcp"],      "env": { "TRIPADVISOR_API_KEY": "your-terra-api-key-here" }    }  }}

Get a key at tripadvisor.com/developers. The free Discover tier is pay-as-you-go (10 QPS, 10,000 calls/day); responses are cached in-memory to stretch it. Make sure it's a Terra key — a legacy Content API key returns 403.

Tools

ToolWhat it does
ta_search_locationsSearch locations by name (optionally scoped by category, country/geo/postal code) — paginated; compact:true for slim summaries
ta_search_nearbyFind locations near a lat/lon+radius, a location_id+radius, or inside a sw/ne bounding box (category, min rating, sort) — compact:true supported
ta_get_location_detailsFull details: names, descriptions, address, coordinates, traveler ratings, phone, listing URLs
ta_get_locationsBatch — details for multiple location ids in one call (cheaper than N detail calls); compact:true supported
ta_get_location_photosPhotos with multi-size image URLs, source, and dimensions — paginated
ta_get_location_reviewsTraveler reviews — paginated
ta_web_healthcheckDiagnose the optional tripadvisor.com browser-bridge connection (see below)
ta_web_get_locationLocation details (rating, address, coords, phone, photo) read from the public page via the browser bridge — no API key needed

All tools are read-only — Terra has no write endpoints.

Browser bridge (optional)

ta_web_healthcheck is the first tool of an optional second tier that reaches tripadvisor.com's consumer site (bot-walled, so unreachable server-side) by routing same-origin fetches through your signed-in browser tab via the ContextMint Bridge browser extension, installed from its releases page (Chrome: download the chrome zip and load it unpacked from chrome://extensions with Developer mode on; Safari isn't available yet — it will ship inside the ContextMint app, which has no public download — so use Chrome for now). It needs the extension installed and a one-time pairing approval; the Content API tools above never touch the bridge.

ContextMint Bridge is the fetchproxy browser extension under its new name, from the same maintainer — fetchproxy's own README (https://github.com/chrischall/fetchproxy#extension) points to it. Its source is public at https://github.com/nullnet-app/contextmint-bridge: build it yourself, or check a release zip against the .sha256 file published beside it (shasum -a 256 -c contextmint-bridge-chrome-<version>.zip.sha256).

ta_web_get_location uses this bridge to read a location's details straight from its public TripAdvisor page — so it works without an API key, covering attractions, hotels, and restaurants. It returns core business data (rating, review count, address, coordinates, phone, primary photo, listing URL) but not individual review text. Request shapes are pinned in docs/TRIPADVISOR-WEB-API.md.

Environment

VarRequiredPurpose
TRIPADVISOR_API_KEYfor the Terra toolsTerra API key, sent as the X-API-Key header. The ta_web_* tools work without it.
TRIPADVISOR_CACHE_TTLnoSeconds to cache search responses (default: 300; 0 disables).
TRIPADVISOR_STATIC_CACHE_TTLnoSeconds to cache details/photos/reviews (default: 3600; 0 disables).
TRIPADVISOR_REQUEST_TIMEOUT_MSnoPer-request timeout for the optional browser bridge (default: 30000).
TRIPADVISOR_DEBUG_LOGnoSet to 1 to log browser-bridge requests to stderr.

Development

bash
npm installnpm run build   # tsc + esbuild bundlenpm test        # vitest (no real network)

Endpoint request shapes are pinned in docs/TRIPADVISOR-API.md. With a key in .env, node scripts/live-probe.mjs exercises every read path through the built client.

License

MIT

Source: README.md at commit 597b2a5

Tools

8

ta_search_locations

Search TripAdvisor locations (restaurants, attractions, hotels) by name. Returns matches with a location id for the detail tools, plus pagination. Returns slim summaries by default; pass view:"full" for the whole records.

Parameterspagesizeviewqueryrequiredlocalecategorygeo_namepostal_codecountry_code

ta_search_nearby

Find TripAdvisor locations near a point within a radius, or inside a bounding box. Center by lat+lon+radius, by a reference location_id+radius, or by a sw/ne bounding box. Returns matches with distance and a location id. Returns slim summaries by default; pass view:"full" for the whole records.

Parameterslatlonpagesizesortunitviewlocalene_latne_lonradiussw_lat+5 more

ta_get_locations

Get details for MULTIPLE locations in one call (batch). Pass an array of location ids — cheaper than repeated ta_get_location_details. Unknown or unlicensed ids are silently omitted. Returns slim summaries by default; pass view:"full" for the whole records.

Parametersidsrequiredviewlocale

ta_get_location_details

Get full details for a TripAdvisor location: names, descriptions, address, coordinates, traveler ratings, phone, category, and listing URLs. Rating-icon and other incidental image URLs are dropped by default; pass view:"full" for TripAdvisor's whole record.

ParametersviewlocalelocationIdrequired

ta_get_location_photos

Get photos for a TripAdvisor location (multi-size image URLs, source, dimensions), with pagination.

ParameterspagesizelocalelocationIdrequired

ta_get_location_reviews

Get traveler reviews for a TripAdvisor location, with pagination. Reviewer avatars and other image URLs are dropped by default; pass view:"full" for TripAdvisor's whole records.

ParameterspagesizeviewlocalelocationIdrequired

ta_web_healthcheck

Verify the ContextMint Bridge connection end-to-end

Round-trips a small public www.tripadvisor.com URL (/) through ContextMint Bridge (your signed-in browser tab) and returns diagnostics: the bridge's role (host/peer/null), port, version, the extension link (linked / pair pending / not attached / never answered), the elapsed round-trip time, and a plain-English hint distinguishing 'bridge never came up' from 'extension not connected' from 'this browser can't serve a capability' from 'real www.tripadvisor.com-side problem'. Read-only, no auth required. Call this when a real tool fails and you want to know which hop broke.

Takes no parameters.

ta_web_get_location

Get a TripAdvisor location's core details (name, rating, review count, address, coordinates, phone, photo, listing URL) by location ID, read from the public page via the browser bridge. Works without an API key — use this when ta_get_location_details is unavailable or its key is blocked. Covers attractions, hotels, and restaurants. Does not return individual review text.

ParameterslocationIdrequired

Version history

16
  1. v1.2.0LatestNov 4, 2026
  2. v1.1.13Oct 29, 2026
  3. v1.1.12Oct 17, 2026
  4. v1.1.11Oct 17, 2026
  5. v1.1.10Oct 16, 2026
  6. v1.1.9Oct 10, 2026
  7. v1.1.8Oct 10, 2026
  8. v1.1.7Oct 7, 2026
  9. v1.1.6Oct 5, 2026
  10. v1.1.5Oct 3, 2026
  11. v1.1.4Sep 28, 2026
  12. v1.1.3Sep 25, 2026
  13. v1.1.2Sep 23, 2026
  14. v1.1.0Sep 20, 2026
  15. v1.0.0Sep 19, 2026
  16. v0.6.4Sep 16, 2026

Score

90% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts
  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts