Search CuddlyNest hotels and read rooms, prices, availability and cancellation policies
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A Model Context Protocol (MCP) server for searching CuddlyNest hotels and retrieving listing details, including room options, prices, availability and cancellation policies.
Read-only by design: search and listing details only. No booking, no payment.
CuddlyNest does not serve room prices in its static HTML. Pricing renders
client-side on the public listing page, backed by the site's own
infrastructure and third-party wholesale suppliers (dida travels,
hotelplanner, ratehawk, hxpro, rakuten, β¦).
This server reads that data the same way a visitor does: it opens the real, public listing page in a headless browser (Playwright/Chromium), lets the page's own JavaScript load the rooms, waits for them to render, and reads the result out of the DOM.
| Data | Source |
|---|---|
| Name, description, address, coordinates, star rating, amenities, images | Listing page schema.org ld+json + Open Graph tags (cuddlynest.ts) |
Room title, partner, unit_price, remaining_rooms, price_breakdown, cancellation_policy (incl. .text), room_filters | Rendered listing page DOM, via a React-fiber walk (scrape-listing.ts) |
| Destination β place candidates + top hotels | autosuggestion-2-0.cuddlynest.com (public, no auth) |
| Destination β broader city hotel list (~60β250) | discovery-pages.cuddlynest.com/fetch_geopage/<ct-id> (public); <ct-id> recovered from a hotel's product-detail breadcrumbs |
product_id β name / city / breadcrumbs | ldp-2-0-product-details.cuddlynest.com/api/v1/productDetail (public) |
product_id β canonical listing path | /hotel/-<id> server redirect |
extractRoomsFromDom() walks every price-shaped text node (COL$742,637), then
walks up its React fiber tree to the nearest ancestor component whose props
carry both unit_price and roomGroups. Those props are the room offer the
page already rendered.
This is coupled to CuddlyNest's current frontend internals (a React prop shape,
not a stable contract). If they ship a frontend change it can start returning
zero rooms even though the public page still shows prices. The single place to
update is the detector condition 'unit_price' in p && 'roomGroups' in p in
scrape-listing.ts. npm run e2e:sansiraka is meant to
catch that early (non-zero exit, not a silent empty result).
The fromPriceText ("From COL$β¦") field uses a looser heuristic and can come
back null even on a healthy scrape; rooms.fromPrice (cheapest extracted
unit) is the reliable figure.
npm install runs playwright install chromium automatically (postinstall); if that is blocked in your
environment, run npx playwright install chromium once by hand.Published as cuddlynest-mcp on
npm and listed in the official MCP registry
as io.github.mafedelahoz/cuddlynest-mcp.
Add "--ignore-robots-txt" to args to bypass robots.txt for the
listing-page fetches. CUDDLYNEST_SCRAPE_TIMEOUT_MS (default 35000) caps how
long the browser waits for prices to render.
An MCPB bundle (.mcpb) for Claude Desktop is attached to each
GitHub release β note it
does not bundle Chromium, so run npx playwright install chromium once after
installing it that way.
Default transport is stdio. For a hosted deployment, run it over Streamable HTTP:
Both tools are annotated readOnlyHint: true β they never write, book, or pay.
cuddlynest_searchSearch a destination and the top hotels there, from public CuddlyNest APIs
(autosuggestion-2-0 for the fuzzy match, discovery-pages geo pages for the
broader city list). Prices are not here β pass a hotel's productId to
cuddlynest_listing_details.
| Parameter | Required | Description |
|---|---|---|
destination | yes | City / area string, e.g. "Cartagena, Colombia" |
hotelsOnly | no | Omit the places[] block (default false) |
fullCityList | no | Also pull the geo-page city list (~60β250 hotels) when it can be resolved and verified against the destination β a few extra requests (default true) |
checkin, checkout, adults, children, childAges, infants, rooms, currency | no | echoed back for downstream use |
Returns: { query, guests, places[], city, hotelSource, hotelCount, hotels[], note }.
Each hotels[] entry: productId, name, url, slug, propertyType,
starRating, guestRating (/10) + guestRatingText, reviewCount, and β from
the geo page β images[], distanceFromCenterKm, featuredAmenities[].
hotelSource is "autosuggest" or "autosuggest+geopage". The list is
top-matches scale, not full inventory β CuddlyNest's real results page
(/sr/β¦) is bot-blocked and Disallowed in robots.txt.
cuddlynest_listing_detailsStatic basics and rooms/pricing for one hotel.
| Parameter | Required | Description |
|---|---|---|
hotel | yes | Listing URL or numeric product_id (trailing number in the URL) |
checkin, checkout | for pricing | YYYY-MM-DD β required to read rooms/prices |
adults, children, childAges, infants, rooms | no | defaults 2 / 0 / β / 0 / 1 |
currency | no | ISO 4217, default USD |
ignoreRobotsText | no | ignore robots.txt for the static fetch |
Returns: { productId, hotelUrl, guests, staticListing, staticError, rooms, roomsError, notes }.
rooms.units[] is the extracted room offers, each with title, partnerName,
unitPrice, currency, remainingRooms, guests, cancellationPolicyType,
cancellationPolicyText, priceBreakdown, roomFilters. rooms also carries
fromPrice, partnersSeen, listingUrl, scrapedAt.
test-scrape.js β buildListingUrl (pure) + extractRoomsFromDom replayed
against fixtures/hotel-sansiraka-2026-10-05.json (a real capture from
cuddlynest.com on 2026-09-01: Hotel Sansiraka 4395541, 2026-10-05β08, 2
adults + 1 child age 2, COP β 9 rooms across dida travels / hxpro / ratehawk /
rakuten). A local headless Chromium rebuilds the page's DOM+fiber shape from
that fixture and checks the extractor reconstructs it β no network.test-extension.js β MCP handshake, tool listing, cuddlynest_search
(hits the autosuggestion API), cuddlynest_listing_details product_id parsing.scripts/e2e-hotel-sansiraka.mjs β runs a real scrape of the Sansiraka
listing and asserts the live result matches the fixture's structure (room
object shape/keys, non-empty, partner variety). Live prices and the exact
partner set drift from the fixture β that's expected.index.ts β MCP server, tool schemas, stdio and Streamable HTTP transports,
robots.txt handlingcuddlynest.ts β hotel-URL parsing, static-listing ld+json parse,
destination autosuggestion, result shapingscrape-listing.ts β resolveListingPath, buildListingUrl, scrapeListing
(headless browser), extractRoomsFromDom (React-fiber walk)util.ts β generic object/JSON helpersMIT β see LICENSE.
No reviews yet β be the first to share how this listing worked for you.
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/cuddlynest-mcp)<a href="https://allmcps.com/mcp/cuddlynest-mcp"><img src="https://allmcps.com/api/badge/cuddlynest-mcp?style=directory" alt="Cuddlynest MCP on AllMCPs" /></a>