Airbnb MCP server

Integrates with Airbnb to enable vacation rental search and detailed property information retrieval without requiring API keys
Back to servers
Provider
OpenBnB
Release date
Mar 10, 2025
Language
TypeScript
Package
Stats
14.5K downloads
97 stars

The Airbnb MCP Server allows you to search for Airbnb listings and retrieve detailed information about specific properties directly through Claude. This server provides structured data about accommodations, pricing, amenities, and other listing details without requiring an API key.

Installation Options

Installing on Claude Desktop

Before installing, ensure Node.js is installed on your computer for npx to work properly.

  1. Go to: Settings > Developer > Edit Config

  2. Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "airbnb": {
      "command": "npx",
      "args": [
        "-y",
        "@openbnb/mcp-server-airbnb"
      ]
    }
  }
}
  1. If you want to ignore robots.txt for all requests, use this configuration instead:
{
  "mcpServers": {
    "airbnb": {
      "command": "npx",
      "args": [
        "-y",
        "@openbnb/mcp-server-airbnb",
        "--ignore-robots-txt"
      ]
    }
  }
}
  1. Restart Claude Desktop to apply the changes.

Installing via Smithery

For an automatic installation, you can use Smithery:

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

Using the MCP Server

The Airbnb MCP Server provides two main tools:

Search for Listings

Use the airbnb_search tool to find Airbnb accommodations:

Required parameters:

  • location: The area where you want to search (string)

Optional parameters:

  • placeId: Specific location identifier (string)
  • checkin: Check-in date in YYYY-MM-DD format
  • checkout: Check-out date in YYYY-MM-DD format
  • adults: Number of adult guests
  • children: Number of children guests
  • infants: Number of infants
  • pets: Number of pets
  • minPrice: Minimum price filter
  • maxPrice: Maximum price filter
  • cursor: Pagination cursor for additional results
  • ignoreRobotsText: Override robots.txt restrictions (boolean)

The search will return an array of listings with details including names, prices, locations, and other essential information.

Get Detailed Listing Information

Use the airbnb_listing_details tool to get comprehensive information about a specific property:

Required parameters:

  • id: The listing ID (string)

Optional parameters:

  • checkin: Check-in date in YYYY-MM-DD format
  • checkout: Check-out date in YYYY-MM-DD format
  • adults: Number of adult guests
  • children: Number of children guests
  • infants: Number of infants
  • pets: Number of pets
  • ignoreRobotsText: Override robots.txt restrictions (boolean)

This tool returns detailed information about the listing including description, host details, amenities, pricing, and availability.

Example Usage

You can ask Claude to use these tools in natural language. For example:

  • "Find Airbnb listings in Miami for 2 adults from June 1-7, 2024"
  • "Show me details for Airbnb listing ID 12345678"
  • "What are the cheapest Airbnb options in New York for next weekend?"

The server will automatically handle the API requests and present the information in a structured, readable format.

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later