fastflights-mcp
An MCP server that lets AI assistants search Google Flights
through SearchApi: real options, prices and times, returned as
structured data the assistant can reason over. Search only: it never books or buys anything.
Tools
| Tool |
What it does |
search_airports |
Turns a city or airport name into IATA airport codes. |
search_flights |
One-way or round-trip flights between sets of airports, with a budget, stop limits and one recommendation. |
search_multi_city |
Trips of 2 to 6 legs priced as a whole. A search can take one to two minutes. |
Prices are per person. Children and infants are not supported yet.
Use it
You need uv, Python 3.11 or newer, and your own
SearchApi key. Searches are billed to your SearchApi account.
Add the server to your MCP host's configuration, for example:
{
"mcpServers": {
"fastflights": {
"command": "uvx",
"args": ["fastflights-mcp"],
"env": {"SEARCHAPI_API_KEY": "your-key"}
}
}
}
In Claude Code, export the key in your shell first, then claude mcp add fastflights -- uvx fastflights-mcp.
The key stays in the server's environment and is never returned in a tool result.
Status and limits
Alpha. Each search makes several billed requests to SearchApi (a multi-city search up to 10).
Results are marked when a search stopped early and may have missed better options.
This project is not affiliated with or endorsed by Google. Fares change constantly:
confirm on the booking link before you buy.
Source and license
Source and issues: https://github.com/Gabbykoms/FastFlightsMCP. MIT license.