The MCP Server for Airbnb allows you to search Airbnb listings and retrieve detailed information about accommodations through Claude. It provides direct links to Airbnb listings in search results, making it easy to plan your next trip.
Before you begin, make sure Node.js is installed on your computer so that npx
works properly.
Go to: Settings > Developer > Edit Configuration
Add the following to your claude_desktop_config.json
file:
{
"mcpServers": {
"airbnb": {
"command": "npx",
"args": [
"-y",
"@Domoteek/mcp-server-airbnb"
]
}
}
}
--ignore-robots-txt
argument:{
"mcpServers": {
"airbnb": {
"command": "npx",
"args": [
"-y",
"@Domoteek/mcp-server-airbnb",
"--ignore-robots-txt"
]
}
}
}
For automatic installation on Claude Desktop using Smithery:
npx -y @smithery/cli install @Domoteek/mcp-server-airbnb --client claude
The MCP server provides two main tools:
Use the airbnb_search
tool to find Airbnb listings by location and other criteria:
Required parameters:
location
(string): The location to search for listingsOptional parameters:
placeId
(string): Specific place IDcheckin
(string): Check-in date in YYYY-MM-DD formatcheckout
(string): Check-out date in YYYY-MM-DD formatadults
(number): Number of adult guestschildren
(number): Number of childreninfants
(number): Number of infantspets
(number): Number of petsminPrice
(number): Minimum pricemaxPrice
(number): Maximum pricecursor
(string): For paginationignoreRobotsText
(boolean): Whether to ignore robots.txt rulesThe search returns an array of listings with details like name, price, location, and direct URLs to the Airbnb listings.
Use the airbnb_listing_details
tool to get comprehensive information about a specific Airbnb listing:
Required parameters:
id
(string): The ID of the Airbnb listingOptional parameters:
checkin
(string): Check-in date in YYYY-MM-DD formatcheckout
(string): Check-out date in YYYY-MM-DD formatadults
(number): Number of adult guestschildren
(number): Number of childreninfants
(number): Number of infantspets
(number): Number of petsignoreRobotsText
(boolean): Whether to ignore robots.txt rulesThis returns detailed information about the listing, including description, host details, amenities, pricing, and a direct URL to the Airbnb listing page.
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.