Google Flights
Search Google Flights prices, find the cheapest travel dates and look up airport codes
- Pricing
- Free
- Platforms
- CLI
- Runs
- Locally
- Version
- 0.1.0
- Listing updated
- 2 days ago
About Google Flights
Google Flights is a free MCP server for maps and travel. It runs locally on your machine and is started by your AI client.
It works with no API key by default, using the fast-flights library to query Google Flights. Setting SERPAPI_KEY switches to SerpApi automatically, which adds flight numbers, layover detail and carbon emissions. Defaults are set by GOOGLE_FLIGHTS_DEFAULT_ORIGIN (LIS) and GOOGLE_FLIGHTS_DEFAULT_CURRENCY (EUR).
search_flights takes origin, destination, dates, passengers, cabin class, currency, max stops and sort order, returning price-ranked options with a Google Flights link. cheapest_dates scans up to a 21-day window by running one search per day. airport_search resolves a city name to an IATA code offline.
Known limits: return searches show outbound options with an estimated round-trip total, and EU or UK requests meet a cookie-consent page the default provider rejects automatically. It needs Python 3.11 or later, or uvx.
Install
Run in a terminal
claude mcp add google-flights-mcp -- uvx google-flights-search-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"google-flights-mcp": {
"command": "uvx",
"args": [
"google-flights-search-mcp"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"google-flights-mcp": {
"command": "uvx",
"args": [
"google-flights-search-mcp"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"google-flights-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"google-flights-search-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"google-flights-mcp": {
"command": "uvx",
"args": [
"google-flights-search-mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"google-flights-mcp": {
"command": "uvx",
"args": [
"google-flights-search-mcp"
]
}
}
}Tools this server provides (3)
Taken from the project documentation; the running server may differ.
- search_flights
- Search flights and rank by price.
- cheapest_dates
- Find the cheapest days in a date window.
- airport_search
- Resolve a city or airport to an IATA code.
What it does
- Price-ranked search
- Results with airline, times, duration and stops.
- Cheapest dates
- Scan a window of up to 21 days.
- Airport lookup
- City names to IATA codes offline.
- Two data sources
- Keyless scraper or SerpApi.
- Booking links
- Each result links to Google Flights.
- Configurable defaults
- Set home airport and currency.
Good for
- Find the cheapest day to fly in a month
- Compare nonstop and one-stop fares
- Look up an airport code
- Price a round trip estimate
Pricing
Free
Free; SerpApi key optional
Prices change. Check thiagolannes.com before you buy.
Google Flights FAQ
Is an API key needed?
No; SerpApi is optional.
How wide can the date scan be?
Up to 21 days.
How are round trips priced?
Outbound options with an estimated round-trip total.
How do I install it?
claude mcp add google-flights -- uvx google-flights-search-mcp.
Is Google Flights free?
Yes. Google Flights is free to use.
How do I add Google Flights to Claude Code?
Run this command in your terminal: claude mcp add google-flights-mcp -- uvx google-flights-search-mcp
What are the best alternatives to Google Flights?
The closest alternatives to Google Flights are Tutu eSIM, Shanghai Streets Travel Guide, Fifty Asks, Gangway AIS and Tickets: tours and event tickets in South America.
Alternatives to Google Flights

Tutu eSIM
MCP serverLive travel eSIM plans, prices and roaming costs for 190+ countries
- 5 tools
- Remote
- Paid
- Maps and travel

Shanghai Streets Travel Guide
MCP serverCurated places, walking routes and areas in Shanghai, Jiangsu and Zhejiang
- 9 tools
- Remote
- Free
- Maps and travel
Fifty Asks
MCP serverLet an agent book a free AI-visibility check or a 15-minute call for a local business
- 10 tools
- Remote
- Free
- Maps and travel

Gangway AIS
MCP serverVessel positions, port calls and anchorage waiting times from licensed AIS data
- 21 tools
- Remote
- Freemium
- Freight and logistics
Public tour and ticket search for Gramado, Calafate, Bariloche, Ushuaia and Cartagena
- 3 tools
- Remote
- Free
- Maps and travel

Goyondo
MCP serverAgent-native trip planner where your AI builds the itinerary and Goyondo stores it
- Remote
- Freemium
- Maps and travel