Hotel Booking MCP Server
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., "@Hotel Booking MCP ServerShow me all available rooms"
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.
šØ Hotel Booking MCP Server
An MCP (Model Context Protocol) server that connects AI assistants like Claude to a Microsoft SQL Server hotel booking database. It exposes hotel data as tools that Claude can call naturally in conversation.
š Features
Tool | Description |
| Fetch all registered customers |
| Fetch all rooms with full details |
| Fetch only rooms with |
| Fetch all bookings with customer & room info |
| Fetch only |
Related MCP server: mcp-ohmy-sql
š ļø Tech Stack
Python 3.12+
MCP Python SDK v2.0.0 (
mcp)pyodbc ā Microsoft SQL Server driver
uv ā Fast Python package & project manager
SQL Server with ODBC Driver 17
āļø Prerequisites
Python 3.12+ installed
uv installed ā Install uv
ODBC Driver 17 for SQL Server installed ā Download here
SQL Server running locally with the
HotelBookingSystemdatabase
šļø Database Setup
The server connects to a local SQL Server database using Windows Authentication (Trusted Connection).
Connection string used:
Driver={ODBC Driver 17 for SQL Server}
Server=localhost
Database=HotelBookingSystem
Trusted_Connection=yesRequired tables:
Customersā CustomerID, FirstName, LastName, Email, PhoneNumber, City, CountryRoomsā RoomID, RoomNumber, RoomType, Floor, Capacity, PricePerNight, Amenities, StatusBookingsā BookingID, CustomerID, RoomID, CheckInDate, CheckOutDate, TotalPrice, BookingStatus, PaymentStatus
š Getting Started
1. Clone the repository
git clone <your-repo-url>
cd HotelBookingMCP2. Create virtual environment and install dependencies
uv sync3. Run the MCP server (stdio mode)
uv run python main.py4. Test with the MCP Inspector
uv run mcp dev main.pyThen open the URL shown in the terminal (e.g. http://localhost:6274) in your browser.
š¤ Connecting to Claude Desktop
Option A ā Automatic install (recommended)
uv run mcp install main.pyOption B ā Manual config
Edit %APPDATA%\Claude\claude_desktop_config.json and add:
{
"mcpServers": {
"Hotel Booking MCP Server": {
"command": "C:\\Users\\<YOUR_USERNAME>\\.local\\bin\\uv.EXE",
"args": [
"run",
"--project",
"D:\\Path\\To\\HotelBookingMCP",
"python",
"D:\\Path\\To\\HotelBookingMCP\\main.py"
]
}
}
}ā ļø Replace
<YOUR_USERNAME>and the paths with your actual values.
After updating the config, fully restart Claude Desktop for the changes to take effect.
š§ Connecting to Claude Code (CLI)
claude mcp add hotel-booking-mcp -- uv run python main.pyš Project Structure
HotelBookingMCP/
āāā main.py # MCP server with all tools
āāā pyproject.toml # Project metadata & dependencies
āāā .python-version # Python version pin
āāā .gitignore
āāā README.mdš Example Claude Prompts
Once connected, you can ask Claude things like:
"Show me all available rooms"
"List all active bookings"
"Which customers are from Yangon?"
"What rooms are available and what are their prices?"
šŖŖ License
MIT
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.
Related MCP Servers
- Alicense-qualityFmaintenanceAn MCP server for Microsoft SQL Server integration that enables users to query, monitor, and analyze databases directly through Claude. It supports schema exploration, performance analysis, and optional write operations via natural language commands.Last updated491MIT
- -license-qualityCmaintenanceAn MCP server that bridges AI assistants with SQL databases, enabling natural language querying across multiple database types with built-in optimization and security.Last updated3
- AlicenseBqualityDmaintenanceAn MCP server that connects AI assistants to Microsoft SQL Server databases, enabling schema exploration and read-only queries safely.Last updated492964MIT
- Alicense-qualityCmaintenanceA Model Context Protocol (MCP) server for SQL Server / Azure SQL that enables querying, monitoring, and analyzing databases directly from Claude.Last updated27MIT
Related MCP Connectors
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors ā no code.
MCP server giving Claude AI access to 22+ NYC public-record databases for real estate due diligence
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
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/MyatThuta158/Hotel_Booking_MCP_Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server