AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompare
Home/
API Integration/
fli
fli logo

fli

Active·★ 3.2k·MIT·Updated 2026-09-20

Fli gives programmatic access to Google Flights data as a Python library with a CLI and an MCP server. The README says that, unlike libraries that scrape HTML or automate a browser, it talks to Google Flights' API directly by reverse engineering it, which it presents as faster and less prone to break when the page layout changes. Features include one-way and multi-city searches, flexible departure windows, airline filters, cabin classes (economy to first), stop preferences, sorting by price, duration, departure or arrival time, plus rate limiting, automatic retries and input validation.

The MCP server comes from `pipx install flights` and runs over stdio with `fli-mcp` or over streamable HTTP with `fli-mcp-http` (served at 127.0.0.1:8000/mcp/). It exposes two tools: `search_flights` (origin, destination, date, optional return date, cabin class, max stops, departure window, airlines, sort order, passengers) and `search_dates`, which finds the cheapest dates in a flexible range. On the command line, `fli flights JFK LHR 2026-10-25` searches a route and `fli dates JFK LHR` finds cheap days, with options such as only Mondays and Fridays; the JSON output format is marked experimental. It is MIT licensed.

© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.

Guides

This write-up is based on the project's README and public repository data. We have not hand-tested the tool. Data as of 2026-10-18.

License
MIT
Latest release
fli-js-v0.0.4 · 2026-05-24
Last commit
2026-09-20
Contributors
29
Forks
415
Open issues and PRs
22
First published
2025-01-06
PyPI package
flights 0.9.0 · 5,092 downloads last week

Source: GitHub, npm and PyPI public APIs.

#api#flights-api#google-flights#google-flights-api#mcp#mcp-server#mcp-servers
$ Install
$ pipx install flights
↗ Visit site★ GitHub
01

Features

01Direct API access to Google Flights (fast & reliable)
02Comprehensive flight search (one-way, multi-city, flexible dates)
03Advanced filtering (cabin class, stops, airlines, time windows)
04Smart sorting options (price, duration, departure/arrival time)
05Built-in protection (rate limiting, retries, error handling)
02

Why choose it

+Gives an AI assistant real flight search with filters (cabin, stops, airlines, time window) and a flexible-date mode
+Library, CLI and MCP server in one package
+Installs with pipx and runs over stdio or streamable HTTP
+Built-in rate limiting, retries and input validation
03

Trade-offs

!It relies on a reverse-engineered, unofficial interface to Google Flights, which Google can change or block at any time
!Only searches; it does not book, and prices should be confirmed on the airline or Google Flights
!The JSON output format is marked experimental, so scripts that parse it may break
!The Claude Desktop config needs an absolute path to `fli-mcp` for your user account
04

Maintenance check

ActiveChecked: 2026-10-17
Last commit
2026-09-20
Commits, last 90 days
35
Releases, last 90 days
0
Latest release
fli-js-v0.0.4 (2026-05-24)
Open issues
22
Recent issues with at least one comment
8/16
Commits per week, last 12 weeks
Commits per week, last 12 weeks: 0, 0, 0, 0, 0, 0, 0, 8, 27, 0, 0, 0

Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.

05

Compatibility

Python
Python Library/CLI
Verified via docs
Claude Desktop
AI Assistant Integration
Verified via docs
Operating Systems
Cross-platform
Verified via docs
06

Quick start

1
$ pipx install flights
07

Use cases

↳Programmatic flight search and deal finding via Python API
↳Interactive flight search and cheapest date discovery via CLI
↳AI assistant integration (e.g., Claude) for natural language flight queries
08

Alternatives

⚡Top VS:
VSddgs★3.0k→VSdata-api-builder★1.5k→VSmcp-google-sheets★1.0k→VS

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Maintenance check05Compatibility06Quick start

Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.

Most discussed open issues

  • #260 Connecting itinerary MRS->HAN not found even though both legs (MRS->IST, IST->HAN via TK) exist in fli's own data7 comments · 2026-09-27
  • #168 Is it possible to retrieve OTA/reseller prices (Expedia, Gotogate, eDreams, etc.) in addition to airline-direct fares?6 comments · 2026-05-18
  • #197 Clean pipx install is missing dependencies2 comments · 2026-06-08
  • #53 Google Explore2 comments · 2026-03-03
  • #237 MCP does not include flight URL1 comments · 2026-09-16

Issue titles are quoted from GitHub. Open the link to check whether a problem still applies to the version you use.

postman-mcp-server
★324
→
ddgs logo
ddgs★ 3.0k
A metasearch library that aggregates results from diverse web search services
VSCompare→
data-api-builder logo
data-api-builder★ 1.5k
Data API builder provides modern REST, GraphQL endpoints and MCP tools to your Azure Databases and on-prem stores.
VSCompare→
mcp-google-sheets logo
mcp-google-sheets★ 1.0k
This MCP server integrates with your Google Drive and Google Sheets, to enable creating and modifying spreadsheets.
VSCompare→
postman-mcp-server logo
postman-mcp-server★ 324
Connect your AI to your APIs on Postman
VSCompare→
hookdeck-cli logo
hookdeck-cli★ 365
CLI for Hookdeck: forward webhooks to localhost (ngrok alternative), manage and query Event Gateway resources (sources, connections, destinations, events), run the MCP server for AI agents. Free for dev.
VSCompare→
onetool-mcp logo
onetool-mcp★ 24
🧿 One MCP for developers - no tool tax, no context rot. 100+ tools including Brave, Google, Context7, Excalidraw, AWS, Version Checker, Excel, File Ops, Database, Playwright, Chrome DevTools and many more.
VSCompare→
yandex-tracker-mcp logo
yandex-tracker-mcp★ 123
Yandex Tracker MCP Server with OAuth2 support
VSCompare→
ninjaone-mcp logo
ninjaone-mcp★ 26
MCP server for NinjaOne — device monitoring, patching, scripting, and alert management tools for AI assistants
VSCompare→
See all alternatives →
07
Use cases
08Alternatives
punitarani /
fli
↗

Google Flights search as a Python library, CLI and MCP server

3.2k415MIT
Last commit1mo ago
StatusActive
CategoryAPI Integration
Contributors29
Latest releasefli-js-v0.0.4
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit