About π Airbnb Search Assistant
A Gradio-based chatbot application that helps users find accommodations worldwide using AI-powered search. It filters properties by amenities, provides personalized recommendations, and falls back to basic chat if the MCP connection fails.
Key features
- 01AI-powered property search and recommendations
- 02Filter by amenities and preferences
- 03Worldwide accommodation search
- 04Interactive chat interface
- 05Responsive design
Use cases
- 01Finding beachfront villas for specific group sizes
- 02Searching pet-friendly houses with particular features
- 03Discovering luxury apartments near landmarks
MCP support
The client connects to the Airbnb MCP server to access property listings and search capabilities.
Details
From the project READMEπ Airbnb Search Assistant
A Gradio-based chatbot application that helps users find their perfect accommodation using AI-powered search capabilities. The assistant can search for properties worldwide, filter by amenities, and provide personalized recommendations.
β¨ Features
- π¨ Beautiful, Airbnb-inspired UI with custom styling
- π AI-powered property search and recommendations
- π Worldwide property search capabilities
- π‘ Filter by amenities and preferences
- π¬ Interactive chat interface
- π Automatic fallback to basic chat mode if MCP connection fails
- π± Responsive design for all devices
π Getting Started
Prerequisites
- Python 3.10 or higher
- Node.js (for MCP server)
- OpenAI API key
Installation
- Clone the repository:
git clone [email protected]:akktrsst/MCP_Agent_Airbnb.git
- Install Python dependencies:
pip install -r requirements.txt
- Install MCP server:
npm install -g @openbnb/mcp-server-airbnb
- Create a
.envfile in the examples directory with your API keys:
OPENAI_API_KEY=your_openai_api_key
Running the Application
- Start the Streamlit app:
python chatbot.py
- Open your browser and navigate to:
http://localhost:XXXX
π‘ Usage
-
Enter your search query in the chat input, for example:
- "Find me a beachfront villa in Bali for 4 people"
- "Show luxury apartments in Paris with Eiffel Tower views"
- "Search for pet-friendly houses in London with a garden"
-
The assistant will provide detailed responses about properties, including:
- Amenities
- Location benefits
- Pricing information
- Reviews and ratings
-
Use the "Clear Chat" button to start a new conversation
π οΈ Technical Details
Architecture
- Frontend: Streamlit
- Backend: Python with LangChain
- AI Model: GPT-4o-mini
- MCP Integration: Airbnb MCP Server
Key Components
chatbot.py: Main application fileairbnb_mcp.json: MCP server configuration- Custom CSS styling for Airbnb-like interface
- Error handling and fallback mechanisms
π€ Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Acknowledgments
- Special thanks to openbnb-org/mcp-server-airbnb for the MCP server
- OpenAI for the GPT models
- Gradio for the web framework
π Support
For support, please open an issue in the repository or contact the maintainers.
Made with β€οΈ by [Abhishek Kumar]
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.