Fli
Access Google Flights data programmatically and via a command-line interface to search for flights and find deals.
About
Fli is a powerful Python library and command-line interface that enables direct programmatic access to Google Flights data. Unlike traditional web scraping solutions, Fli interacts directly with Google Flights' API through reverse engineering, ensuring faster, more reliable results less prone to breaking from UI changes. It offers robust features for searching flights, finding the best deals, and filtering results with ease, along with a Model Context Protocol (MCP) server for seamless integration with AI assistants like Claude.
Key Features
- Direct API interaction with Google Flights for fast and reliable results without web scraping.
- Comprehensive flight search capabilities with filters for time range, airlines, cabin class, and stops.
- Ability to find the cheapest flight dates across flexible date ranges and specific days.
- Built-in protection features including rate limiting, automatic retries, and error handling.
- Integrated Model Context Protocol (MCP) server for AI assistant integration and natural language flight search.
- 5 GitHub stars
Use Cases
- Automating flight search and data retrieval for custom applications and scripts.
- Quickly finding specific flight information or the cheapest dates via a command-line interface.
- Enabling AI assistants to perform natural language flight searches and present results to users.