Paste one prompt into Claude Code, Cursor, or your agent and it installs itself. Your agent then pulls Booking.com data from plain-English prompts. Same API key, same billing as the REST API.
Installs with a YOUR_API_KEY placeholder you swap in Cursor.
or paste the prompt
Paste into Cursor's chat
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.
Paste into Codex
Read https://stayapi.com/install and set up the StayAPI MCP server for me.
Codex reads the page and writes its own MCP config.
Paste into your agent
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 on the web, desktop, or mobile doesn't need this prompt: add StayAPI under Settings → Connectors and sign in. ChatGPT: add it as an MCP app in developer mode and sign in. Other clients: manual setup below.
No key
Claude on the web, desktop & mobile
Add StayAPI as a connector and sign in. Nothing to paste.
In Claude, open Settings → Connectors → Add custom connector.
Name it StayAPI and set the URL to https://api.stayapi.com/mcp.
Click Connect, sign in to StayAPI, and choose Allow.
No key
ChatGPT (developer mode)
Add StayAPI as an MCP app and sign in. Plus, Pro, Business, Enterprise, or Edu, on the web.
In ChatGPT, turn on Settings → Security and login → Developer mode.
Open chatgpt.com/plugins, click +, and choose Create MCP app.
Name it StayAPI, set the URL to https://api.stayapi.com/mcp, and pick OAuth. Leave the client ID and secret blank.
Sign in to StayAPI, choose Allow, then install StayAPI from your personal plugins.
In a Work chat, type @StayAPI and ask.
Manual setup — paste the config yourself
01
Claude Code
One terminal command.
bash
claude mcp add --scope user --transport http stayapi 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 →
Tools for Booking.com
The Booking.com tools your agent can call.
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.
booking_search_hotels
List hotels in a destination for a stay window. Takes a dest_id. country_market (default US) sets the pricing market; Booking.com prices by the visitor's country. Optional market selects country and language/currency defaults (ES: es/EUR; US: en-us/USD); explicit overrides win. effective_market reports best-effort targeting, not verified geography. Price objects include labels, genius_discount_pct, and is_mobile_rate for observed anonymous rate markers.
booking_lookup_destination
Free-form name (e.g., "Lisbon") to a Booking.com dest_id. First step before booking_search_hotels when you only have a city name.
booking_hotel_details
Get one hotel's details, including description, check-in/check-out times, and property_type (a string such as HOTEL, APARTMENT, HOLIDAY_HOME, or CHALET, or null when unavailable; new categories may appear), by hotel_id (fast) or canonical Booking URL (slower, for URL to ID resolution).
booking_hotel_reviews
Get reviews for a hotel by hotel_id or URL, with sort and pagination. Use sort=recent_desc for date-bounded backfills.
booking_hotel_rooms
Get room types and live availability for one hotel by hotel_id or URL, for a stay window. Returns bookable rate blocks plus a deduplicated available-room count. Optional market sets country and language/currency defaults; explicit overrides win. effective_market reports unverified targeting. Pass the same country_market as the search for matching prices. children_ages is a comma-separated string of integer ages 0–17; its count must equal children. Rate price objects include labels, genius_discount_pct, and is_mobile_rate.
booking_hotel_photos
Get a hotel's full photo gallery by hotel_id or URL. Returns signed, ready-to-use image URLs at thumbnail, medium, and large sizes. limit (default 20, 0 = all) and size (thumbnail / medium / large / all) keep responses compact; metadata.photo_count is always the full gallery size.
Full parameters and response shapes live in the MCP docs.
For the same data over REST, see the Booking.com API hub.
Point your agent at Booking.com.
Sign up, paste one prompt, let your agent install itself. Both paths end with your agent answering Booking.com questions in plain English.
01 · the fast path
Get your key
50 free requests on signup. Paste one prompt into your agent, then start asking it for Booking.com data.