
mcp claude airbnb
Arbmb MCP client implementation with Claude
Repository Info
About This Server
Arbmb MCP client implementation with Claude
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Claude Tools for Airbnb Search
This project demonstrates how to use Claude 3.7 Sonnet with tools to search for Airbnb listings programmatically. Claude naturally uses the provided tools to search for accommodations based on user queries without requiring extensive system prompts.
Features
- Uses Claude 3.7 Sonnet with tool-calling capabilities
- Connects to the Airbnb MCP Server for listing searches
- Supports searching for accommodations with parameters like:
- Location
- Check-in/check-out dates
- Number of guests
- Rate limiting to prevent API throttling
- Error handling for robust operation
How It Works
- The script initializes a connection to the Airbnb MCP Server
- It provides two tools to Claude:
airbnb_search: Searches for listings based on location, dates, and guest countairbnb_listing_details: Gets detailed information about a specific listing
- Claude naturally selects and uses the appropriate tool based on the user's query
- Results are formatted and presented in a user-friendly way
Example
When prompted with "I want to book an apartment in Paris for 2 nights from April 15 to April 17, 2025 for 2 adults", Claude:
- Uses the
airbnb_searchtool with the correct parameters - Processes the search results
- Formats a response with apartment options, including:
- Prices
- Ratings
- Amenities
- Direct booking links
Setup
-
Install dependencies:
pip install anthropic python-dotenv npm install -g @openbnb/mcp-server-airbnb -
Create a
.envfile with your Anthropic API key:ANTHROPIC_API_KEY=your_api_key_here -
Run the script:
python simple_mcp.py
Requirements
- Python 3.9+
- Anthropic API key with Claude 3.7 Sonnet access
- Node.js (for the Airbnb MCP Server)
License
MIT
Quick Start
Clone the repository
git clone https://github.com/thoughtnerve/mcp-claude-airbnbInstall dependencies
cd mcp-claude-airbnb
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.