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 WeHotel (Jin Jiang) 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.
Search WeHotel (Jin Jiang) hotels in Shanghai for my dates and show the lowest visible CNY prices.
Turn this WeHotel (Jin Jiang) hotel URL into a property ID and get the hotel details.
Summarize recent WeHotel (Jin Jiang) reviews for Jin Jiang Tower Shanghai and flag recurring complaints.
Show WeHotel (Jin Jiang) room inventory and separate public rates from member rates for my stay.
Pull the WeHotel (Jin Jiang) photo reviews for property JJ1089 and include hotel responses.
Real examples. You ask, the agent picks a tool and fills the parameters, you read the answer. These outputs are illustrative.
Summarize recent WeHotel (Jin Jiang) reviews for Jin Jiang Tower Shanghai and flag recurring complaints.
bestwe_hotel_reviews(property_id="JJ1089", page=1, page_size=20)
The latest guest comments grouped into recurring praise and complaints, with score dimensions and any hotel replies kept alongside the source review.
Show WeHotel (Jin Jiang) room inventory and separate public rates from member rates for my stay.
bestwe_hotel_rooms(property_id="JJ1089", check_in="2026-08-10", check_out="2026-08-11")
The available room types for those dates with CNY prices, breakfast, cancellation rules, and member-rate flags separated for comparison.
Turn this WeHotel (Jin Jiang) hotel URL into a property ID and get the hotel details.
bestwe_hotel_url_to_id(url="https://hotel.bestwehotel.com/HotelDetail?hotelId=JJ1089") -> bestwe_hotel_details(property_id=...)
The stable property ID resolved locally, followed by the bilingual hotel content, facilities, photos, policies, and room catalogue.
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.
bestwe_search_hotels
Search dated WeHotel (Jin Jiang) inventory by city code. Returns property IDs, public metadata, availability, and lowest visible CNY prices.
bestwe_hotel_url_to_id
Extract a WeHotel (Jin Jiang) property_id locally from a canonical hotel.bestwehotel.com HotelDetail URL.
bestwe_hotel_details
Get bilingual WeHotel (Jin Jiang) property content, policies, photos, facilities, services, and static room metadata.
bestwe_hotel_reviews
Get paginated WeHotel (Jin Jiang) guest reviews with scores, moderated photos, tags, room context, and hotel replies.
bestwe_hotel_rooms
Get dated WeHotel (Jin Jiang) room inventory and public or member rate plans with CNY prices, breakfast, and cancellation rules.
Full parameters and response shapes live in the MCP docs. For the same data over REST, see the WeHotel (Jin Jiang) API hub.
Sign up, paste one prompt, let your agent install itself. Both paths end with your agent answering WeHotel (Jin Jiang) questions in plain English.
50 free requests on signup. Paste one prompt into your agent, then start asking it for WeHotel (Jin Jiang) 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