Skip to main content
Glama
afgoes
by afgoes

cheapdates

Las fechas más baratas para volar una ruta, directamente desde Google Flights. CLI + servidor MCP.

Por qué existe esto: el calendario de precios de Google (GetCalendarGraph) está firmado por BotGuard en cada solicitud, así que todo cliente HTTP puro (fli dates, google-flights-mcp, …) ha devuelto resultados vacíos desde mediados de 2026. cheapdates tiene dos backends:

  • graph — utiliza Chromium headless para ir a la página de la ruta, abre Price graph y lee el calendario que recibe la propia página. Una llamada ≈ 60 fechas de salida, solo ida o ida y vuelta. ~3 s por 60 días.

  • sweep — una búsqueda de fast-flights por fecha, sin navegador. ~0.5 s por fecha con 4 trabajadores; también te indica la aerolínea.

auto (por defecto) usa graph cuando Playwright + Chromium están instalados; de lo contrario, sweep; si graph falla, recurre a sweep.

Instalación

git clone https://github.com/afgoes/cheapdates.git && cd cheapdates && uv sync   # see INSTALL.md
python -m playwright install chromium       # for the graph backend

Related MCP server: fli

CLI

cheapdates JFK LHR 2026-10-01 2026-11-30            # one-way
cheapdates JFK LHR 2026-10-01 2026-11-30 -r 7       # round trip, 7 nights
cheapdates JFK LHR 2026-10-01 2026-11-30 --nonstop --json
cheapdates JFK LHR 2026-10-01 2026-11-30 -b sweep   # force fast-flights

MCP (Claude Code)

claude mcp add cheapdates -- uv run --directory /path/to/cheapdates cheapdates-mcp

Herramienta: cheapest_dates_tool(origin, destination, start, end, trip_length?, currency?, nonstop?, seat?, backend?).

Python

import datetime as dt
from cheapdates import cheapest_dates
r = cheapest_dates("JFK", "LHR", dt.date(2026,10,1), dt.date(2026,11,30), trip_length=7)
print(r.cheapest)

Advertencias

Está realizado mediante ingeniería inversa; Google puede cambiar la página o la respuesta en cualquier momento. El analizador se prueba con fixtures (pytest), y el backend graph recurre a sweep en caso de fallo.

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    A
    quality
    D
    maintenance
    Integrates Google Flights data into AI workflows for natural language flight searches, price comparisons, flexible date searches, and multi-city itinerary planning with support for various cabin classes and passenger types.
    9
    4
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables flight search and fare calendar exploration by interacting with Google Flights' API, supporting detailed filters for origin, destination, dates, cabin class, airlines, and more.
    3,093
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to search for real-time flights between airports using the SearchAPI.io Google Flights API, returning prices, schedules, airlines, and carbon emissions.

View all related MCP servers

Related MCP Connectors

  • whentofly: flexible-date economy/business flight search + price-level context for AI agents

  • Flight Intelligence MCP — search, cheapest dates, multi-city, airline compare via Google Flights

  • Flight search & booking for AI agents. 400+ airlines, $20-50 cheaper than OTAs.

View all MCP Connectors

Latest Blog Posts

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/afgoes/cheapdates'

If you have feedback or need assistance with the MCP directory API, please join our Discord server