# Fli (MCP server)

> Fli is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Google Flights MCP, CLI and Python Library. It has 3,210 GitHub stars, is released under the MIT license and runs locally with uvx flights.

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.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/punitarani/fli |
| GitHub stars | 3,210 |
| License | MIT |
| Language | Python |
| Transport | stdio |
| Packages | pypi: flights |
| Remote URL | none |
| Needs API key | no |
| Official | no |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | Other |
| Latest release | fli-js-v0.0.4 (May 24, 2026) |
| Last commit | Sep 20, 2026 |

## Install

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "fli": {
      "command": "uvx",
      "args": [
        "flights"
      ]
    }
  }
}
```

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

### Claude Code

```sh
claude mcp add --transport stdio fli -- uvx flights
```

### Cursor (.cursor/mcp.json)

```json
{
  "mcpServers": {
    "fli": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "flights"
      ]
    }
  }
}
```

Project file; use ~/.cursor/mcp.json to enable it in every project.

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "fli": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "flights"
      ]
    }
  }
}
```

Config formats checked against the official docs on 2026-10-07.

## Tools

- `origin`: string
- `destination`: string
- `departure_date`: string
- `return_date`: string
- `cabin_class`: string
- `max_stops`: string
- `departure_window`: string
- `airlines`: list
- `exclude_airlines`: list
- `alliance`: list
- `exclude_alliance`: list
- `min_layover`: int
- `max_layover`: int
- `top_n`: int
- `currency`: string
- `language`: string
- `country`: string
- `sort_by`: string
- `passengers`: int
- `children`: int
- `infants_in_seat`: int
- `infants_on_lap`: int
- `start_date`: string
- `end_date`: string
- `trip_duration`: int
- `is_round_trip`: bool
- `sort_by_price`: bool

## Similar MCP servers

- [Reactive Resume](https://appsgit.com/mcp-servers/reactive-resume): A one-of-a-kind resume builder that keeps your privacy in mind. (43,921 stars, MIT)
- [N8n MCP](https://appsgit.com/mcp-servers/n8n-mcp): A MCP for Claude Desktop / Claude Code / Windsurf / Cursor to build n8n workflows for you. (23,047 stars, MIT)
- [XHS Downloader](https://appsgit.com/mcp-servers/xhs-downloader): 小红书（XiaoHongShu、RedNote）链接提取/作品采集工具. (12,922 stars, GPL-3.0)
- [MCP Use](https://appsgit.com/mcp-servers/mcp-use): The fullstack MCP framework to develop MCP Apps for ChatGPT / Claude & MCP Servers for AI Agents. (10,726 stars, MIT)
- [Ha MCP](https://appsgit.com/mcp-servers/ha-mcp): Comprehensive Model Context Protocol server for managing Home Assistant through AI assistants. (4,964 stars, MIT)
- [MCP Server Chart](https://appsgit.com/mcp-servers/mcp-server-chart): A Model Context Protocol server for generating charts using AntV. (4,391 stars, MIT, needs API key)

---

Canonical page: https://appsgit.com/mcp-servers/fli
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
