
Airbnb MCP Server (Enhanced)
Enhanced MCP server for Airbnb search and listing details
What is Enhanced Airbnb MCP Server?
The Enhanced Airbnb MCP Server is a tool designed for searching Airbnb listings and retrieving detailed information about them.
How to use Enhanced Airbnb MCP Server?
To use the server, you can either install it on your local machine or use it via Smithery. You can perform searches for listings or get detailed information about specific listings using the provided commands.
Key features of Enhanced Airbnb MCP Server?
- Improved error handling with detailed messages
- Enhanced logging for easier debugging
- Type safety with better TypeScript definitions
- Modularized code structure for maintainability
- Optimized performance for network requests
- Richer results with detailed listing information
- Compliance with Airbnb's robots.txt rules
Use cases of Enhanced Airbnb MCP Server?
- Searching for Airbnb listings in various locations.
- Retrieving detailed information about specific Airbnb properties.
- Integrating Airbnb data into applications for travel planning.
FAQ from Enhanced Airbnb MCP Server?
- Can I search for listings in any location?
Yes! You can search for listings by providing the location as input.
- Is there a way to ignore robots.txt rules?
Yes, you can use an option to ignore robots.txt for all requests.
- What programming language is the server built with?
The server is built using JavaScript.
Airbnb MCP Server (Enhanced)
Enhanced MCP Server for searching Airbnb listings and getting detailed information.
Features
- Improved Error Handling: Detailed error messages and better exception handling
- Enhanced Logging: More extensive logging for easier debugging
- Type Safety: Better TypeScript type definitions
- Code Organization: Modularized code structure for better maintainability
- Performance: Optimized network requests and response handling
- Richer Results: More detailed listing information and metadata
- Robots.txt Compliance: By default respects Airbnb's robots.txt rules (with override option)
Tools
-
airbnb_search
- Search for Airbnb listings
- Required Input:
location
(string) - Optional Inputs:
placeId
(string) - Google Maps Place IDcheckin
(string, YYYY-MM-DD)checkout
(string, YYYY-MM-DD)adults
(number)children
(number)infants
(number)pets
(number)minPrice
(number)maxPrice
(number)cursor
(string) - For paginationignoreRobotsText
(boolean)
- Returns: Array of listings with details including name, price, location, etc.
-
airbnb_listing_details
- Get detailed information about a specific Airbnb listing
- Required Input:
id
(string) - Optional Inputs:
checkin
(string, YYYY-MM-DD)checkout
(string, YYYY-MM-DD)adults
(number)children
(number)infants
(number)pets
(number)ignoreRobotsText
(boolean)
- Returns: Detailed listing information including description, location, amenities, policies, etc.
Setup
Installing on Claude Desktop
Before starting make sure Node.js is installed on your desktop for npx
to work.
-
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"
]
}
}
}
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"
]
}
}
}
- Restart Claude Desktop and start planning your next trip with Airbnbs!
Installing via Smithery
To install mcp-server-airbnb for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @openbnb-org/mcp-server-airbnb --client claude
Examples
Search for listings
airbnb_search({"location": "Paris, France", "checkin": "2025-05-01", "checkout": "2025-05-07", "adults": 2})
Get listing details
airbnb_listing_details({"id": "12345678", "checkin": "2025-05-01", "checkout": "2025-05-07", "adults": 2})
Development
Build from source
git clone https://github.com/your-repo/mcp-server-airbnb.git
cd mcp-server-airbnb
npm install
npm run build
Run locally
npm start
# or, to ignore robots.txt
npm run start:ignore-robots
License
This MCP server is licensed under the MIT License.
Disclaimer
Airbnb is a trademark of Airbnb, Inc. OpenBnB is not related to Airbnb, Inc. or its subsidiaries.