Skip to main content

Prerequisites

Before setting up the MCP server, ensure you have:
  • Python 3.10 or higher installed
  • Claude Desktop installed
  • Command line access

Installation

1

Install Fli

Install Fli using pip or uv:
Or with uv:
This installs both the library and the fli-mcp command.
2

Verify installation

Confirm the MCP server is installed correctly:
You should see the help output for the MCP server command.
3

Locate Claude Desktop config

Find your Claude Desktop configuration file:macOS:
Windows:
Linux:
4

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:
5

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.
6

Verify connection

In Claude Desktop, start a new conversation and ask:
Claude should respond indicating it has access to the search_flights and search_dates tools.

Configuration (optional)

You can customize the MCP server behavior using environment variables. Add them to your Claude Desktop configuration:
See the configuration guide for all available options.

Testing the connection

Try these example queries in Claude Desktop:
Claude will use the search_flights tool to return available flights with prices.
Claude will use the search_dates tool to compare prices across the date range.
Claude will apply the appropriate filters to the search.

Troubleshooting

  • Ensure you completely quit and restarted Claude Desktop (not just closed the window)
  • Check that the fli-mcp command works in your terminal
  • Verify the configuration file path is correct for your operating system
  • Check the Claude Desktop logs for connection errors
  • Verify Fli is installed in your Python environment
  • If using a virtual environment, provide the full path to the fli-mcp command
  • Try the uv-based configuration shown in Step 4
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