Reverse engineer anything with agents, from app behavior down to native binaries.
Install
pipx install flightsInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →🛫 Fli - Flight Search MCP Server and Library
A powerful Python library that provides programmatic access to Google Flights data with an elegant CLI interface. Search flights, find the best deals, and filter results with ease.
🚀 What makes
flispecial? Unlike other flight search libraries that rely on web scraping, Fli directly interacts with Google Flights' API through reverse engineering. This means:
- Fast: Direct API access means faster, more reliable results
- Zero Scraping: No HTML parsing, no browser automation, just pure API interaction
- Reliable: Less prone to breaking from UI changes
- Modular: Extensible architecture for easy customization and integration
MCP Server
pipx install flights
# 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/
Connecting to Claude Desktop
{
"mcpServers": {
"fli": {
"command": "/Users/<user>/.local/bin/fli-mcp"
}
}
}
Note: Replace
<user>with your actual username. You can also find the path to the MCP server by runningwhich fli-mcpin your terminal.
MCP Tools Available
The MCP server provides two main tools:
| Tool | Description |
|---|---|
search_flights |
Search for flights on a specific date with detailed filters |
search_dates |
Find the cheapest travel dates across a flexible date range |
search_flights Parameters
| Parameter | Type | Description |
|---|---|---|
origin |
string | Departure airport IATA code(s) — comma-separated for multi |
destination |
string | Arrival airport IATA code(s) — comma-separated for multi |
departure_date |
string | Travel date in YYYY-MM-DD format |
return_date |
string | Return date for round trips (optional) |
cabin_class |
string | ECONOMY, PREMIUM_ECONOMY, BUSINESS, or FIRST |
max_stops |
string | ANY, NON_STOP, ONE_STOP, or TWO_PLUS_STOPS |
departure_window |
string | Time window in 'HH-HH' format (e.g., '6-20') |
airlines |
list | Filter by airline codes (e.g., ['BA', 'AA']) |
exclude_airlines |
list | Airline IATA codes to exclude (e.g., ['DL', 'B6']) |
alliance |
list | Restrict to alliances: ONEWORLD, SKYTEAM, STAR_ALLIANCE |
exclude_alliance |
list | Alliance names to exclude from results |
min_layover |
int | Minimum layover duration in minutes (multi-stop only) |
max_layover |
int | Maximum layover duration in minutes (multi-stop only) |
top_n |
int | Round-trip only: outbound options expanded into return flights (default 5, 1-10) |
currency |
string | ISO 4217 code (e.g. 'EUR', 'JPY') — flows to curr= param |
language |
string | BCP-47 language code (e.g. 'en-GB') — flows to hl= param |
country |
string | ISO 3166-1 alpha-2 country code (e.g. 'GB') for gl= param |
sort_by |
Similar plugs
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)