mcp-server-airbnb

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Provides tools for searching Airbnb listings and retrieving detailed information about specific properties, including pricing, amenities, host details, and availability for specified dates and guest configurations.

Airbnb MCP 服务器

MCP 服务器用于搜索 Airbnb 并获取列表详细信息。

工具

  1. airbnb_search
    • 搜索 Airbnb 房源
    • 必需输入: location (字符串)
    • 可选输入:
      • placeId (字符串)
      • checkin (字符串,YYYY-MM-DD)
      • checkout (字符串,YYYY-MM-DD)
      • adults (人数)
      • children (数量)
      • infants (数量)
      • pets (数量)
      • minPrice (数字)
      • maxPrice (数字)
      • cursor (字符串)
      • ignoreRobotsText (布尔值)
    • 返回:包含名称、价格、位置等详细信息的列表数组。
  2. airbnb_listing_details
    • 获取特定 Airbnb 房源的详细信息
    • 必需输入: id (字符串)
    • 可选输入:
      • checkin (字符串,YYYY-MM-DD)
      • checkout (字符串,YYYY-MM-DD)
      • adults (人数)
      • children (数量)
      • infants (数量)
      • pets (数量)
      • ignoreRobotsText (布尔值)
    • 返回:详细的列表信息,包括描述、主机详细信息、便利设施、价格等。

特征

  • 遵守 Airbnb 的 robots.txt 规则
  • 使用 cheerio 进行 HTML 解析
  • 无需 API 密钥
  • 返回结构化的 JSON 数据
  • 通过扁平化和挑选数据来减少上下文负载

设置

在 Claude Desktop 上安装

开始之前,请确保您的桌面上安装了Node.js ,以使npx能够正常工作。

  1. 前往:设置 > 开发者 > 编辑配置
  2. 将以下内容添加到您的claude_desktop_config.json中:
{ "mcpServers": { "airbnb": { "command": "npx", "args": [ "-y", "@openbnb/mcp-server-airbnb" ] } } }

要忽略所有请求的 robots.txt,请使用此版本和--ignore-robots-txt参数

{ "mcpServers": { "airbnb": { "command": "npx", "args": [ "-y", "@openbnb/mcp-server-airbnb", "--ignore-robots-txt" ] } } }
  1. 重新启动 Claude Desktop 并计划您的下一次包含 Airbnbs 的旅行!

其他选项:通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 mcp-server-airbnb:

npx -y @smithery/cli install @openbnb-org/mcp-server-airbnb --client claude

构建(针对开发者)

npm install npm run build

执照

此 MCP 服务器根据 MIT 许可证获得许可。

免责声明

Airbnb 是 Airbnb, Inc. 的商标。OpenBnB 与 Airbnb, Inc. 或其子公司无关

-
security - not tested
A
license - permissive license
-
quality - not tested

搜索 Airbnb 房源,获取特定房源的详细信息。使用结构化数据轻松规划您的下一次旅行,无需 API 密钥,同时遵守 Airbnb 的准则。

  1. Tools
    1. Features
      1. Setup
        1. Installing on Claude Desktop
        2. Other Option: Installing via Smithery
      2. Build (for devs)
        1. License
          1. Disclaimer
            ID: beo8og6djz