1. Connect Claude, Cursor & Autonomous Travel Agents in 30 Seconds
Stop letting AI travel assistants guess outdated hotel prices from training weights. Ground every recommendation in live date-specific room inventory and guest reviews.
MCP Server Configuration (Cursor / Claude Desktop / Windsurf)
Use your hp_live_ key or connect 1-click via OAuth 2.1 at https://mcp.hotelpricesapi.com/v1/mcp.
curl -sS -X POST "https://api.hotelpricesapi.com/mcp" \
-H "Content-Type: application/json" \
-H "x-api-key: hp_live_your_api_key" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'import requests
res = requests.post(
"https://api.hotelpricesapi.com/mcp",
headers={"x-api-key": "hp_live_your_api_key"},
json={
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_hotels",
"arguments": {"city": "Paris", "checkin": "2026-12-15", "checkout": "2026-12-17", "adults": 2}
},
},
timeout=25,
).json()
print(res["result"])const config = {
mcpServers: {
hotelpricesapi: {
url: "https://api.hotelpricesapi.com/mcp",
headers: { "x-api-key": "hp_live_your_api_key" },
},
},
};
console.log(JSON.stringify(config, null, 2));{
"code": 0,
"provider": "https://hotelpricesapi.com",
"status": "ok",
"data": {
"city": "Paris",
"checkin": "2026-12-15",
"checkout": "2026-12-17",
"nights": 2,
"currency": "USD",
"total_available": 20,
"items": [
{
"hotel_id": "59015",
"name": "Ibis Styles Paris Batignolles",
"stars": 3,
"review_score": 8.3,
"review_score_word": "Very Good",
"review_count": 1711,
"price_total": 304.14,
"price_per_night": 152.07,
"excluded_taxes": 18.2,
"currency": "USD",
"coordinates": {
"lat": 48.8902,
"lng": 2.3175
},
"checkin_window": {
"from": "14:00",
"until": "23:59"
}
}
]
},
"meta": {
"endpoint": "/v1/hotels/search",
"credits_charged": 2,
"cached": true,
"took_ms": 24
}
}Interactive Hospitality Rate-Shopper Lab · POST /mcp
Verify live gateway latency, rate-sweep credit math & JSON schema
Frequently Asked Questions
- Does the Remote MCP server require installing a local Node.js or Python package?
- No. Both https://mcp.hotelpricesapi.com/v1/mcp (OAuth 2.1) and https://api.hotelpricesapi.com/mcp (API Key) run over Streamable HTTP with zero local dependencies.