Fli
MCP server by punitarani Verified · gh:punitarani
Fli is an MCP server, CLI and Python library for searching Google Flights data. It suits developers and travelers who want flight search from Python or from an AI assistant.
Install Fli
Built from the published package, never by AI.
claude mcp add fli -- uvx flightsRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"fli": {
"args": [
"flights"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"fli": {
"args": [
"flights"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"fli": {
"args": [
"flights"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add fli -- uvx flights{
"mcpServers": {
"fli": {
"args": [
"flights"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add fli uvx flightsGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the fli block.
About
Fli is a Python library that gives programmatic access to Google Flights data. It also includes a command line interface and an MCP server that can run over STDIO or streamable HTTP. The MCP server exposes tools for searching flights on a date, finding the cheapest dates in a range, and exploring cheap destinations from an origin airport.
The project describes itself as a direct API client rather than a browser or HTML scraper. Its current search transport reads results from Google's public search page, using the inline data in that page. Users can filter by cabin class, stops, airlines, alliances, layovers, departure windows and passenger counts. The project fits people who want to build flight search into Python code or into an AI assistant such as Claude Desktop.
Written from the project's README and checked against it.
Tools it gives your assistant
search_flightsSearches flights on a specific date with detailed filters, including round trips.search_datesFinds the cheapest travel dates across a flexible date range.search_exploreDiscovers cheap destinations from an origin, powered by Google Flights Explore.
What you need
- Python, installed with pip or pipx
- An MCP client such as Claude Desktop for the MCP server
Try asking
- Find the cheapest one-way flights from JFK to London next month.
- Search business class flights from Berlin to Tokyo on 2026-09-15.
- Show cheap destinations from Boston within a 5-night round trip budget.
Good to know
- Multi-city searches raise SearchUnsupportedError, so each leg must be searched separately.
- The get_booking_options tool is unavailable and currently raises SearchRejectedError.
- The emissions, bags and exclude_basic_economy filters are not supported and are dropped with a warning.
- Searches return roughly 20-45 itineraries per query.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Fli
All alternatives →Searches and discovers Agent Skills from the skills.sh registry, according to its listing description. The source file itself documents the Agent Skills format rather than this server.
Connects AI agents to Exa for web search, content fetching, and multi-step research. It is aimed at developers and AI assistant users who want web results and page content inside their assistant.
Apify MCP server gives AI agents web scraping, data extraction, and browser automation through thousands of ready-made Actors from Apify Store. It suits developers and teams who want agents to pull data from websites without installing a separate MCP server for each site.
Official MCP server for changedetection.io that connects AI assistants such as Claude.AI and OpenAI tools to a changedetection.io dashboard. It lets users ask about tracked web page changes, including price and back-in-stock alerts.
Brave Search MCP Server gives AI assistants web, local, place, image, video and news search through the Brave Search API. It also offers grounded Answers for developers and teams that want cited results.
Scrapling is a Python web scraping framework with an MCP server for AI agents. It offers stealth HTTP requests, browser rendering, Cloudflare Turnstile handling, and CSS selector extraction for developers and scrapers.
Compare with Agent Skills Search Server, Exa or Apify
Fli: common questions
Does Fli scrape Google Flights?
The project says it avoids HTML parsing and browser automation. Its current search reads inline results from Google's public flights search page, so the source describes both approaches.
Can I use Fli with Claude Desktop?
Yes. The README shows a Claude Desktop config that points to the fli-mcp command. It also lists a streamable HTTP mode served at /mcp/.
How many travelers can a search include?
The total of passengers, children, infants in seat and lap infants must be between 1 and 9. Infants on lap cannot exceed passengers.
How do I install Fli?
In Claude Code run claude mcp add fli -- uvx flights. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Fli the official server?
Fli is published by gh:punitarani from its verified domain in the official MCP Registry.
Is Fli free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Fli safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Fli?
Similar MCP servers: Agent Skills Search Server, Exa, Apify, changedetection.io (official).
Does Fli work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
