# Tripadvisor — how to use (mcp.ai)

Connect your Tripadvisor account and use 7 tools for reviews straight from your AI agent. Connect with your own API key. TripAdvisor Content API provides access to location data, reviews, photos, and search functionality for travel-related content.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_tripadvisor?ms=1787295900000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `tripadvisor_get_location_activities`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/tripadvisor`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/tripadvisor/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/tripadvisor/get/location/activities` — Tool to retrieve an ordered list of all bookable activities for a destination. Use when you need to get available activities for a specific location by its ID. Returns activity details including prici
  - body: { lang?: string, currency?: string, location_id: string, product_groups?: string }
- `POST https://api.mcp.ai/api/tripadvisor/get/location/awards` — Tool to retrieve all awards earned by a TripAdvisor location. Use when you need to fetch awards history for a specific destination. Returns Traveler's Choice Awards, Certificates of Excellence, and Gr
  - body: { locationId: string }
- `POST https://api.mcp.ai/api/tripadvisor/get/location/details/v2` — Tool to retrieve comprehensive information about a TripAdvisor location including name, address, ratings, reviews, and links. Requires an authenticated TripAdvisor API connection. Use when you need de
  - body: { currency?: string, language?: string, location_id: string }
- `POST https://api.mcp.ai/api/tripadvisor/get/location/geos` — Tool to retrieve immediate children in the geographical location hierarchy for a given destination. Use when exploring location hierarchies or browsing geographical areas within a parent location.
  - body: { lang?: string, limit?: integer, offset?: integer, category?: string, currency?: string, location_id: integer }
- `POST https://api.mcp.ai/api/tripadvisor/get/location/hotels` — Retrieves hotels near a specified TripAdvisor location. Returns up to 10 hotels sorted by proximity to the location's geographic center. Use this tool when you need to find hotels in a city, region, o
  - body: { lang?: string, location_id: string }
- `POST https://api.mcp.ai/api/tripadvisor/get/location/photos/v2` — Retrieves up to 5 high-quality photos for a specific TripAdvisor location by location ID. Returns photos with multiple size variants (thumbnail, small, medium, large, original), user information, capt
  - body: { lang?: string, location_id: string }
- `POST https://api.mcp.ai/api/tripadvisor/get/location/reviews/v2` — Tool to retrieve up to 5 of the most recent reviews for a specific TripAdvisor location. Use when you need to get user reviews, ratings, and feedback for a hotel, restaurant, attraction, or destinatio
  - body: { lang?: string, currency?: string, all_shared?: boolean, location_id: string }

## Example prompts
- "What can I do in Tripadvisor?"
- "Show me a summary of my Tripadvisor account"

## More
- Page: https://mcp.ai/tripadvisor
- Agent spec (llms.txt): https://mcp.ai/tripadvisor/llms.txt
- Postman collection: https://mcp.ai/tripadvisor/postman.json
