FliSAFE
Google Flights MCP, CLI and Python Library
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://deepwiki.com/punitarani/fli)
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 `fli` special? 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//.local/bin/fli-mcp"
}
}
}Note: Replace ` with your actual username. You can also find the path to the MCP server by running which fli-mcp` in your terminal.MCP Tools Available
The MCP server provides two main tools:
search_flights Parameters
1982dacd7b52OBSERVED · 2026-09-22Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add fli-js -- npx -y [email protected]
{
"mcpServers": {
"fli-js": {
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}Exposed tools (1)
1 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
search_flights | read | return { |
Trust audit
SAFEgrade B · trust 87/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | WARN |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (3 observation(s))
- Network
- declared (2 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (25)
- `fli-mcp-http` - MCP server over HTTP, defaulting to `http://127.0.0.1:8000/mcp/`
booking_results_aa_jfk_lax.bin
flight_search_buf_ath_min_layover_120.bin
flight_search_jfk_fra_oneworld.bin
flight_search_jfk_lax_eur.bin
flight_search_jfk_lax_exclude_dl.bin
.actrc
.oxlintrc.json
import { parseIsoDate } from "../../core/dates.ts";import { formatIsoDate, parseIsoDate } from "../../core/dates.ts";import { airportDisplayName, searchAirports } from "../../src/core/airports.ts";} from "../../src/core/builders.ts";
import { Airport } from "../../src/models/airport.ts";- **MCP HTTP server**: `uv run fli-mcp-http` (serves at `http://127.0.0.1:8000/mcp/`)
fli-mcp-http # serves at http://127.0.0.1:8000/mcp/
fli-mcp-http # serves at http://127.0.0.1:8000/mcp/
Once running, the MCP endpoint is served at `/mcp/`, for example: `http://127.0.0.1:8000/mcp/`.
"CBwQAhpIEgoyMDMwLTA5LTE1KAEyCE9ORVdPUkxEagcIARIDSkZLagcIARIDRVdScgcIARIDTEhScgcIARIDTEdXegNEVUKIATyQAfABGkgSCjIwMzAtMDktMTkoATIIT05FV09STERqBwgBEgNMSFJqBwgBEgNMR1dyBwgBEgNKRktyBwgBEgNFV1J6A0RVQogBPJA
const binary = atob(standard);
const bin = atob(standard);
b_built = base64.b64decode(built + "=" * ((4 - len(built) % 4) % 4))
fli-js
zod, @biomejs/biome, @types/bun, @types/node, oxlint, typescript
docs/assets/mcp-demo.gif
docs/assets/mcp-demo.mp4
Gates applied: no_behavioural_pass.
1982dacd7b52full audit observations/trust-audit/mcp-server/punitarani__fli.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-09-22 | 1982dacd7b52 | SAFE | B | 87 | source changed, verdict held |
| 2026-09-18 | 2d0ccbce3705 | SAFE | B | 87 | first audit |
Questions
What is the Fli MCP server?
Google Flights MCP, CLI and Python Library
What tools does Fli expose?
1 in total: 1 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Fli safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (87/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Fli need?
No credential environment variables were found in its source, so it appears to need none.
How does Fli run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as fli-js at 0.0.4.
How current is this page?
The grade is for one exact copy of the source (1982dacd7b52), read on 2026-09-22. The repository is watched and re-audited when it changes.