Claude Code
One terminal command.
claude mcp add --scope user --transport http stayapi https://api.stayapi.com/mcp --header "X-API-Key: YOUR_API_KEY"
- Run the command in any terminal.
- Open a new Claude Code session.
- Confirm with
claude mcp list.
A quick demo might save your team weeks of engineering work.
Resources
Free Tools
Paste one snippet into Claude, Cursor, or Claude Code. Your agent pulls TripAdvisor data from plain-English prompts. Same API key, same billing as the REST API.
Trusted by hospitality teams at
Whatever you'd ask a junior analyst about a property, ask your agent. No syntax to learn.
What are travelers saying about The Siam in Bangkok on TripAdvisor?
Which providers have the cheapest rate for The Siam next month on TripAdvisor?
Resolve Bangkok to its TripAdvisor geo ID and list the best-value hotels there.
Summarize the last 20 TripAdvisor reviews for The Siam by trip type.
Compare The Siam's TripAdvisor rating and review count against two competitors I name.
Real examples. You ask, the agent picks a tool and fills the parameters, you read the answer. These outputs are illustrative.
What are travelers saying about The Siam in Bangkok on TripAdvisor?
tripadvisor_hotel_reviews(location_id="305165", per_page=20)
A read of the latest reviews grouped by trip type: couples praise the service and the riverside setting, a few note the distance from the city center.
Which providers have the cheapest rate for The Siam next month on TripAdvisor?
tripadvisor_hotel_prices(location_id="305165", check_in="2026-05-01", check_out="2026-05-03")
The live provider offers side by side for those dates, with the lowest-priced provider marked so you can see where the best rate sits.
Resolve Bangkok to its TripAdvisor geo ID and list the best-value hotels there.
tripadvisor_geo_search(query="Bangkok") -> tripadvisor_search_hotels(geo_id=...)
The Bangkok geo resolved, then a ranked list of hotels in it, each with its bubble rating, review count, and price for a value read.
Three config systems, three snippets. Swap YOUR_API_KEY for your real key and start asking.
One terminal command.
claude mcp add --scope user --transport http stayapi https://api.stayapi.com/mcp --header "X-API-Key: YOUR_API_KEY"
claude mcp list.Edit ~/.cursor/mcp.json.
{
"mcpServers": {
"stayapi": {
"type": "http",
"url": "https://api.stayapi.com/mcp",
"headers": { "X-API-Key": "YOUR_API_KEY" }
}
}
}
YOUR_API_KEY, save.Edit claude_desktop_config.json.
{
"mcpServers": {
"stayapi": {
"command": "npx",
"args": [
"-y", "mcp-remote@0.1.18",
"https://api.stayapi.com/mcp",
"--header", "X-API-Key:YOUR_API_KEY"
]
}
}
}
On Windows, a bare npx can fail with spawn npx ENOENT. Use the absolute path to npx.cmd. Windows setup notes →
Shortcut Don't have a key yet? Sign up for 50 free requests. Your dashboard ships these snippets pre-filled.
Most agents pick the right tool from your prompt, so you never name it. One tool call counts as one request, the same as a REST request.
tripadvisor_search_hotels
List TripAdvisor hotels in a geo_id area for an optional stay window. Each hotel carries a location_id for the other TripAdvisor tools.
tripadvisor_geo_search
Free-form place name (e.g., "Paris") to a TripAdvisor geo_id. First step before tripadvisor_search_hotels if you only have a place name.
tripadvisor_hotel_details
Get one TripAdvisor hotel's details by location_id or any TripAdvisor hotel URL (URL to ID is instant).
tripadvisor_hotel_reviews
Get reviews for a TripAdvisor hotel by location_id or URL, with page/per_page and language.
tripadvisor_hotel_prices
Get live provider offers (Booking.com, Agoda, etc.) for a TripAdvisor hotel by location_id or URL for a required stay window.
Full parameters and response shapes live in the MCP docs. For the same data over REST, see the TripAdvisor API hub.
Sign up, copy one snippet, drop your key in. Both paths end with your agent answering TripAdvisor questions in plain English.
50 free requests on signup. Copy one snippet, drop your key in, and start asking your agent for TripAdvisor data.
Start free Read the MCP docs15 minutes. We screen-share and wire Claude or Cursor to your real properties. Free of charge.
Book a demo