mcpField
S
staydata

staydata

Local
github.com/CloudCorpRecordsMaps & Travel0Updated 3d ago

About staydata

staydata is a local bridge to the HasData Airbnb MCP server for clients that need lodging data. It forwards read-only searches and property-detail requests, returning the upstream results as JSON.

Key features

  1. 01Search available stays by place or map box
  2. 02Filter by check-in date and party size
  3. 03Paginate search results
  4. 04Fetch property details by Airbnb URL
  5. 05Provide a CLI and stdio MCP server

Use cases

  1. 01Compare stay prices for dates and locations
  2. 02Review a property's rooms, amenities, photos, and ratings
  3. 03Read public Airbnb listing data from a client

MCP support

It exposes two tools to MCP clients and forwards calls to the HasData Airbnb MCP server: stay search and property-detail retrieval. The surface is read-only and has no booking, messaging, or payment tools.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"cloudcorprecords-staydata": {
"command": "npx",
"args": [
"-y",
"@reneturcios/staydata"
]
}
}
}
Run commandnpx -y @reneturcios/staydata

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@reneturcios/staydata0.1.0
ocighcr.io/cloudcorprecords/staydata:0.1.0

Tools

2

Saved tool list · updated 2d ago

ParameterTypeRequiredDescription
petsnumberNoNumber of pets.
neLatnumberNoNorth-east corner latitude of the map bounding box. When all four bounding-box coordinates are provided, listings are searched within the box instead of by location.
neLngnumberNoNorth-east corner longitude of the map bounding box.
swLatnumberNoSouth-west corner latitude of the map bounding box.
swLngnumberNoSouth-west corner longitude of the map bounding box.
adultsnumberNoNumber of adults.
checkInstringYesThe check-in date for the listings.
infantsnumberNoNumber of infants.
checkOutstringNoThe check-out date for the listings.
childrennumberNoNumber of children.
locationstringNoThe location to search for listings. Required unless a full map bounding box (neLat, neLng, swLat, swLng) is provided.
nextPageTokenstringNoThe token used to retrieve the next page of results.

Details

From the project README

staydata

staydata is a small local bridge to the hosted HasData Airbnb MCP server, which returns Airbnb data as JSON. Give it a place — or a map bounding box — plus a check-in date, and it searches the stays available there for your dates and party; give it one listing's URL, and it fetches that property's full page: host, rooms and beds, photos, amenities, ratings and reviews counts.

The bridge keeps no listing data of its own. It serves the upstream server's tool list locally, exactly as captured from the live endpoint, and forwards each tool call upstream, returning the result untouched. The captured surface is read-only: it searches and reads public listing pages. There is no booking, messaging, or payment tool in it.

Tools

  • hasdata_airbnb_listing_getAirbnbListings — search available stays. Required: checkIn. Provide either location, or all four bounding-box coordinates (neLat, neLng, swLat, swLng) to search inside a map box instead. Optional: checkOut, adults, children, infants, pets, and nextPageToken for paging. Returns listing id/url, title, nightly and total price, rating, review count, coordinates, and photos.
  • hasdata_airbnb_property_getAirbnbPropertyDetails — fetch one listing's full property page. Required: url (a valid Airbnb listing URL). Returns title, description, location, coordinates, rating and review count, host profile, room/bed/bath counts, photos, and the amenities list.

Configuration

  • HASDATA_AIRBNB_MCP_URL (optional) — override the upstream endpoint. Defaults to https://mcp.hasdata.com/mcp?apis=airbnb. (The override hook is this rebuild's own labelled reconstruction.)
  • HASDATA_API_KEY (optional) — when set, every upstream request carries an x-api-key: <key> header, for the caller's own HasData API key. When it is not set, no key header is sent. (The header name and the env name are pinned by the original's registry record; forwarding the key from this env var is a labelled reconstruction — the original surface was captured keyless.)
Forwarding mechanics

On the first tool call the client opens a streamable HTTP session with the upstream: a JSON-RPC initialize request (protocolVersion 2025-03-26, clientInfo name staydata), then a notifications/initialized notification, then the tools/call request carrying the caller's arguments unchanged. When the upstream answers initialize with an Mcp-Session-Id header, that value rides on every later request of the session, which is reused for the life of the process. Replies may arrive as plain JSON or as server-sent events; both are read.

Successful upstream results pass through verbatim, including any isError flag the upstream sets. Failures — a JSON-RPC error, a non-2xx status, an unreadable response, or a request that cannot be completed — come back as an isError result whose text starts with staydata error: (this rendering is this rebuild's own labelled reconstruction).

CLI

Each tool is also a subcommand taking one JSON argument string:

npx @reneturcios/staydata hasdata_airbnb_listing_getAirbnbListings '{"location":"San Francisco","checkIn":"2026-11-10","checkOut":"2026-11-14","adults":2}'
npx @reneturcios/staydata hasdata_airbnb_property_getAirbnbPropertyDetails '{"url":"https://www.airbnb.com/rooms/12345678"}'
npx @reneturcios/staydata --version

Exit codes: 0 on success, 1 on an isError result, 2 on a usage error.

MCP server

npx -y @reneturcios/staydata mcp

MCP client config:

{
  "mcpServers": {
    "staydata": {
      "command": "npx",
      "args": ["-y", "@reneturcios/staydata", "mcp"]
    }
  }
}

Docker

docker run -i ghcr.io/cloudcorprecords/staydata
docker run --rm ghcr.io/cloudcorprecords/staydata --version

The container's default command is mcp, so the first form is a stdio MCP server; any other arguments reach the CLI normally.

Development

npm install
npm run build
npm test
npm run dev

The test suite runs entirely against a stubbed JSON-RPC upstream — no live network calls.

License

MIT — see LICENSE.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.