Prerequisites
Before setting up the MCP server, ensure you have:- Python 3.10 or higher installed
- Claude Desktop installed
- Command line access
Installation
Install Fli
Install Fli using pip or uv:Or with uv:This installs both the library and the
fli-mcp command.Verify installation
Confirm the MCP server is installed correctly:You should see the help output for the MCP server command.
Add Fli to Claude Desktop
Edit the configuration file to add Fli’s MCP server. Create the file if it doesn’t exist.If you’re using uv, you can specify the full path:
Restart Claude Desktop
Completely quit and restart Claude Desktop for the changes to take effect.The MCP server will start automatically when Claude Desktop launches.
Configuration (optional)
You can customize the MCP server behavior using environment variables. Add them to your Claude Desktop configuration:Testing the connection
Try these example queries in Claude Desktop:Search for specific flights
Search for specific flights
search_flights tool to return available flights with prices.Find cheapest dates
Find cheapest dates
search_dates tool to compare prices across the date range.Complex filters
Complex filters
Troubleshooting
Claude doesn't see the tools
Claude doesn't see the tools
- Ensure you completely quit and restarted Claude Desktop (not just closed the window)
- Check that the
fli-mcpcommand works in your terminal - Verify the configuration file path is correct for your operating system
- Check the Claude Desktop logs for connection errors
Command not found error
Command not found error
- Verify Fli is installed in your Python environment
- If using a virtual environment, provide the full path to the
fli-mcpcommand - Try the uv-based configuration shown in Step 4
Rate limiting errors
Rate limiting errors
The server has a built-in 10 requests/second limit with automatic retries. If you hit rate limits:
- Wait a few seconds between searches
- The server will automatically retry with exponential backoff
- Consider adding a small delay between multiple consecutive searches
Next steps
Tool reference
Learn about all available search parameters
Configuration
Customize defaults and behavior