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.
Before installing, ensure Node.js is installed on your computer for npx
to work properly.
Go to: Settings > Developer > Edit Config
Add the following to your claude_desktop_config.json
:
{
"mcpServers": {
"airbnb": {
"command": "npx",
"args": [
"-y",
"@openbnb/mcp-server-airbnb"
]
}
}
}
{
"mcpServers": {
"airbnb": {
"command": "npx",
"args": [
"-y",
"@openbnb/mcp-server-airbnb",
"--ignore-robots-txt"
]
}
}
}
For an automatic installation, you can use Smithery:
npx -y @smithery/cli install @openbnb-org/mcp-server-airbnb --client claude
The Airbnb MCP Server provides two main tools:
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 formatcheckout
: Check-out date in YYYY-MM-DD formatadults
: Number of adult guestschildren
: Number of children guestsinfants
: Number of infantspets
: Number of petsminPrice
: Minimum price filtermaxPrice
: Maximum price filtercursor
: Pagination cursor for additional resultsignoreRobotsText
: Override robots.txt restrictions (boolean)The search will return an array of listings with details including names, prices, locations, and other essential 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 formatcheckout
: Check-out date in YYYY-MM-DD formatadults
: Number of adult guestschildren
: Number of children guestsinfants
: Number of infantspets
: Number of petsignoreRobotsText
: Override robots.txt restrictions (boolean)This tool returns detailed information about the listing including description, host details, amenities, pricing, and availability.
You can ask Claude to use these tools in natural language. For example:
The server will automatically handle the API requests and present the information in a structured, readable format.
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.
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"
]
}
}
}
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.
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.