flights-mcp
Searches Google Flights for one-way fares across configured dates and airport pairs, tracks price changes and all-time lows, and records each search in history.
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., "@flights-mcp track one-way flights from FCO to MUC on Oct 12, nonstop only"
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.
flights-mcp — flight price tracking for Claude
An MCP server for Claude Desktop that keeps an eye on one-way flight prices on Google Flights. You save one or more routes (dates × departure airports × arrival airports), ask Claude to refresh them whenever you like, and every search is kept in the history: Claude tells you what went up, what went down, each flight's all-time low and which flights disappeared. Everything also ends up in one Excel file per route.
Searches use the fli library (PyPI package flights), which
queries Google Flights directly. It is not an official API: if Google changes something, it may
stop working until the library is updated.
Install in Claude Desktop
With the bundle (recommended)
Download
flights-mcp.mcpbfrom the Releases page.Double-click the file (or in Claude Desktop: Settings → Extensions → Install extension).
Choose the folder for Excel files and history (default
~/Documents/Flights), the currency and the country.
Claude Desktop installs Python and the dependencies by itself: you don't need Python on your computer.
Manual
You need uv. Clone the repo and add to
~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"flights": {
"command": "uv",
"args": ["run", "--directory", "/path/to/the/repo", "server.py"],
"env": { "FLIGHTS_DATA_DIR": "/Users/your-user/Documents/Flights" }
}
}
}If Claude Desktop can't find uv, use its full path (which uv, e.g.
/Users/your-user/.local/bin/uv). Then restart Claude Desktop.
Related MCP server: Google Flights MCP
Interactive interface
In Claude Desktop (and other clients that support MCP Apps),
search_flights and get_summary show an interactive table right in the chat: filters by date
and leg, sorting, changes since the previous search, all-time low, a price-trend chart for each
flight, Google Flights links and a button to refresh prices.
This saves tokens: the model receives a 3-4 line summary instead of the full table (about −95% on
a route with twenty-odd flights), while the full data is read only by the widget. In clients
without the interface (e.g. Claude Code) the tools return the full markdown table. You can force
either behaviour with FLIGHTS_RESPONSE=compact or full.
Skill for Claude
skills/flight-search/ contains the skill that teaches Claude how to use
the server (reusing routes, what to write in chat, no repeated tables when the widget is shown).
Personal preferences (home airports, route naming) go in skills/flight-search/PREFERENCES.md,
which is git-ignored: start from PREFERENCES.example.md.
./scripts/package_skill.sh # builds dist/flight-search.zip
./scripts/package_skill.sh --install # ...and also installs it in ~/.claude/skills (Claude Code)
./scripts/package_skill.sh --public # dist/release/flight-search.zip, without PREFERENCES.md (for Releases)For Claude Desktop / claude.ai: Settings → Capabilities → Skills → Upload skill and pick
dist/flight-search.zip. To update it, edit the files, rebuild the zip and upload it again.
Usage
Just talk to Claude, for example:
Track flights from Rome Fiumicino (FCO) to Munich and Frankfurt (MUC, FRA) on October 12 and 13, nonstop only.
Refresh prices for the route october_FCO_germany.
How did prices look in the last search?
Tools exposed by the server:
Tool | What it does |
| Lists saved routes, their status and the data folder |
| Creates or edits a route (dates, IATA airports, stops, max duration, adults, cabin) |
| Deletes a route (history and Excel are kept) |
| Searches all legs with future dates, stores them in the history, updates the Excel and returns the summary |
| Re-reads the last search: prices, changes, all-time low, Google Flights links |
| Regenerates a route's Excel file |
| Interface only: full data with price history (hidden from the model) |
Dates already in the past are skipped automatically.
Where the data goes
In the data folder (FLIGHTS_DATA_DIR, default ~/Documents/Flights):
Flights/
├── routes/<route>.json # routes to track
├── flights.db # history of every search (SQLite)
└── <route>.xlsx # one Excel per route, regenerated after each searchThe Excel file has a Summary sheet (latest search with changes and all-time low), a
Price history sheet (one flight per row, one column per search) and one sheet per search.
If the Excel file is open while a search runs, the history is saved anyway and the Excel can be
regenerated later with export_excel.
Settings (environment variables; with the bundle you choose them at install time):
Variable | Default | |
|
| data folder |
|
| price currency (ISO 4217) |
|
| country for Google Flights (ISO 3166-1) |
|
|
|
Command line
The same features are available from the terminal:
uv run flights list
uv run flights search october_FCO_germany # no name: every route
uv run flights summary october_FCO_germany
uv run flights export october_FCO_germanyBuilding the .mcpb bundle
npx @anthropic-ai/mcpb pack . dist/flights-mcp.mcpbLicense
MIT
Available Tools
7 toolscreate_routeA
Create (or, with overwrite=True, edit) a route to track.
name: e.g. december_FCO_MUC (letters, digits, _ and -). dates: departure dates YYYY-MM-DD; every combination dates x origins x destinations is searched. origins / destinations: IATA codes, e.g. ["FCO"], ["MUC", "FRA"]. max_stops: NON_STOP, ONE_STOP_OR_FEWER, TWO_OR_FEWER_STOPS or ANY. max_duration: e.g. "5h" or "2h 30m"; null for no limit. cabin: ECONOMY, PREMIUM_ECONOMY, BUSINESS or FIRST. Editing a route keeps its price history.
Inputs: name (required), dates (required), origins (required), destinations (required), +5 more.
delete_routeB
Delete a tracked route. Its history in the database and its Excel file are kept.
Inputs: name (required).
export_excelB
Rebuild a route's Excel file from the history (normally it updates by itself after each search).
Inputs: route (required).
get_summaryC
Results of a route's latest search, sorted by price, with the change since the previous search, all-time low, Google Flights links, disappeared flights and legs without flights.
Inputs: route (required).
list_routesA
List the tracked routes with their parameters, number of searches in the history, status (running / with results / never run) and the folder holding the Excel files and data.
Inputs: no named parameters.
route_dataC
Interface only: full data of a route (flights with price history) and the status of a running search. Not needed by the model.
Inputs: route (required).
search_flightsA
Refresh a route's prices: search every leg with a future date, store the search in the history and update the Excel file. If it finishes within wait_seconds (max 110) the summary is returned right away; otherwise it keeps running in the background and get_summary reads it later.
Inputs: route (required), wait_seconds.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Most tools have clearly distinct purposes: list/create/delete routes, search prices, get a summary, and export Excel. The main ambiguity is route_data versus get_summary, since both expose route data, but route_data is explicitly marked as an interface-only tool not needed by the model.
The set mostly follows a predictable verb_noun pattern: list_routes, create_route, delete_route, search_flights, get_summary, export_excel. route_data is the one deviation, being noun_noun rather than action-oriented.
Seven tools is well-scoped for a flight-route tracking server. Each tool maps to a meaningful lifecycle operation: manage routes, run searches, retrieve summaries, and export data.
The surface covers route creation, listing, deletion, price searching, summaries, and Excel export, with editing handled through create_route(overwrite=True). Minor gaps include no explicit search cancellation and no direct browse-history operation beyond route_data, which is described as not needed by the model.
Maintenance
Related MCP Connectors
Search award flights and cash fares, optimize points, and predict fares inside ChatGPT and Claude.
Google Flights for any route and date: price, airlines, flight numbers, times, stops, layovers, aircraft, legroom and CO2. One way or round trip, any cabin and currency. Runs on Apify, $0.20 per 1,000 flights.
Google Flights fares for any route and date, plus a tracker that flags price drops.
Live Google Flights fares for AI agents: prices, airlines, stops, times, CO2 and price history.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables searching and analyzing Google Flights data including prices, emissions, cabin classes, layovers, and price tracking, all without an API key.12263 npm5ISC
- AlicenseAqualityCmaintenanceEnables searching Google Flights for one-way, round-trip, and multi-city itineraries, plus fare tracking and price alerts via SerpAPI.9MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to search real-time Google Flights data without an API key, covering flight and multi-city searches, cabin class comparisons, 60-day price calendars, SQLite-backed price tracking, emissions and aircraft details, nearby airport lookup, and layover risk analysis.212263 npmISC
- AlicenseNot gradedqualityBmaintenanceEnables Claude to search Google Flights for one-way, round-trip, open-jaw and multi-city itineraries with filters for cabin, stops, airlines, alliances, layovers, duration and price. It also compares the cheapest fares across dates and checks whether a round-trip ticket beats two separate one-way bookings.MIT