mcp-hotel-booking-agent
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-hotel-booking-agentFind hotels in Paris under $200"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-hotel-booking-agent
A hotel booking assistant built with the Model Context Protocol (MCP). A FastMCP server exposes hotel search/booking tools over stdio, and a Streamlit chat client drives an agent loop with Claude (Anthropic) to call those tools on the user's behalf.
Project structure
mcp-hotel-booking-agent/
├── server/
│ ├── mcp_server.py
│ └── data/
│ ├── hotels.json # mock data
│ └── bookings.json
├── client/
│ └── app.py
├── requirements.txt
├── .env
└── README.mdTools exposed by the MCP server
Tool | Description |
| Search hotels by city with rooms free for given dates |
| Get full details for a hotel by id |
| Check if a hotel has enough free rooms for a date range |
| Create a new booking |
| Look up a booking by id |
| Cancel an existing booking |
Setup
Create and activate a virtual environment (recommended):
python -m venv .venv .venv\Scripts\Activate.ps1Install dependencies:
pip install -r requirements.txtAdd your Anthropic API key to
.envcreate your .env file:ANTHROPIC_API_KEY=your_anthropic_api_key_here
Running
The Streamlit client launches the MCP server
streamlit run client/app.pyThen chat with the assistant, e.g.:
"Find hotels in goaunder budget 3000"
"Book the Sunset Beach Resort for John Smith, same dates, 1 room"
Optional: run the MCP server standalone
Useful for quick manual testing/debugging with an MCP inspector:
python server/mcp_server.pyNotes
server/data/hotels.jsonis static mock data;server/data/bookings.jsonis created/updated automatically as bookings are madeNever commit your real
.envfile or API key.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Nandhinimahadev/mcp-hotel-booking-agent'
If you have feedback or need assistance with the MCP directory API, please join our Discord server