Fli provides a Python MCP server and library to access Google Flights data via an API, with a CLI and Python usage examples. It includes an MCP server, CLI commands, and a Python API for flight search features.
Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (1 so far).
What it is
Fli is a Python library and MCP server that provides programmatic access to Google Flights data, offering a CLI and a Python API for flight search, date searches, and multi-city queries.
How it works
The project exposes an MCP server (fli-mcp and fli-mcp-http) to handle flight search requests, a CLI (fli) for direct usage, and a Python API (modules under fli) for programmatic usage. It describes direct API interaction with Google Flights rather than web scraping, and includes rate limiting, automatic retries, and input validation as built-in protections. Commands and parameters for flights, dates, and multi searches are documented in the README.
Getting started
"pip install flights" appears under Quick Start, and the CLI can be invoked via fli --help. The MCP server can be started with:
# Run the MCP server on STDIO
fli-mcp
# Run the MCP server over HTTP (streamable)
fli-mcp-http # serves at http://127.0.0.1:8000/mcp/
Recent releases
Latest releases include fli-js-v0.0.4 (2026-05-24) and fli-js-v0.0.3 (2026-05-24), with changelog references to internal changes and CI-related updates. The historical v0.9.0 (2026-05-21) notes adding an automated release workflow and unit tests for previously uncovered areas. Full changelogs are linked in the release notes.
Traction
Stars: 3079 Forks: 374 Open issues: 45
Behind the repo
Not provided in the facts block.
Caveats
License: MIT. Created 2025-01-06. Last push 2026-07-20. Language: Python. The README includes experimental flags for certain formats (e.g., --format json) indicating machine-readable outputs may be unstable.






