Skip to main content
Glama

๐Ÿจ HotelRate MCP โ€” AI-Powered Hotel Price Comparison

Python MCP Playwright License

๐Ÿ“Œ Overview

HotelRate MCP is an MCP-based hotel price comparison system that helps AI agents retrieve and compare hotel offers across Trip.com, Booking.com, Agoda, and Google Hotels through a unified interface.

It supports demo mode for testing and live browser-based searches using Playwright.

Related MCP server: 1Stay Hotel Booking

โœจ Features

  • ๐Ÿ”Ž Multi-platform hotel price comparison

  • ๐Ÿค– AI-agent integration using Model Context Protocol (MCP)

  • ๐ŸŒ Browser automation with Playwright

  • โšก Batch queries for multiple hotels

  • ๐Ÿ“Š Structured hotel offers and pricing data

  • ๐Ÿงช Environment health checks and diagnostics

  • ๐Ÿ”Œ Optional REST API using FastAPI

๐Ÿ› ๏ธ Tech Stack

Python โ€ข MCP โ€ข Playwright โ€ข FastAPI โ€ข Pydantic โ€ข pytest

๐Ÿ—๏ธ Architecture

AI Agent / MCP Client
        |
        v
    MCP Server
        |
        v
   Quote Service
        |
   +----+----+----+
   |    |    |    |
 Trip Booking Agoda Google
        |
        v
 Result Normalization
        |
        v
 Structured Hotel Offers

โš™๏ธ Installation

git clone https://github.com/seanbabalala/hotelrate-crawl.git
cd hotelrate-crawl
pip install -e .
cp .env.example .env
hotelrate-mcp doctor

For live searches, configure your environment and run:

hotelrate-mcp setup

๐Ÿ”Œ Available MCP Tools

Tool

Description

hotel_quote

Retrieve offers for a hotel

hotel_quote_batch

Query multiple hotels

list_platforms

Check supported platforms

health_check

Check system readiness

๐Ÿงช Testing with MCP Inspector

npx @modelcontextprotocol/inspector hotelrate-mcp

Open the URL printed in the terminal, navigate to Tools โ†’ hotel_quote, enter the hotel details, and run the tool to inspect the results.

๐Ÿ”ฎ Future Enhancements

  • Historical hotel price tracking

  • Price-drop notifications

  • Improved room matching

  • Interactive price comparison dashboard

๐Ÿ”’ Security

  • Keep credentials and .env files private.

  • Never commit browser sessions or authentication tokens.

  • Respect website terms and access restrictions.

๐Ÿ“„ License

MIT License. Retain the applicable license and original attribution when redistributing the code.


Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Enables AI agents to search, browse, and book hotels from a database of 2 million properties worldwide. Provides comprehensive hotel search capabilities with location lookup, filtering by amenities, detailed property information, and integrated booking functionality.
    6
    194 npm
    1
    ISC
  • F
    license
    A
    quality
    C
    maintenance
    Hotel booking MCP server โ€” the first transaction-complete hotel booking integration for AI agents. Search 300K+ properties in 140+ countries, get live rates and room details, and generate secure checkout URLs. No payment in the AI conversation โ€” guests complete booking at a hosted checkout page and receive a real hotel confirmation number. Set your own booking fee via Stripe Connect.
    8
    20 npm
    3
    -
  • A
    license
    A
    quality
    C
    maintenance
    Google Hotels MCP server via direct RPC โ€” no scraping, no browser automation. Three tools: hotel list search (16 filter slots: stars, price, amenities, brands, free cancellation), per-OTA rate plans and cancellation policies for a single hotel, and parallel top-N enrichment. One-command setup for Claude Code, Codex, and ChatGPT
    3
    77 PyPI
    14
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to search, compare, and book hotels with real-time pricing and availability, supporting multiple location types, star ratings, and price filters.
    12
    MIT