Google Flights MCP, CLI and Python Library
Fli is a Python library, CLI, and MCP server that queries Google Flights' API directly (no scraping). It exposes search_flights and search_dates tools over STDIO or HTTP so LLM agents can look up fares, dates, and filters.
Use Cases
Let an LLM agent search flights and prices via MCPFind cheapest travel dates over a flexible rangeMulti-city and round-trip itinerary searchFilter results by airline, alliance, cabin class, stops, layoverUse the Python library to query Google Flights API programmaticallyRun fli-mcp over STDIO or HTTP for Claude Desktop/other clientsScript flight searches in CI or shell pipelines via the fli CLI
Built With
- Language
- Python
- Frameworks
- FastMCP · FastAPI · MCP Python SDK · Pydantic · Typer · Rich · HTTPX · Tenacity · Uvicorn · pytest · Hatchling · MkDocs
Tags
mcp · mcp-server · google-flights · flights · travel · flight-search · cli · python-library · fastmcp · stdio · http-streamable · api-wrapper · rate-limiting · pydantic