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 prompt into Claude Code, Cursor, or your agent and it installs itself. Your agent then pulls Trip.com 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 hotel, ask your agent. No syntax to learn.
What do guests say about Trip.com hotel 702258?
Summarize the most recent Trip.com reviews for hotel 702258 and flag anything negative.
Group the Trip.com reviews for hotel 702258 by travel type and room type.
Show which Trip.com reviews for hotel 702258 got a reply from the property.
Real examples. You ask, the agent picks a tool and fills the parameters, you read the answer. These outputs are illustrative.
What do guests say about Trip.com hotel 702258?
tripcom_hotel_reviews(hotel_id="702258", page=1, page_size=10)
The most recent Trip.com reviews for that hotel with their ratings and stay dates, read back as a short summary instead of a raw list.
Group the Trip.com reviews for hotel 702258 by travel type and room type.
tripcom_hotel_reviews(hotel_id="702258", page_size=20)
The same reviews split by the travel type each guest picked and the room they booked, so a pattern in one segment stands out.
Show which Trip.com reviews for hotel 702258 got a reply from the property.
tripcom_hotel_reviews(hotel_id="702258", page=1)
The reviews that carry an owner response, paired with the reply and its date, so anything still unanswered is easy to spot.
Copy the prompt into the agent you already have open. It reads our setup page and wires up the connector itself.
Read https://stayapi.com/install and set up the StayAPI MCP server for me.
Then open a new session and run claude mcp list — stayapi should read ✓ Connected.
Add to Cursor in one click
Installs with a YOUR_API_KEY placeholder you swap in Cursor.
Read https://stayapi.com/install and set up the StayAPI MCP server for me.
The agent writes ~/.cursor/mcp.json, then asks you to restart Cursor.
Read https://stayapi.com/install and set up the StayAPI MCP server for me.
Codex reads the page and writes its own MCP config.
Read https://stayapi.com/install and set up the StayAPI MCP server for me.
Gemini CLI, Windsurf, or anything else that speaks MCP — the agent adds a remote HTTP server with the X-API-Key header to that client's own config.
No key yet? Sign up for 50 free requests — the agent asks you for it.
Claude Desktop and ChatGPT can't self-install — no shell, and connectors need OAuth. Manual setup below.
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 →
Full reference — every tool, error shapes, Windows notes: MCP documentation →
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.
tripcom_hotel_reviews
Get paginated Trip.com guest reviews by hotel_id: rating, text, stay date, room type, travel type, and the hotel's owner response. page_size is 1 to 50, default 10.
Full parameters and response shapes live in the MCP docs. For the same data over REST, see the Trip.com API hub.
Sign up, paste one prompt, let your agent install itself. Both paths end with your agent answering Trip.com questions in plain English.
50 free requests on signup. Paste one prompt into your agent, then start asking it for Trip.com 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