google-flights · andreacappelletti97 — Claude Code MCP server: flight search
Search Google Flights, compare fares across dates and cabin classes, and track price changes through an AI agent. Handy for checking routes without leaving your coding workflow.
claude mcp add google-flights -- npx -y google-flights-mcpWhat google-flights does
The server searches one-way, round-trip, and multi-city itineraries. An agent can compare cabin fares, assess layovers and CO2 emissions, find nearby airports, and return a Google Flights booking link. Date tools include a price calendar and a scan across a range of dates.
Price tracking stores observations in SQLite at ~/.google-flights-mcp/prices.db. No API key is required. The server relies on an internal Google Flights endpoint, so a change to Google's response format can interrupt searches; response structure is validated.
For Claude Code, connect it through npx; there is no need to install the package first. You need npx and access to Google Flights.
What it helps with
- find flights between cities for chosen dates
- compare economy and business fares
- spot cheaper departure dates
- track fare changes on a route
- check layovers and CO2 emissions
Example prompts for the agent
- Find nonstop flights from JFK to London for next month.
- Compare economy and business fares from LAX to Paris.
- Track the SFO to NRT fare for June 15 and tell me if it drops.
How to install google-flights
Platform CLI
claude mcp add google-flights -- npx -y google-flights-mcpPlatform CLI
codex mcp add andreacappelletti97-google-flights -- npx -y google-flights-mcpConfig file
{
"mcpServers": {
"andreacappelletti97-google-flights": {
"command": "npx",
"args": [
"-y",
"google-flights-mcp"
]
}
}
}Config file
{
"servers": {
"andreacappelletti97-google-flights": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"google-flights-mcp"
]
}
}
}Platform CLI
gemini mcp add andreacappelletti97-google-flights npx -y google-flights-mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about google-flights
How do I install google-flights in Claude Code?
Run claude mcp add google-flights -- npx -y google-flights-mcp.
What does google-flights do?
It searches for flights and compares fares across dates and cabin classes. It can also track prices, assess layovers, and show CO2 emissions.
Does google-flights need an API key?
No API key is required. The server gets flight data from Google Flights.
Similar MCP servers
All MCP servers for Data and databases →google-flights by other authors comes first.