fli

fli

MCP server and library for direct access to Google Flights API for flight searches.

MCPResearchOpen source
Type
MCP
Open source
Yes
GitHub Stars
★ 2.9k
Source
mcp-github

Overview

Fli is a powerful Python library providing programmatic access to Google Flights data, with an elegant CLI interface. It directly interacts with Google Flights' API via reverse engineering, delivering fast and reliable results. No web scraping required, and supports modular extensions. Ideal for AI agents or applications needing flight search functionality.

Capabilities

  • Search flights for specific dates
  • Find the cheapest travel dates
  • Detailed filtering of flight results
  • Support for multiple cabin classes and airline filters
  • Support for multi-airport and multi-leg itineraries

Use cases

AI travel assistantFlight price monitoringTravel planning toolsBusiness travel management

Setup

Requires: API KeyPython 环境
pipx install flights or pip install flights

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

How to run the MCP server?

Run with `fli-mcp` on STDIO, or use `fli-mcp-http` over HTTP.

Do I need to configure an API Key?

Yes, an API Key must be configured to access Google Flights data.

Related skills