Skip to main content
Glama
thealexauer

google-flights-mcp

by thealexauer

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CACHE_DIRNoCache directory path.cache
DEFAULT_GLNoGoogle locale (affects pricing region)at
DEFAULT_HLNoLanguageen
MAX_RESULTSNoMax flight results per search8
SERPAPI_KEYYesYour SerpApi API key
CACHE_TTL_MSNoCache duration in ms (1hr)3600000
DEFAULT_HUBSNoPreferred connection airportsFRA,ZRH,BRU
MONTHLY_LIMITNoMonthly search budget100
DEFAULT_ADULTSNoNumber of passengers1
DEFAULT_AIRLINESNoAirline/alliance filterSTAR_ALLIANCE
DEFAULT_CURRENCYNoPrice currencyEUR
DEFAULT_TRAVEL_CLASSNo1=Economy, 2=Premium Economy, 3=Business, 4=First3
DEFAULT_HOME_AIRPORTSNoHome airportsMBA,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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 4 tools

Disambiguation4/5

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.

Naming Consistency5/5

All tools follow a consistent snake_case verb_noun pattern (get_booking_options, search_flights, search_multi_city, get_usage). No deviations in convention.

Tool Count5/5

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.

Completeness4/5

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.

Maintenance

ActivityInactive
ResponsivenessNo issues