Hotelbeds MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Hotelbeds MCP Server find hotels in PMI for Sep 15-17 for 2 adults"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
hotelbeds-mcp-server
An MCP server that wraps the Hotelbeds (HBX Group)
Hotel Booking and Content APIs, exposing nine tools for searching, booking, managing and
enriching hotel reservations from any MCP client. Built as the hotel counterpart to
duffel-mcp-server.
A thought-through proof of concept — validated end to end against the Hotelbeds sandbox, but not production-ready.
Status
Nine tools, validated end to end through the MCP protocol against the Hotelbeds test environment (
api.test.hotelbeds.com).Flights-only sibling lives in
duffel-mcp-server; this one is hotels-only.stdio transport, designed to run locally alongside an MCP client such as Claude Desktop.
Related MCP server: GetExperience MCP Server
Tools
Booking lifecycle
Tool | Hotelbeds call | Purpose |
|
| Availability by destination or hotel codes. Returns |
|
| Re-validate a |
|
| Book a rate — surface-and-reconfirm (see below). |
|
| Retrieve a booking and its status. |
|
| Cancellation charge without cancelling. |
|
| Permanently cancel. Requires |
Content
Tool | Hotelbeds call | Purpose |
|
| Resolve destination codes for a country (feed as |
|
| Browse a destination's static portfolio — names, categories, coordinates, addresses. |
|
| Full content for chosen hotels: description, images, facilities, address, phones, boards. |
The Content API shares the same keypair and signature as the Booking API — it just lives
at the /hotel-content-api/1.0/ base path (hbContentGet in src/client.js). Image path
values are relative GIATA paths; the server prefixes them with
https://photos.hotelbeds.com/giata/bigger/ to produce usable URLs.
The two canonical flows
Book: search_hotels → check_rate (only when a rate's rateType is RECHECK) →
create_booking → get_booking.
create_booking is a deliberate two-step, because the Hotelbeds sandbox injects price drift
between checkrate and booking:
Call it without
acceptedNet. It re-validates the rate and returnsstatus: "CONFIRMATION_REQUIRED"withcurrentNet— no booking is made.Call again with
acceptedNetset to thatcurrentNet. If the live price is still withintolerance(default 2%), it books and returnsCONFIRMED; if the price rose beyond tolerance, it re-surfaces instead of booking. A price drop never blocks.
Cancel: get_cancellation_quote (SIMULATION — returns the charge, booking stays live) →
cancel_booking (CANCELLATION, confirm: true). The same quote-then-commit safety as the
booking step.
Quick start
npm install
cp .env.example .env # then fill in your Hotel API keypair
npm run smoke # walks the full loop against the sandboxConnecting to Claude Desktop
Add to claude_desktop_config.json (standard build:
%APPDATA%\Claude\ on Windows, ~/Library/Application Support/Claude/ on macOS; the Windows
Store/MSIX build lives under %LOCALAPPDATA%\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\).
On Windows, note the doubled backslashes.
{
"mcpServers": {
"hotelbeds": {
"command": "node",
"args": ["/absolute/path/to/hotelbeds-mcp-server/src/index.js"],
"env": {
"HOTELBEDS_API_KEY": "your_hotel_api_key",
"HOTELBEDS_SECRET": "your_hotel_api_secret"
}
}
}
}Behind a TLS-inspecting corporate proxy (e.g. Zscaler), Node will reject the HTTPS calls with
UNABLE_TO_GET_ISSUER_CERT_LOCALLY. Add "NODE_EXTRA_CA_CERTS": "/path/to/corp-root-ca.cer"
to the env block to trust the corporate root CA. Then restart Claude Desktop fully.
Testing a tool in isolation
npm run smoke spawns the server over stdio and exercises all nine tools. To hit one handler
directly without the protocol:
node --input-type=module -e "
import { searchHotels } from './src/tools/search-hotels.js';
const r = await searchHotels({ checkIn:'2026-09-15', checkOut:'2026-09-17', destinationCode:'PMI', adults:2, limit:3 });
console.log(r.content[0].text);
"(Requires HOTELBEDS_API_KEY / HOTELBEDS_SECRET in the environment.)
Credentials
Register at the Hotelbeds APItude developer portal and
request the Hotel API test keypair. The one keypair authenticates both the Booking and
Content APIs. Auth is Api-key + X-Signature, where the signature is
SHA256(apiKey + secret + unixTimestampSeconds) in hex, recomputed per request (handled in
src/client.js). Set HOTELBEDS_BASE_URL to https://api.hotelbeds.com for live; it defaults
to the test endpoint.
Project structure
src/
index.js MCP server — registers the nine tools
client.js signed request helpers (hbRequest for booking, hbContentGet for content)
util.js tool-result formatting
tools/
search-hotels.js check-rate.js create-booking.js
get-booking.js get-cancellation-quote.js cancel-booking.js
list-destinations.js list-hotels-content.js get-hotel-details.js
test/
smoke.mjs end-to-end stdio smoke test
docs/
content-api.md Content API field/shape notesKnown limitations
Single-room bookings.
create_bookinghandles one room per booking; multi-room would extend thepaxes/roomIdmapping across severalrateKeys.Flights-only scope elsewhere. Transfers and Activities are not included (Hotelbeds has sunset its Activities API; Transfers would need its own keypair).
facilitiesis noisy. Hotelbeds returns real amenities alongside structural metadata (e.g. "Number of floors") in the same array; the server passes them through unfiltered.stdio only. To host remotely, convert to Streamable HTTP and add Bearer-token auth — an open endpoint would let anyone create or cancel real bookings on your account.
Licence
MIT © 2026 Karan Rao
Available Tools
9 toolscancel_bookingCancel bookingA
Permanently cancel a booking. Requires confirm=true. Use get_cancellation_quote first to see the charge.
Inputs: confirm (required), reference (required).
check_rateCheck rateA
Re-validate one or more rateKeys and return the authoritative current price. Required before booking when a rate's rateType is RECHECK.
Inputs: rateKeys (required).
create_bookingCreate bookingA
Book a rate. Two-step surface-and-reconfirm: call once WITHOUT acceptedNet to surface the live price, then again WITH acceptedNet set to that price to commit. Re-surfaces if the price moves beyond tolerance.
Inputs: paxes (required), rateKey (required), holderName (required), holderSurname (required), +4 more.
get_bookingGet bookingB
Retrieve a booking by reference, including its current status.
Inputs: reference (required).
get_cancellation_quoteGet cancellation quoteA
Return the cancellation charge for a booking WITHOUT cancelling it (simulation). The booking remains active.
Inputs: reference (required).
get_hotel_detailsGet hotel detailsB
Full static content for one or more hotels: description, images, facilities, address, coordinates, phones, boards.
Inputs: hotelCodes (required), language, maxImages.
list_destinationsList destinationsA
List Hotelbeds destination codes for a country (optionally filtered by name). Use the code as destinationCode in search_hotels.
Inputs: countryCode (required), limit, nameContains.
list_hotels_contentList hotels (content)A
Browse the static hotel portfolio for a destination or set of hotel codes — names, categories, coordinates, addresses.
Inputs: limit, hotelCodes, destinationCode.
search_hotelsSearch hotelsC
Search hotel availability by destination code or hotel codes for given dates and occupancy. Returns hotels with bookable rateKeys.
Inputs: checkIn (required), checkOut (required), limit, rooms, +6 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Most tools are clearly distinct (search vs book vs cancel vs quote). Minor overlap between list_hotels_content and get_hotel_details, both returning static hotel content, but the browse-vs-detail distinction is described well enough. check_rate vs search_hotels are also differentiated by the recheck purpose.
Every tool follows a consistent snake_case verb_noun pattern (search_hotels, check_rate, create_booking, get_cancellation_quote, list_destinations). Verbs are used predictably across the set.
Nine tools is well-scoped for a hotel booking domain, covering search, content, booking, and cancellation without redundancy. Each tool earns its place.
Strong lifecycle coverage: search, rate recheck, create, get, cancel, and cancellation quote, plus static content and destination lookup. Minor gaps like modifying an existing booking or listing a user's bookings, but core workflows are covered.
Maintenance
Related MCP Connectors
Hotel booking MCP server. Search, book, and manage reservations across 250K+ properties worldwide.
Official MCP server for MAQAMI, a hotel and flight booking platform with 3M+ hotels. Search live hotel rates and flights, look up places, airports and hotel details, then prebook and book. Remote Streamable HTTP endpoint, no API key required.
Search and book hotels, shorten or cancel stays, and check support cases in Engine.
Structured B2B supply search, quoting, sandbox orders and fulfillment status for agents.
Related MCP Servers
AlicenseNot gradedqualityBmaintenanceEnables interaction with LiteAPI's hotel booking and travel services through MCP tools, supporting search, booking, vouchers, analytics, and more.4MIT- AlicenseNot gradedqualityDmaintenanceEnables searching, browsing, and booking tours and unique travel experiences on GetExperience.com via MCP, with support for both guest payments and B2B partner integrations.MIT
- AlicenseAqualityBmaintenanceEnables MCP clients to search stays by destination and dates with rich filters and read full property details as structured JSON, without needing a Booking.com account or self-hosting.263 npm6MIT

Tell & Goofficial
AlicenseNot gradedqualityCmaintenanceLets any MCP-compatible AI agent search live resort inventory, request exact all-in quotes including transfers, and start real hotel bookings that the traveler completes on a hosted Stripe checkout.MIT