cheapdates-mcp
cheapdates
ある路線で最も安い日付を、Google Flights から直接取得します。CLI + MCP サーバー。
存在理由: Google の価格カレンダー (GetCalendarGraph) は BotGuard によってリクエストごとに署名されるため、2026 年半ば以降、純粋な HTTP クライアント (fli dates、google-flights-mcp、…) はすべて空の結果を返しています。cheapdates には 2 つのバックエンドがあります:
graph — ヘッドレス Chromium をルートページに誘導し、Price graph を開いて、ページ自体が受け取るカレンダーを読み取ります。1 回の呼び出しで約 60 の出発日 (片道または往復) を取得できます。60 日あたり約 3 秒。
sweep — 日付ごとに 1 回の fast-flights 検索を行い、ブラウザは不要です。4 ワーカーで 1 日あたり約 0.5 秒。航空会社もわかります。
auto (デフォルト) は、Playwright + Chromium がインストールされている場合は graph を使用し、それ以外の場合は sweep を使用します。graph が失敗した場合は sweep にフォールバックします。
インストール
git clone https://github.com/afgoes/cheapdates.git && cd cheapdates && uv sync # see INSTALL.md
python -m playwright install chromium # for the graph backendRelated 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-flightsMCP (Claude Code)
claude mcp add cheapdates -- uv run --directory /path/to/cheapdates cheapdates-mcpツール: 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)注意事項
リバースエンジニアリングによるものです。Google はいつでもページやレスポンスを変更する可能性があります。パーサーはフィクスチャでテストされており (pytest)、graph バックエンドは失敗時に sweep にフォールバックします。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseAqualityDmaintenanceIntegrates 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.94MIT
- AlicenseNot gradedqualityBmaintenanceEnables 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,093MIT
- AlicenseAqualityFmaintenanceConnects AI agents to Google Flights data, enabling retrieval of flight information, cheapest options, time-filtered flights, and best recommendations.427MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to search for real-time flights between airports using the SearchAPI.io Google Flights API, returning prices, schedules, airlines, and carbon emissions.
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.
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/afgoes/cheapdates'
If you have feedback or need assistance with the MCP directory API, please join our Discord server