hotel-rates-mcp
Provides tools for verifying hotel prices from Expedia, ensuring tax-inclusive total rates and providing durable booking links.
Click on "Deploy 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-rates-mcpfind cheapest hotels in Barcelona for March 20-25"
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-rates-mcp
A small MCP server that gives an MCP client one deterministic tool for verified, bookable hotel prices.
It exists to close a gap in the budget-travel pipeline: when verification is a
free-text instruction ("check the real price before recommending"), an agent can
quietly skip it and hand back a Google Hotels teaser that collapses at checkout.
As a tool, the verification always runs — every total it returns is the
tax-inclusive total_rate, tax-exclusive providers are flagged, and each result
carries a durable Booking.com fallback link.
The price logic is a library port of the standalone script in RobertoReale/travel-search.
Tool
verified_hotel_prices
Arg | Default | Meaning |
| — | city/area query, e.g. |
| — |
|
| 2 | occupancy |
|
| ISO code |
| 8 | how many cheapest properties to deep-resolve |
| — | optional OTA whitelist, e.g. |
| false | HEAD-validate booking links and drop dead ones |
Returns JSON: each result has the verified all-in headline provider, every provider
with its tax_status (ok / warn / na), and a durable stable_link. Ranking is
always on the tax-inclusive total; when the cheapest provider excludes taxes, the tool
steps up to the cheapest genuinely all-in provider, so the number you compare is a true
final total. Tourist tax is paid at the property, is in no online
total, and is deliberately not estimated.
Setup
# get a free SerpAPI key (250 searches/month, no card): https://serpapi.com
export SERPAPI_KEY=your_key_here # PowerShell: $env:SERPAPI_KEY="your_key_here"
# with uv
uv sync
uv run hotel-rates-mcp
# or with pip
pip install -e .
hotel-rates-mcpWire it into an MCP client
Add to your project's .mcp.json:
{
"mcpServers": {
"hotel-rates": {
"command": "uv",
"args": ["run", "--directory", "C:\\\\Users\\\\Admin\\\\Downloads\\\\hotel-rates-mcp", "hotel-rates-mcp"],
"env": { "SERPAPI_KEY": "your_key_here" }
}
}
}Tests
uv run pytest -q # or: pytest -qTests cover the pure parsing/ranking/tax/link helpers — no network calls.
Two kinds of tax
OTA taxes & fees (VAT, service) — the comparability problem. Handled by ranking on
total_rateand flagging/stepping past tax-exclusive providers.Tourist tax — a flat local levy paid in cash at the property, in no online total, identical across providers, so it never changes the ranking. Deliberately not estimated (rates vary by municipality and star class); confirm it locally and budget for it as a separate cash cost.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Google Hotels search: rates, ratings, amenities and what each booking site charges, as JSON.
Booking.com stays by destination and dates, and full property details, as structured JSON.
Real-time Booking.com rates for agents. Three things people do with this server. Scan for rate gaps: price_as_seen_from prices the same room from another market, so an agent can sample a property across countries and compare. Put live search in your app: search a destination or look a property up by name, no internal IDs, room-level rates as flat JSON. Run a 24/7 AI travel agent: add the server, sign in with Google, and schedule it. No ads, no sponsored content. You bring your own RapidAPI key, so every search is billed to your plan and never to anyone else's. Add https://hotels.flightpowers.com/mcp , click Sign in, sign in with Google, and paste your RapidAPI key once on the page that opens. Scripts and clients without a sign-in button send the key as x-rapidapi-key on the same URL.
Search hotel prices, get best overall and best direct price in structured response. Get your developer token at https://Infoseek.ai/mcp