Paste one prompt into Claude Code, Cursor, or your agent and it installs itself. Your agent then pulls Otelpuan 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. 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.
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 Otelpuan
The Otelpuan 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.
otelpuan_hotel_rooms
Get room offers by hotel URL, stay dates, adults, and optional comma-separated child ages. Returns stay totals, board plans, daily prices, and cancellation terms.
otelpuan_search_hotels
Find hotel suggestions by query. Returns IDs, names, URLs, and location labels. Use hotel_id directly for reviews; no pagination or exhaustive city inventory.
otelpuan_hotel_url_to_id
Resolve an Otelpuan hotel URL to hotel_id, name, canonical URL, aggregate rating, and review count. Use the returned ID for reviews.
otelpuan_hotel_reviews
Get Otelpuan guest reviews by hotel_id, with ratings, text, stay dates, and 10-review pagination. Publication dates can be null.
Full parameters and response shapes live in the MCP docs.
For the same data over REST, see the Otelpuan API hub.
Point your agent at Otelpuan.
Sign up, paste one prompt, let your agent install itself. Both paths end with your agent answering Otelpuan 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 Otelpuan data.