flights-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FLIGHTS_COUNTRY | No | Country for Google Flights (ISO 3166-1). | IT |
| FLIGHTS_CURRENCY | No | Price currency (ISO 4217). | EUR |
| FLIGHTS_DATA_DIR | No | The data folder where routes, the search history (flights.db) and the Excel files are stored. | ~/Documents/Flights |
| FLIGHTS_RESPONSE | No | Forces the format of responses to the model: `compact` or `full`. | auto |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Tracks one-way flight prices on Google Flights. Typical flow: list_routes to see saved routes, create_route for a new one, search_flights to refresh prices, get_summary to re-read the results. Every search is kept in the history (price changes and all-time lows) and updates an Excel file in the data folder. If the client shows the interactive interface, search_flights and get_summary return only a few lines and the table is already visible to the user: do not repeat it. Otherwise show the table as is, with its links.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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. |
| create_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. |
| delete_routeB | Delete a tracked route. Its history in the database and its Excel file are kept. |
| 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. |
| 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. |
| 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. |
| export_excelB | Rebuild a route's Excel file from the history (normally it updates by itself after each search). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| flights_interface | Interactive flights table with filters, price changes and price trends |
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.