Airbnb Search & Listings

Airbnb Search & Listings

Enables users to search Airbnb listings with advanced filtering options and retrieve detailed property information through an MCP server interface.

Category
访问服务器

README

Airbnb Search & Listings - Desktop Extension (DXT)

A comprehensive Desktop Extension for searching Airbnb listings with advanced filtering capabilities and detailed property information retrieval. Built as a Model Context Protocol (MCP) server packaged in the Desktop Extension (DXT) format for easy installation and use with compatible AI applications.

Features

🔍 Advanced Search Capabilities

  • Location-based search with support for cities, states, and regions
  • Google Maps Place ID integration for precise location targeting
  • Date filtering with check-in and check-out date support
  • Guest configuration including adults, children, infants, and pets
  • Price range filtering with minimum and maximum price constraints
  • Pagination support for browsing through large result sets

🏠 Detailed Property Information

  • Comprehensive listing details including amenities, policies, and highlights
  • Location information with coordinates and neighborhood details
  • House rules and policies for informed booking decisions
  • Property descriptions and key features
  • Direct links to Airbnb listings for easy booking

🛡️ Security & Compliance

  • Robots.txt compliance with configurable override for testing
  • Request timeout management to prevent hanging requests
  • Enhanced error handling with detailed logging
  • Rate limiting awareness and respectful API usage
  • Secure configuration through DXT user settings

Installation

For Claude Desktop

This extension is packaged as a Desktop Extension (DXT) file. To install:

  1. Download the .dxt file from the releases page
  2. Open your compatible AI application (e.g., Claude Desktop)
  3. Install the extension through the application's extension manager
  4. Configure the extension settings as needed

For Cursor, etc.

Before starting make sure Node.js is installed on your desktop for npx to work.

  1. Go to: Cursor Settings > Tools & Integrations > New MCP Server

  2. Add one the following to your mcp.json:

    {
      "mcpServers": {
        "airbnb": {
          "command": "npx",
          "args": [
            "-y",
            "@openbnb/mcp-server-airbnb"
          ]
        }
      }
    }
    

    To ignore robots.txt for all requests, use this version with --ignore-robots-txt args

    {
      "mcpServers": {
        "airbnb": {
          "command": "npx",
          "args": [
            "-y",
            "@openbnb/mcp-server-airbnb",
            "--ignore-robots-txt"
          ]
        }
      }
    }
    
  3. Restart.

Configuration

The extension provides the following user-configurable options:

Ignore robots.txt

  • Type: Boolean (checkbox)
  • Default: false
  • Description: Bypass robots.txt restrictions when making requests to Airbnb
  • Recommendation: Keep disabled unless needed for testing purposes

Tools

airbnb_search

Search for Airbnb listings with comprehensive filtering options.

Parameters:

  • location (required): Location to search (e.g., "San Francisco, CA")
  • placeId (optional): Google Maps Place ID (overrides location)
  • checkin (optional): Check-in date in YYYY-MM-DD format
  • checkout (optional): Check-out date in YYYY-MM-DD format
  • adults (optional): Number of adults (default: 1)
  • children (optional): Number of children (default: 0)
  • infants (optional): Number of infants (default: 0)
  • pets (optional): Number of pets (default: 0)
  • minPrice (optional): Minimum price per night
  • maxPrice (optional): Maximum price per night
  • cursor (optional): Pagination cursor for browsing results
  • ignoreRobotsText (optional): Override robots.txt for this request

Returns:

  • Search results with property details, pricing, and direct links
  • Pagination information for browsing additional results
  • Search URL for reference

airbnb_listing_details

Get detailed information about a specific Airbnb listing.

Parameters:

  • id (required): Airbnb listing ID
  • checkin (optional): Check-in date in YYYY-MM-DD format
  • checkout (optional): Check-out date in YYYY-MM-DD format
  • adults (optional): Number of adults (default: 1)
  • children (optional): Number of children (default: 0)
  • infants (optional): Number of infants (default: 0)
  • pets (optional): Number of pets (default: 0)
  • ignoreRobotsText (optional): Override robots.txt for this request

Returns:

  • Detailed property information including:
    • Location details with coordinates
    • Amenities and facilities
    • House rules and policies
    • Property highlights and descriptions
    • Direct link to the listing

Technical Details

Architecture

  • Runtime: Node.js 18+
  • Protocol: Model Context Protocol (MCP) via stdio transport
  • Format: Desktop Extension (DXT) v0.1
  • Dependencies: Minimal external dependencies for security and reliability

Error Handling

  • Comprehensive error logging with timestamps
  • Graceful degradation when Airbnb's page structure changes
  • Timeout protection for network requests
  • Detailed error messages for troubleshooting

Security Measures

  • Robots.txt compliance by default
  • Request timeout limits
  • Input validation and sanitization
  • Secure environment variable handling
  • No sensitive data storage

Performance

  • Efficient HTML parsing with Cheerio
  • Request caching where appropriate
  • Minimal memory footprint
  • Fast startup and response times

Compatibility

  • Platforms: macOS, Windows, Linux
  • Node.js: 18.0.0 or higher
  • Claude Desktop: 0.10.0 or higher
  • Other MCP clients: Compatible with any MCP-supporting application

Development

Building from Source

# Install dependencies
npm install

# Build the project
npm run build

# Watch for changes during development
npm run watch

Testing

The extension can be tested by running the MCP server directly:

# Run with robots.txt compliance (default)
node dist/index.js

# Run with robots.txt ignored (for testing)
node dist/index.js --ignore-robots-txt

Legal and Ethical Considerations

  • Respect Airbnb's Terms of Service: This extension is for legitimate research and booking assistance
  • Robots.txt Compliance: The extension respects robots.txt by default
  • Rate Limiting: Be mindful of request frequency to avoid overwhelming Airbnb's servers
  • Data Usage: Only extract publicly available information for legitimate purposes

Support

  • Issues: Report bugs and feature requests on GitHub Issues
  • Documentation: Additional documentation available in the repository
  • Community: Join discussions about MCP and DXT development

License

MIT License - see LICENSE file for details.

Contributing

Contributions are welcome! Please read the contributing guidelines and submit pull requests for any improvements.


Note: This extension is not affiliated with Airbnb, Inc. It is an independent tool designed to help users search and analyze publicly available Airbnb listings.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选