Hotel Booking MCP Server (Global/AI Edition)
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
๐ก Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
๐ Apply Key ยท ๐ Quick Start ยท ๐ Examples ยท ๐ฌ Support ยท ๐ Q&A ยท โ Powered by Dida ยท ๐ฐEarn with RollingGo
This is an official MCP server empowers AI Agents to search, compare, and book over 2 Million hotels globally. Powered by DIDA (14 years, world's #3 travel distribution platform), this server bridges the gap between AI travel recommendations and real-world bookings.
| Service | Endpoint | Available Tools | Authentication |
|---|---|---|---|
| Hotel MCP | https://mcp.rollinggo.ai/mcp | searchHotels, getHotelDetail, getHotelSearchTags | Authorization: Bearer <YOUR_API_KEY> |
streamable-httpRollingGo MCP also offers an OAuth 2.0 Authorization Code flow, providing 7 tools including getHotelSearchTags, searchHotels, getHotelDetail, hotelPriceConfirm, searchHotelOrders, and more. This mode is designed for deep integration with enterprise-grade production applications and requires a business contact via contact@rollinggo.ai.
For Chinese users or workflows primarily targeting the mainland China market and Alipay payment systems, please refer to this version: Dida-hotel-MCP-CN
Traditional AI agents can only recommend hotels based on static training datasets. The DIDA Hotel MCP equips your LLM agent with direct, real-time transactional capabilities:
โ Live Rates & Bookable Inventory โ Zero-latency price verification; every result is instantly bookable.
โ Supply Chain โ The world's Top 3 travel B2B platform, 14 years in the making, fully API-native end-to-end.
โ Global Hotel Network โ 2,000,000+ properties covering 200+ countries/regions. 500+ suppliers covering every tier, from luxury chains to local boutiques.
โ Direct Contracts โ 110,000+ directly connected hotels with live price and inventory sync.
โ Price Edge at Source โ Priced upstream of OTAs; sharp rates on hot spots.
โ Agent-Ready โ Works with 40+ leading agents: Cursor, Claude Code, Codex, Windsurf, Copilot, and more.
โ Earn your Revenue on Every MCP Call โ Set country-specific markups, earn commission on every completed booking, and track your orders, earnings, and payouts in real time. Flexible withdrawals for both businesses and individual developers.
โข Companies or individual developers building AI Agents
โข Developers looking to integrate hotel booking capabilities into MCP Clients
โข Developers building travel planning, business travel management, OTA, and lifestyle service agents
โข Product teams seeking to validate AI Agent commercial transaction loops
โข Individuals with needs for hotel search, price comparison, and price drop alerts******
Integrate global hotel search and booking into your AI assistant in under 5 minutes with no coding required.
Recommended clients: Claude CLI, Codex, and Cursor. Other MCP-compatible clients (such as Kiro, Doubao, etc.) can be configured similarly.
Create .mcp.json in your project root:
Or add directly via the command line:
Config file location: .codex/config.json in the project root, or globally at ~/.codex/config.json
Config file location: .cursor/mcp.json in the project root, or globally at ~/.cursor/mcp.json
Replace
YOUR_API_KEYwith your actual API Key.
Note: cURL must include
-H "Accept: application/json, text/event-stream", otherwise the server will return a 400 error.
Once configured, simply tell your AI assistant:
"Find me a five-star hotel near the Shanghai Bund for a stay starting the day after tomorrow."
The AI will automatically call the searchHotels Tool and return a list of hotels.
Searching for "Shanghai Bund five-star hotel", 2 nights, returns:
| Hotel | Stars | Lowest Price/Night | Distance to Bund |
|---|---|---|---|
| Fairmont Peace Hotel Shanghai | โญโญโญโญโญ | $648 | 124m |
| The Peninsula Shanghai | โญโญโญโญโญ | $940 | 252m |
Official Docs | Dida MCP Tools
The server registers 3 core tools to handle the complete search-to-book lifecycle:
Find hotels by location, date, price, star rating, and tags.
originQuery (string, required): User's raw text request (e.g., "Find boutique hotels in Tokyo under $200").place (string, required): Specific destination, attraction, or airport name.placeType (string, required): Location type (city, airport, point_of_interest, hotel, etc.). Supported values: city, airport, point_of_interest, train_station, subway_station, hotel, district/county, detailed address.countryCode (string, optional): ISO 3166-1 alpha-2 country code, e.g. CN, US.size (number, optional, default: 5): Number of hotels to return, max 20.checkInParam (object, optional): Check-in related parameters.filterOptions (object, optional): Filter parameters.hotelTags (object, optional): Tag / brand / budget filters.checkInParam fields:
adultCount (number, optional, default: 2): Adults per room.checkInDate (string, optional, format: YYYY-MM-DD): Check-in date. If omitted, in the past, or malformed, defaults to tomorrow.stayNights (number, optional, default: 1): Number of nights (max 28).filterOptions fields:
distanceInMeter (number, optional): Straight-line distance from POI in meters. Defaults to 2000 when a POI is used.starRatings (number[], optional): Star rating range, defaults to [0.0, 5.0], step 0.5.hotelTags fields:
requiredTags (string[], optional): Required tags (hard constraint).preferredBrands (string[], optional): Preferred brands.maxPricePerNight (number, optional): Max budget per night (CNY).Note:
priceis an object, not a number. Fields may be missing ornulldepending on city/supply source.
Fetch real-time room types, dynamic pricing, inventory, and cancellation policies for a selected hotel.
hotelId (number, optional): Hotel ID. Mutually exclusive with name; if both are provided, hotelId takes priority.name (string, optional): Hotel name (fuzzy match).dateParam (object, optional): Check-in / check-out date parameters.occupancyParam (object, optional): Guest count and room count parameters.localeParam (object, optional): Country and currency parameters.dateParam fields:
checkInDate (string, optional, format: YYYY-MM-DD): Check-in date. Defaults to tomorrow if empty, malformed, or in the past.checkOutDate (string, optional, format: YYYY-MM-DD): Check-out date. Defaults to checkInDate + 1 day if empty, malformed, or not after check-in.occupancyParam fields:
adultCount (number, optional, default: 2): Adults per room.childCount (number, optional, default: 0): Children per room.childAgeDetails (number[], optional): Child ages, e.g. [3, 5].roomCount (number, optional, default: 1): Number of rooms.localeParam fields:
countryCode (string, optional, default: US): ISO 3166-1 alpha-2 country code.currency (string, optional, default: USD): Currency code.Note: On failure, the response may contain an error message (e.g. "Failed to fetch pricing, please retry later") or structured error fields. The
roomRatePlansarray can be long โ consider paginating or limiting display on the client side.
Retrieve metadata containing all filterable tag names (e.g., "Free WiFi", "Gym", "Kid-Friendly") to refine search filtering. Suitable for local caching and client-side intent mapping.
Common tag categories:
Q1: The client doesn't show the Tool after configuration
url and type are correctAuthorization header is correctQ2: Returns 401 Unauthorized Invalid or incorrectly formatted API Key:
mcp_Authorization: Bearer YOUR_API_KEY, there must be a space after BearerQ3: Returns 400 Bad Request Common when calling directly with cURL. Check that the Accept header is included:
Q4: searchHotels returns empty results
place and placeType match (e.g., "Shanghai Bund" should be paired with "Attraction")checkInDate is not in the pastQ5: Prices don't match actual rates Search results show reference prices; real-time prices may vary. Currently, only queries are supported โ online booking is not yet available.
v2.3 optimizes the order query structure and adds multiple order detail fields to help Agents better handle check-in, payment, and cancellation scenarios. Note: This update applies to the OAuth integration version only, not the API Key version documented herein. The OAuth version requires business onboarding contact@rollinggo.ai.
getHotelSearchTags โ Get all enabled hotel filter tagssearchHotels โ Search global hotel list by conditionsgetHotelDetail โ Get available room types and pricing for a hotelhotelPriceConfirm โ Lock real-time final retail price for selected roomcreateHotelBookingWithPaymentURL โ Removed alipayUrlScene parameter; unified bookingResult.paymentUrl to generic checkoutsearchHotelOrders โ Output simplified to 9 core fields (orderNo, hotelName, roomName, orderStatus, totalPrice, etc.) for list view; full detail moved to dedicated toolgetHotelOrderDetail โ Query full structured order details by orderNo, including hotelConfirmationNo, guest list, bed type, contact phones, coordinates, payment/cancellation deadlines, and policy flagshotelConfirmationNo โ Hotel-side real confirmation number for front-desk lookupstayInfo.bedTypeStr โ Human-readable bed type description (e.g., "1 King Bed (1.8m)")stayInfo.guestNames โ Official pinyin/English guest name list for verificationpriceInfo.paymentDeadline โ Payment deadline timestamp (YYYY-MM-DD HH:mm:ss) for countdown alertspolicyInfo.freeCancelDeadline โ Free cancellation deadline timestamp for refund window checkspolicyInfo.isCancelable โ Whether free cancellation is still available at the current momentTool count: 7 total (up from 6 in v2.2) โ 1 new, 2 modified, 4 unchanged.
uv (Recommended - Zero Config Setup)If you have uv installed, run the server instantly:
The local server will run on http://localhost:8000/mcp, automatically forwarding requests to the secure DIDA global API nodes.
mcp_.Authorization: Bearer mcp_your_key_hereThis project is licensed under the MIT License - see the LICENSE file for details.
Made with โค๏ธ by the DIDA Team
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/hotelbooking-ai)<a href="https://allmcps.com/mcp/hotelbooking-ai"><img src="https://allmcps.com/api/badge/hotelbooking-ai?style=directory" alt="Hotelbooking Ai on AllMCPs" /></a>