MCP server for Google Flights: search, price tracking, cabin comparison, emissions, and more.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
The most feature-rich MCP server for Google Flights. No API key required.
12 tools for searching flights, tracking prices, comparing cabins, analyzing layovers, and more, all powered by real-time Google Flights data.
Works with Claude Desktop, Claude Code, Cursor, and any MCP-compatible client.
Works immediately with Claude Code:
Or with Claude Desktop, add to your claude_desktop_config.json:
Then connect to Claude Code:
Or Claude Desktop (claude_desktop_config.json):
Restart your MCP client. You should see 12 flight tools available.
| Tool | Description |
|---|---|
search_flights | One-way & round-trip search. Returns prices, airlines, durations, stops, aircraft, seat pitch, CO2 emissions, and price context. |
search_multi_city | Multi-leg itinerary search (2-5 segments). |
| Tool | Description |
|---|---|
get_calendar_heatmap | Full calendar of daily prices (~60 days) from a single API call. Cheapest dates at a glance. |
get_price_insights | Scan a date range to find cheapest departure dates (multiple API calls for precision). |
compare_cabin_classes | Compare economy, premium economy, business, and first class prices for the same route. |
track_price | Record current price and report trend (dropping/rising/stable). Persists in SQLite. |
get_price_history | View all recorded price observations for a tracked route. |
list_tracked_routes | List all routes being price-tracked with last known price. |
| Tool | Description |
|---|---|
lookup_airport | Search 8,800+ airports by city, name, IATA code, or country. |
find_nearby_airports | Find alternative airports within a radius (default: 200km). Uses Haversine distance. |
| Tool | Description |
|---|---|
get_flight_url | Generate a direct Google Flights booking URL. |
analyze_layovers | Analyze connection quality for multi-stop flights. Reports risk level, connection type, aircraft. |
There is no official Google Flights API. This server reverse-engineers Google's internal FlightsFrontendService endpoint. It extracts not just flights, but hidden metadata: emissions, price assessments, daily price calendars, aircraft types, and seat details.
Retry-After headersundici with browser-like headers + rotating User-Agents, fetch fallbackPrice history is stored in SQLite at ~/.google-flights-mcp/prices.db. Each call to track_price records the current cheapest price and reports the trend compared to previous observations.
Fully functional TypeScript codebase:
readonly, no let/var/.push()/for loopsResult<T, E>), not exceptionspipe() + flatMap() for chaining fallible operationsSee CLAUDE.md for architecture details and the Google Flights response format reference.
npm run check to verifyISC
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/google-flights)<a href="https://allmcps.com/mcp/google-flights"><img src="https://allmcps.com/api/badge/google-flights?style=directory" alt="Google Flights on AllMCPs" /></a>