- Home
- MCP servers
- Dida
Dida
- python
1
GitHub Stars
python
Language
4 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
You can access hotel search, booking, and reviews through a Model Context Protocol (MCP) server named Dida MCP Server. It offers practical, standardized endpoints to find hotels, reserve rooms, and read customer feedback, making it easy to integrate hotel data into MCP-compatible clients.
How to use
Connect to the Dida MCP Server from your MCP client to search hotels, book rooms, or retrieve reviews. You can run the server locally on your machine using Python, or connect to a remote cloud instance. Use the standard MCP workflow to call the available tools: search_hotels to filter options, book_hotel to place a reservation, and get_hotel_reviews to read feedback. When choosing a connection method, consider latency, reliability, and whether you want to host the server yourself or rely on a hosted endpoint.
How to install
Prerequisites you need before installing include Python and Pip. Ensure you have a compatible Python environment on your machine.
Option 1: Install Locally (PyPI) that provides a Python-based MCP server.
pip install dida-mcp-server
Configure in your MCP client or desktop integration to point to the local server using the Python module entry point shown here.
{
"mcpServers": {
"dida-hotels": {
"command": "python",
"args": ["-m", "dida_mcp_server"]
}
}
}
Option 2: Use Remote Server (Cloud)
If you prefer a hosted option, configure the MCP client to connect to the remote server endpoint. Use the provided URL, transport type, and authorization header to access the service.
{
"mcpServers": {
"dida-hotels": {
"url": "https://uninventive-davin-semihistorically.ngrok-free.dev/sse",
"transport": "sse",
"headers": {
"Authorization": "Bearer YOUR_TOKEN"
}
}
}
}
Using tools and endpoints
Once connected, you can use the following MCP tools to interact with hotel data.
-
search_hotels helps you filter hotels by city, price, rating, and amenities.
-
book_hotel lets you reserve a room by providing hotel_id and guest details along with stay dates.
-
get_hotel_reviews retrieves customer reviews for a specific hotel using hotel_id.
Security and access
For remote connections, protect your access token and use secure channels. Do not share tokens publicly. If the remote endpoint requires additional authentication steps, follow the guidance provided by your administrator.
Available tools
search_hotels
Search for hotels by city, max_price, min_rating, amenities, and availability to return matching hotels with details.
book_hotel
Book a hotel room by providing hotel_id and guest information, including name, email, phone, and stay dates.
get_hotel_reviews
Retrieve customer reviews for a given hotel by hotel_id.