Skip to content
Fli (Google Flights MCP)

Fli (Google Flights MCP)

Released
v0.11.1
MIT

Summary

Search Google Flights from an AI assistant: dated fare searches with airline, alliance, stop and layover filters, cheapest-date sweeps and "fly anywhere" destination discovery.

Features

  • search_flights: one-way or round-trip fares with cabin, stops, time-window and layover filters
  • Include or exclude specific airlines and alliances (Oneworld, SkyTeam, Star Alliance)
  • search_dates: find the cheapest travel days across a range of up to 93 dates
  • search_explore: "fly anywhere" discovery of cheap destinations from an origin
  • Currency, language and country controls, plus children and infant passengers
  • Stdio (fli-mcp) or streamable HTTP (fli-mcp-http) transports, and a matching CLI

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it.
  3. Restart the agent — the "Fli (Google Flights MCP)" tools will be available.
{
  "mcpServers": {
    "fli-flights-mcp": {
      "command": "fli-mcp"
    }
  }
}

Hosted endpoint

This server is also hosted. A client that supports remote MCP servers can connect to it directly: Run `fli-mcp-http` locally to serve the MCP server over streamable HTTP.

{
  "mcpServers": {
    "fli-flights-mcp": {
      "type": "http",
      "url": "http://127.0.0.1:8000/mcp/"
    }
  }
}

Description

Fli is an open-source Python library, CLI and MCP server that reads flight results from Google Flights. It is an unofficial project by an independent developer, not a Google product, and it works by building Google Flights search requests directly rather than driving a browser.

The MCP server exposes three tools. search_flights prices one date (or a round trip) with a long list of filters: cabin class, maximum stops, a departure-time window, airlines or alliances to include or exclude, minimum and maximum layover, sort order, currency, language and country, plus adults, children and infants. search_dates sweeps a date range to find the cheapest days to travel, optionally for a fixed trip length. search_explore answers the open-ended question — where can I fly cheaply from here? — returning dozens of priced destinations, each with a Google Flights deep link, from an airport or a region such as Europe or Asia.

The README is unusually candid about limits. Since Google gated its internal flight RPCs in August 2026, Fli reads results out of the public search page instead, so a search returns roughly 20-45 itineraries, multi-city searches and booking options are currently unavailable, bag and emissions filters are dropped with a warning, and searches with children or infants can come back thin. Date sweeps cost one page fetch per date and are capped at 93 dates.

Install the flights package from PyPI (pipx install flights is recommended), then point your client at the fli-mcp executable for stdio, or run fli-mcp-http to serve streamable HTTP at http://127.0.0.1:8000/mcp/. The same package gives you the fli command line for terminal searches. MIT-licensed; Python 3.10+.

MCP: Scrapling MCP Server

by Karim Shoair (D4Vinci)

Lets AI agents scrape the web through Scrapling, with HTTP, browser and Cloudflare-bypassing stealth fetches and CSS-narrowed, sanitized output.

MCP: mcp-proxy

by Sergey Parfenyuk

New

Python transport bridge for MCP: lets stdio-only clients reach remote SSE or Streamable HTTP servers, or exposes local stdio servers over SSE and Streamable HTTP, including several named servers at once.

MCP: ripwire

by Red Hat

Featured

Red Hat's zero-dependency C++23 code-context engine — ranked call graphs and blast-radius analysis, indexing a repo in under half a second with no server and no database.

MCP: Engram

by Gentleman Programming

Featured

Persistent memory for coding agents as a single Go binary — SQLite and FTS5 behind MCP, an HTTP API, a CLI and a TUI, with no Node, Python or Docker required.

Browse all MCP servers →