google-flights-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CACHE_DIR | No | Cache directory path | .cache |
| DEFAULT_GL | No | Google locale (affects pricing region) | at |
| DEFAULT_HL | No | Language | en |
| MAX_RESULTS | No | Max flight results per search | 8 |
| SERPAPI_KEY | Yes | Your SerpApi API key | |
| CACHE_TTL_MS | No | Cache duration in ms (1hr) | 3600000 |
| DEFAULT_HUBS | No | Preferred connection airports | FRA,ZRH,BRU |
| MONTHLY_LIMIT | No | Monthly search budget | 100 |
| DEFAULT_ADULTS | No | Number of passengers | 1 |
| DEFAULT_AIRLINES | No | Airline/alliance filter | STAR_ALLIANCE |
| DEFAULT_CURRENCY | No | Price currency | EUR |
| DEFAULT_TRAVEL_CLASS | No | 1=Economy, 2=Premium Economy, 3=Business, 4=First | 3 |
| DEFAULT_HOME_AIRPORTS | No | Home airports | MBA,FRA,ZRH,BRU |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_flightsA | Search for one-way or round-trip flights. Returns Business class, Star Alliance results by default with EUR pricing. Use for simple A→B or A→B→A searches. |
| search_multi_cityA | Search for multi-city/multi-leg flights (2-5 legs). Primary tool for complex itineraries. Returns Leg 1 options first — use departure_token from results to fetch subsequent legs. Each leg costs 1 API search. Defaults: Business class, Star Alliance, EUR. |
| get_booking_optionsA | Get direct airline booking links and prices for selected flights. Requires a booking_token from a previous search result. Returns airline-direct and third-party booking URLs with prices. |
| get_usageA | Check current monthly SerpApi usage against the free tier limit (100 searches/month). Cached searches are free and not counted. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
search_flights and search_multi_city are distinct in scope (simple vs. multi-leg), and get_booking_options and get_usage serve clearly different purposes. Minor potential confusion between search_flights and search_multi_city for 2-leg itineraries, but descriptions provide clear guidance.
All tools follow a consistent snake_case verb_noun pattern (get_booking_options, search_flights, search_multi_city, get_usage). No deviations in convention.
Four tools cover the essential workflow: searching flights (simple and multi-city), booking, and usage monitoring. Each tool is necessary and well-scoped for the purpose.
Covers flight search, booking options, and usage tracking, which are core to the domain. Missing operations like cancellation or booking completion, but booking links are provided for external completion.