Requirements
- Python 3.10 or higher
- pip, pipx, or uv package manager
Fli requires Python 3.10+ and works on Linux, macOS, and Windows.
Installation methods
- pipx (recommended for CLI)
- pip
- uv
pipx is the recommended way to install Fli if you primarily want to use the CLI or MCP server. It installs the package in an isolated environment while making the commands globally available.After installation, you can use the CLI commands directly:
Verify installation
After installation, verify that Fli is installed correctly:Available commands
After installation, the following commands are available:| Command | Description |
|---|---|
fli | Main CLI interface for flight searches |
fli-mcp | MCP server for STDIO communication |
fli-mcp-http | MCP server over HTTP at http://127.0.0.1:8000/mcp/ |
Development installation
If you want to contribute to Fli or run it from source:Troubleshooting
Command not found: fli
Command not found: fli
If you installed with pipx, make sure pipx’s bin directory is in your PATH:Then restart your terminal or run:
Python version error
Python version error
Fli requires Python 3.10 or higher. Check your Python version:If you need to install a newer Python version, use:
- macOS:
brew install [email protected] - Linux:
sudo apt install python3.12(Ubuntu/Debian) - Windows: Download from python.org
Permission denied errors
Permission denied errors
If you encounter permission errors during installation:
Import errors
Import errors
If you can’t import Fli modules, ensure you’re in the correct environment:
Next steps
Quick start
Get started with your first flight search
MCP Server setup
Configure the MCP server for Claude Desktop