HasData Airbnb

com.hasdata由 hasdata.com 发布官方发布者v1.0.8更新于 Oct 24, 2026

Airbnb stays by location and dates, and full listing details, as structured JSON.

已验证Streamable HTTP可网页运行位置与生活网页搜索与抓取

概览

AI 生成的概览

HasData 托管的 Airbnb MCP 服务器,提供两个只读工具,让助手按地点或地图区域搜索房源,并以 JSON 读取房源详情。

可以做什么
  • 按地点名称或地图边界框搜索 Airbnb 房源,可指定日期与住客人数,并支持分页
  • 按 URL 读取单个房源的完整信息:人数与房间概览、描述、地址、照片、房东资料、设施与安全说明
  • 返回结构化 JSON,价格、评分与标签已解析,便于筛选和比价
适用场景
适合让助手调研 Airbnb 房源、比较不同城市的每晚价格,或在无需 Airbnb 合作方账号的情况下获取候选房源的设施与房东信息。
运行要求
需要 HasData API 密钥,通过 x-api-key 请求头传递(npm/PyPI 的 stdio 启动器使用 HASDATA_API_KEY)。远程端点为 mcp.hasdata.com;stdio 客户端需 Node.js(npx)或 uvx 运行 Python 包。每次成功调用消耗 10 积分,免费额度每月 1,000 积分。
安装前请注意
调用会消耗积分:每次成功调用 10 积分,包括没有结果的搜索;付费方案每月 59 美元起。密钥是可计费凭证,密钥错误要到首次工具调用失败才会暴露。数据来自抓取 Airbnb 公开页面,提供方说明平台条款可能限制自动访问,合规与个人数据处理由使用者负责。

安装

在 SourceWeft 中

  1. 打开 控制台中的 HasData Airbnb,将其添加到工作区。
  2. 连接 x-api-key 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.hasdata%2Fairbnb/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "hasdata-airbnb": {
      "type": "http",
      "url": "https://mcp.hasdata.com/mcp?apis=airbnb",
      "headers": {
        "x-api-key": "<YOUR_API_KEY>"
      }
    }
  }
}

README

Airbnb MCP Server

A hosted Airbnb MCP server that gives Claude, Cursor, Windsurf and any other MCP client two read-only Airbnb tools. Search stays by place name or map area, and read a single listing in full, all as structured JSON, with no Airbnb developer account and no partner approval.

It reads public listing pages that a signed-out visitor can see.

1,000 free credits every month, no card required, which is 100 Airbnb calls.

https://mcp.hasdata.com/mcp?apis=airbnb

[Glama score] [tool contract] [MCP] [Tools] [npm] [PyPI] [License]

Contents

What you need

An MCP client and a HasData API key from the dashboard, free to create with no card, and the free tier covers about 100 calls a month at the 10-credit rate. This is a remote server, so the simplest path is a URL and an x-api-key header, with no container to run and no Airbnb developer account anywhere in the flow. A client that only speaks stdio reaches it through a thin launcher, published as @hasdata/airbnb-mcp on npm and hasdata-airbnb-mcp on PyPI, shown below.

Quick start

The server URL is the same for every client. We run it hands-on in Claude Code and Claude Desktop. The other blocks follow each client's own documented format for a remote server.

FieldValue
URLhttps://mcp.hasdata.com/mcp?apis=airbnb
TransportHTTP, streamable
Auth headerx-api-key: HASDATA_API_KEY

Clients with OAuth support can add the same URL as a connector and sign in without putting a key in a config file.

Claude Code
bash
claude mcp add --transport http airbnb "https://mcp.hasdata.com/mcp?apis=airbnb" \  --header "x-api-key: HASDATA_API_KEY"
Claude Desktop

Settings, then Connectors, then Add custom connector, then paste https://mcp.hasdata.com/mcp?apis=airbnb and sign in.

For the config-file route, Claude Desktop loads only local (stdio) servers, so it reaches a remote server through a stdio launcher. The @hasdata/airbnb-mcp package is that launcher, and it reads the key from the environment. Add this to claude_desktop_config.json:

json
{  "mcpServers": {    "airbnb": {      "command": "npx",      "args": ["-y", "@hasdata/airbnb-mcp"],      "env": { "HASDATA_API_KEY": "YOUR_KEY" }    }  }}

For Python instead of Node, swap the launcher for the PyPI package, which uvx runs without a manual install:

json
{  "mcpServers": {    "airbnb": {      "command": "uvx",      "args": ["hasdata-airbnb-mcp"],      "env": { "HASDATA_API_KEY": "YOUR_KEY" }    }  }}
Cursor

~/.cursor/mcp.json for every project, or .cursor/mcp.json for one:

json
{  "mcpServers": {    "airbnb": {      "url": "https://mcp.hasdata.com/mcp?apis=airbnb",      "headers": { "x-api-key": "HASDATA_API_KEY" }    }  }}
Windsurf

~/.codeium/windsurf/mcp_config.json. Windsurf calls the field serverUrl, not url:

json
{  "mcpServers": {    "airbnb": {      "serverUrl": "https://mcp.hasdata.com/mcp?apis=airbnb",      "headers": { "x-api-key": "HASDATA_API_KEY" }    }  }}
VS Code

.vscode/mcp.json in the workspace:

json
{  "servers": {    "airbnb": {      "type": "http",      "url": "https://mcp.hasdata.com/mcp?apis=airbnb",      "headers": { "x-api-key": "HASDATA_API_KEY" }    }  }}

Example prompts

Prompts, not code. Paste one in and the agent picks the tool itself. Each is annotated with the calls it takes, because every successful call costs 10 credits.

Search Austin stays for two adults from September 15 to 18 and give me the ten highest-rated under $200 a night.

One call, 10 credits. Rating and nightly price come back on the search result.

Take the top result and pull its full amenities, the guest and bedroom count, and the host details.

One call, 10 credits. Those live on the property page, which the details tool reads by URL.

Compare the nightly price of a three-night stay for two guests in Austin against Nashville.

Two calls, 20 credits, one search per city.

For this listing URL, tell me how many beds and baths it has and whether the host is a Superhost.

One call, 10 credits.

A search result is deliberately light, enough to rank and shortlist. The amenities, beds, host and full description come from the property call, so a prompt that shortlists then inspects three homes is one search plus three property calls.

Tools

ToolWhat it returns
hasdata_airbnb_listing_getAirbnbListingsListing id and url, title, description, coordinates, photos, rating and review count, badges, and a price object holding the stay total, the nightly figure as text and a discounted price when Airbnb shows one. 10 credits a call
hasdata_airbnb_property_getAirbnbPropertyDetailsTitle, an overview carrying the guest, bedroom, bed and bath counts as text, description, address and coordinates, rating and review count, photos, guest capacity, host profile, amenities with an availability flag each, and safety and property notes. No price. 10 credits a call

Two tools, read-only. Samples below are trimmed from real calls, and the numbers move as Airbnb updates. Read them as shapes. Each tool name links to its endpoint reference, which carries the full field list.

The samples are the payload, not the whole response. A tools/call result carries one text block, and that text is itself JSON holding url, status, text and json, with the scraped data under json. From a raw JSON-RPC response the path is result.content[0].text, parsed, then .json. A chat client unwraps that for you and code talking to the endpoint directly does not.

Get Airbnb listings

hasdata_airbnb_listing_getAirbnbListings

A page of search results by place name and dates, or by a map area.

ParameterTypeRequiredNotes
checkInstringyesCheck-in date, YYYY-MM-DD
locationstringsee belowThe place to search, such as Austin, Texas
neLat / neLng / swLat / swLngnumbersee belowCorners of a map bounding box, north-east and south-west
checkOutstringCheck-out date, YYYY-MM-DD
adults / children / infants / petsnumberGuest composition, each a count
nextPageTokenstringThe pagination.nextPageToken from the previous response

checkIn is always required. Beyond it the tool takes either a location or a full map bounding box, and a box counts only when all four corners are present. Three of the four fail with requiredIfExistsAny on the missing one. A box searches an area Airbnb has no name for, which a place name cannot express.

Returns a properties array and pagination, whose nextPageToken and pageTokens walk the result set. Each property carries id, url, title, latitude, longitude, a short description tagline, a photos array, rating, reviews, a badges array such as Guest favorite or Superhost, and a price object. price holds originalPrice, an optional discountedPrice when the stay is discounted, a qualifier like for 3 nights, and a breakdown.

A search result is intentionally light. Beds, baths, amenities, the host and the full description are not here, they come from the property tool below. Do not expect a bedroom count on a search result.

json
{  "id": "17545365",  "url": "https://www.airbnb.com/rooms/17545365",  "title": "Home in East Austin",  "latitude": 30.25741,  "longitude": -97.73366,  "description": "Downtown Casa - neighborhood feel, close to it all",  "rating": 4.87,  "reviews": 601,  "badges": ["Guest favorite"],  "price": {    "originalPrice": "$607",    "discountedPrice": "$447",    "qualifier": "for 3 nights",    "breakdown": [{ "description": "3 nights x $149.00", "price": "$447.00" }]  }}

Get Airbnb property details

hasdata_airbnb_property_getAirbnbPropertyDetails

One listing in full, by its URL.

ParameterTypeRequiredNotes
urlstringyesAn Airbnb listing URL, the url field from a search result

Returns title, an overview array like ["4 guests", "2 bedrooms", "2 beds", "2 baths"], the full description, rating, reviews, address, latitude, longitude, a photos array, guestCapacity, a host object, an amenities array, and safetyAndPropertyInfo. The host object carries name, isSuperhost, isVerified, the host's own reviews, rating and yearsHosting. Each amenity carries a title, a type, an optional description and an available flag, so a filter reads available, it does not assume every listed amenity is present.

json
{  "id": "17545365",  "title": "Downtown Casa - neighborhood feel, close to it all",  "overview": ["4 guests", "2 bedrooms", "2 beds", "2 baths"],  "rating": 4.87,  "reviews": 601,  "address": "Austin, Texas, United States",  "guestCapacity": 4,  "host": { "name": "Deanna", "isSuperhost": true, "isVerified": true, "reviews": 1273, "rating": 4.86, "yearsHosting": 11 },  "amenities": [    { "title": "Wifi", "type": "SYSTEM_WI_FI", "available": true },    { "title": "Free washer – In unit", "type": "SYSTEM_WASHER", "available": true }  ]}

Errors and failure paths

Your client almost never sees an HTTP error code from a tool call. The MCP layer answers 200 and puts the failure inside the result, with isError set to true and the reason as text. The agent reads a message where you might expect a status line.

A wrong key surfaces as tool output, not as a failed connection. tools/list accepts any non-empty key and returns both tools, so the client completes its handshake and shows green. The first tool call then comes back with isError: true and the text HasData API error: 401 Unauthorized. Watch for that string, because nothing earlier in the flow reports the problem.

A missing key is the one real HTTP error. Authorization runs before any tool, and the connection itself fails with 401. CORS headers are present, and a browser client reads the status and not an opaque network failure.

An argument that breaks a tool's schema is rejected before it becomes a scrape. The server answers with isError: true and the text MCP error -32602: Input validation error, naming the offending field. Nothing is fetched and nothing is charged.

A search with no availability returns a successful result with an empty properties array, not an error. A location and date range with nothing open still comes back with requestMetadata.status set to ok. Test for the array length before you iterate.

A listing that has been removed returns 400 with requestMetadata.status set to error. A URL from an old search can point at a home that is gone.

Results that carry data also carry a requestMetadata.id worth quoting in support.

Pricing, free tier and limits

Each Airbnb tool costs 10 credits per successful call. Response size does not change the price. A search page with dozens of stays costs the same as one with two.

The free tier is 1,000 credits every month with no card, which is 100 Airbnb calls. It renews with the billing cycle, so a low-volume agent runs on the free tier indefinitely.

Paid plans start at $59 a month for 200,000 credits, which is 20,000 calls. The unit price falls with volume, from $1.48 per 1,000 calls on the entry plan to $0.60 on Basic and $0.41 across the Growth tiers. Current figures live on the pricing page.

Your plan also sets concurrency. The free tier allows 5 requests at a time, Startup 5, Basic 15, and the Growth tiers run from 50 to 500. Handle the overflow case defensively in anything unattended.

A request that comes back non-200 is not billed. A successful call that finds nothing is still a call.

Tool selection

The apis query parameter decides which tools your agent sees. Fewer tools means less context spent on tool definitions, and fewer chances for the model to reach for the wrong one.

?apis=airbnb                     the two tools in this repo?apis=airbnb,booking             add Booking.com stays?apis=airbnb,google_maps         add Google Maps places

The parameter takes provider names like airbnb and individual API names like airbnb_listing. Misspelled names are ignored. If every name is wrong the request fails with 400, and the body lists both what it did not recognise and every valid value. Drop the parameter and the same endpoint exposes all 57 HasData tools.

How it compares

Airbnb has no public search API. Its API program is a partner and co-host integration for managing your own listings, not a way to read the market. For searching stays and reading arbitrary listings, scraping the public pages is the only route, and this server does that behind a stable schema.

Airbnb partner APIThis server
PurposeManage your own listingsRead the public market
AccessPartner approvalOne key and one URL
Search across the marketNoYes
SetupBusiness onboardingNone
OutputPartner payloadsStructured JSON, price and rating pre-parsed

What this server does not do. No booking, no messaging, no host dashboard, no guest data. It reads what a signed-out visitor can see.

FAQ

Is there an official Airbnb MCP server?

Airbnb does not publish one. This one is maintained by HasData and reads public pages, which is why it needs no Airbnb developer account.

What is an Airbnb MCP server?

A server that exposes Airbnb data as tools an AI client can call. The client sends a tool call over the Model Context Protocol, the server fetches the data and returns structured JSON, and the model works with the result. This one exposes two tools and runs remotely.

Do I need an Airbnb API key or partner account?

No. The only credential is your HasData key. There is no partner onboarding, because the tools read public Airbnb pages.

Why does the search result not show beds or amenities?

Because Airbnb does not put them on the search card. They live on the property page, which the details tool reads by URL. Search to shortlist, then call the property tool for depth.

Can I filter by guests, pets or dates?

Yes. The listing tool takes checkIn, checkOut and the adults, children, infants and pets counts, and returns availability and pricing for that party and window.

Can I use this together with other HasData APIs?

Yes. The apis parameter takes a list, and ?apis=airbnb,booking gives your agent Airbnb plus Booking.com. Drop the parameter and you get everything.

Compliance and personal data

HasData accesses publicly available data only. A platform's terms may restrict automated access, and you are responsible for your own compliance. Where the data you collect includes personal information, make sure you have a lawful basis for it under GDPR, CCPA or the equivalent rules in your jurisdiction.

HasData links

Product page and request builderAirbnb Scraper API
Server documentationMCP server docs
Every HasData tool in one serverHasData/hasdata-mcp
Client walkthroughsMCP clients and integrations
Everything else we scrapeAirbnb Scraper API and 54 more
Plans and credit costsPlans and credit costs
Keys and usageHasData dashboard
Node launcher on npm@hasdata/airbnb-mcp
Python launcher on PyPIhasdata-airbnb-mcp

Development

This repository is configuration and documentation for a remote server. There is no build step and nothing to containerize.

The tests in test/ assert the tool contract, the part that can break without a commit here. They check that ?apis=airbnb returns exactly two tools, that every tool still declares its required parameters, that no name changed, and that the key in use is actually accepted. That last check calls a tool for real and costs 10 credits, which is the price of a canary that can fail for the right reason.

bash
# macOS and LinuxHASDATA_API_KEY=your_key_here npm test
# Windows PowerShell$env:HASDATA_API_KEY="your_key_here"; npm test

The same suite runs in CI on every push and once a week on a schedule, because the upstream tool list can change without anyone touching this repository. A failure means the tool list moved, the key stopped working, or the endpoint was unreachable, and the assertion message says which.

Contributing

Corrections to the tool tables and the response samples are the most useful contribution, because those are the parts that drift. Include the call you made and the response you got. Pull requests from forks run the suite without a key, and the live checks skip instead of going red.

License

MIT. See LICENSE.

来源:README.md,提交 19da502

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

3
  1. v1.0.8最新Sep 24, 2026
  2. v1.0.7Sep 22, 2026
  3. v1.0.6Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Hasdata 集成