1. Conduid
  2. Developer Tools
  3. Fli
MCP server · Developer Tools

Fli

Google Flights MCP, CLI and Python Library

97Strong

Scored 20 hours ago · breakdown

About Fli

Fli is an MCP server published by punitarani in the Developer Tools category: google Flights MCP, CLI and Python Library. Conduid read 5 tools from its source: find_airports, get_booking_options, search_dates, search_explore and search_flights. It is published to PyPI as flights and runs with uvx.

The repository has 3.5K stars and 429 forks, is licensed MIT, and its last commit was on 25 Nov 2026. The latest release is v0.11.1 (25 Nov 2026): What's Changed fix(search): recover from Google's "Verifying..." page and name blocked pages (#283) (916103c) fix(fli-js): call fetch unbound so Cloudflare Workers don't… It follows v0.11.0 (25 Nov 2026), and the 5 most recent releases go back to fli-js-v0.0.2 (24 May 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include flights-api, google-flights-api, devtools, api and google-flights.

Install

uvx
uvx flights
pip
pip install flights
From source
git clone https://github.com/punitarani/fli

Tools (5)

find_airportsSearch for airports by city name, airport name, IATA code, or ICAO code.
ParameterTypeDescription
limitintegerMaximum results to return
query *stringCity name, airport name, IATA code, or ICAO code (e.g., 'new york', 'heathrow', 'JFK', 'KJFK')
get_booking_options
ParameterTypeDescription
airlinesarrayFilter by airline IATA codes (e.g., ['BA', 'AA'])
alliancearrayRestrict to alliances: ONEWORLD, SKYTEAM, STAR_ALLIANCE.
cabin_classstringCabin class: ECONOMY, PREMIUM_ECONOMY, BUSINESS, FIRST
carry_onbooleanInclude carry-on bag fee in displayed price. {_IGNORED_BY_TRANSPORT}
checked_bagsintegerNumber of checked bags in price (0-2). {_IGNORED_BY_TRANSPORT}
childrenintegerNumber of children (ages 2-11)
countrystringOptional ISO 3166-1 alpha-2 country code (e.g., 'GB').
currencystringISO 4217 currency code (USD, EUR, GBP, JPY...) for prices.
departure_date *stringTravel date in YYYY-MM-DD format
departure_windowstringDeparture time window in 'HH-HH' 24h format (e.g., '6-20')
destination *stringArrival airport IATA code(s), comma-separated for multiple
emissionsstringFilter by emissions level: ALL or LESS. {_IGNORED_BY_TRANSPORT}
exclude_airlinesarrayAirline IATA codes to EXCLUDE from results.
exclude_alliancearrayAlliance names to EXCLUDE from results.
exclude_basic_economybooleanExclude basic economy fares from results. {_IGNORED_BY_TRANSPORT}
flight_numbersarrayFlight numbers identifying the itinerary to price, in order, taken from a prior search_flights result (e.g. ['BA178'] one-way, ['AA100', 'AA200'] round-trip). Accepts bare numbers ('178') or airline-prefixed ('BA178'). Omit to price the top result.
infants_in_seatintegerNumber of infants (under 2) occupying their own seat
infants_on_lapintegerNumber of lap infants (under 2, no seat)
languagestringOptional BCP-47 language code (e.g., 'en-GB') for the `hl` URL param.
max_layoverintegerMaximum layover duration in minutes.
max_stopsstringMaximum stops: ANY, NON_STOP, ONE_STOP, TWO_PLUS_STOPS
min_layoverintegerMinimum layover duration in minutes.
origin *stringDeparture airport IATA code(s), comma-separated for multiple
passengersintegerNumber of adult passengers
return_datestringReturn date in YYYY-MM-DD format (omit for one-way)
sort_bystringSort by: TOP_FLIGHTS, BEST, CHEAPEST, DEPARTURE_TIME, ARRIVAL_TIME, DURATION, EMISSIONS
top_nintegerRound-trip only: number of outbound options the re-run search expands into return-flight combinations — pass the same value used for the search_flights call that found this itinerary, or a flight found with a higher top_n may not be reproduced here. Cost is `1 + top_n` page fetches. Ignored for one-way searches.
search_datesFind the cheapest travel dates across a flexible date range
ParameterTypeDescription
airlinesarrayFilter by airline IATA codes (e.g., ['BA', 'AA'])
alliancearrayRestrict to alliances: ONEWORLD, SKYTEAM, STAR_ALLIANCE.
cabin_classstringCabin class: ECONOMY, PREMIUM_ECONOMY, BUSINESS, FIRST
childrenintegerNumber of children (ages 2-11)
countrystringOptional ISO 3166-1 alpha-2 country code (e.g., 'GB').
currencystringISO 4217 currency code (USD, EUR, GBP, JPY...) for prices.
departure_windowstringDeparture time window in 'HH-HH' 24h format (e.g., '6-20')
destination *stringArrival airport IATA code(s), comma-separated for multiple (e.g., 'LHR' or 'LHR,CDG')
end_date *stringEnd of date range in YYYY-MM-DD format. A range may span at most
exclude_airlinesarrayAirline IATA codes to EXCLUDE from results.
exclude_alliancearrayAlliance names to EXCLUDE from results.
infants_in_seatintegerNumber of infants (under 2) occupying their own seat
infants_on_lapintegerNumber of lap infants (under 2, no seat)
is_round_tripbooleanSearch for round-trip flights
languagestringOptional BCP-47 language code (e.g., 'en-GB') for the `hl` URL param.
max_layoverintegerMaximum layover duration in minutes.
max_stopsstringMaximum stops: ANY, NON_STOP, ONE_STOP, TWO_PLUS_STOPS
min_layoverintegerMinimum layover duration in minutes.
origin *stringDeparture airport IATA code(s), comma-separated for multiple (e.g., 'JFK' or 'JFK,LGA')
passengersintegerNumber of adult passengers
sort_by_pricebooleanSort results by price (lowest first)
start_date *stringStart of date range in YYYY-MM-DD format
trip_durationintegerTrip duration in days for round-trips
search_exploreDiscover cheap destinations from an origin ("fly anywhere")
ParameterTypeDescription
airlinesarrayFilter by airline IATA codes (e.g., ['BA', 'AA'])
alliancearrayRestrict to alliances: ONEWORLD, SKYTEAM, STAR_ALLIANCE.
cabin_classstringCabin class: ECONOMY, PREMIUM_ECONOMY, BUSINESS, FIRST
countrystringOptional ISO 3166-1 alpha-2 country code (e.g., 'GB').
currencystringISO 4217 currency code (USD, EUR, GBP, JPY...) for prices.
departure_date *stringDeparture date in YYYY-MM-DD format
destinationstringWhere to explore: ANYWHERE, EUROPE, SOUTHERN_EUROPE, ASIA, AFRICA, NORTH_AMERICA, SOUTH_AMERICA, OCEANIA, or a knowledge-graph mid for a region or country (e.g., '/m/07ssc' for the UK). Not an airport or city: use search_flights for a specific destination
exclude_airlinesarrayAirline IATA codes to EXCLUDE from results.
exclude_alliancearrayAlliance names to EXCLUDE from results.
languagestringOptional BCP-47 language code (e.g., 'en-GB') for the `hl` URL param.
limitintegerMaximum number of destinations to return
max_flight_durationintegerMaximum flight duration in minutes
max_priceintegerMaximum price cap for fares
max_stopsstringMaximum stops: ANY, NON_STOP, ONE_STOP, TWO_PLUS_STOPS
origin *stringDeparture airport IATA code (e.g., 'JFK'), or a Google knowledge-graph mid for a city (e.g., '/m/04jpl' for London)
passengersintegerNumber of adult passengers
round_tripbooleanPrice round trips instead of one-ways. Requires a fixed trip length: set trip_min_nights (and trip_max_nights, if given) to the same value
sort_by_pricebooleanSort destinations by price (lowest first)
trip_max_nightsintegerMust equal trip_min_nights for round trips
trip_min_nightsintegerTrip length in nights (round trips must pin one value)
search_flightsSearch for flights on a specific date with detailed filters
ParameterTypeDescription
airlinesarrayFilter by airline IATA codes (e.g., ['BA', 'AA'])
alliancearrayRestrict to alliances: ONEWORLD, SKYTEAM, STAR_ALLIANCE.
cabin_classstringCabin class: ECONOMY, PREMIUM_ECONOMY, BUSINESS, FIRST
carry_onbooleanInclude carry-on bag fee in displayed price. {_IGNORED_BY_TRANSPORT}
checked_bagsintegerNumber of checked bags in price (0-2). {_IGNORED_BY_TRANSPORT}
childrenintegerNumber of children (ages 2-11)
countrystringOptional ISO 3166-1 alpha-2 country code (e.g., 'GB').
currencystringISO 4217 currency code (USD, EUR, GBP, JPY...) for prices. When omitted, Google picks based on locale.
departure_date *stringTravel date in YYYY-MM-DD format
departure_windowstringDeparture time window in 'HH-HH' 24h format (e.g., '6-20')
destination *stringArrival airport IATA code(s), comma-separated for multiple (e.g., 'LHR' or 'LHR,CDG')
emissionsstringFilter by emissions level: ALL or LESS. {_IGNORED_BY_TRANSPORT}
exclude_airlinesarrayAirline IATA codes to EXCLUDE from results.
exclude_alliancearrayAlliance names to EXCLUDE from results.
exclude_basic_economybooleanExclude basic economy fares from results. {_IGNORED_BY_TRANSPORT}
infants_in_seatintegerNumber of infants (under 2) occupying their own seat
infants_on_lapintegerNumber of lap infants (under 2, no seat)
languagestringOptional BCP-47 language code (e.g., 'en-GB') for the `hl` URL param.
max_layoverintegerMaximum layover duration in minutes.
max_stopsstringMaximum stops: ANY, NON_STOP, ONE_STOP, TWO_PLUS_STOPS
min_layoverintegerMinimum layover duration in minutes.
origin *stringDeparture airport IATA code(s), comma-separated for multiple (e.g., 'JFK' or 'JFK,LGA')
passengersintegerNumber of adult passengers
return_datestringReturn date in YYYY-MM-DD format (omit for one-way)
show_all_resultsbooleanReturn all available results instead of curated ~30
sort_bystringSort by: TOP_FLIGHTS, BEST, CHEAPEST, DEPARTURE_TIME, ARRIVAL_TIME, DURATION, EMISSIONS
top_nintegerRound-trip only: number of outbound options to expand into return-flight combinations. Cost is `1 + top_n` page fetches. Round-trip results all from one airline? Raise top_n to see more carriers (max 10) — the default sort otherwise only expands the cheapest 5 outbounds, which are often the same carrier. Ignored for one-way searches.

Security checks

Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 4.1K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by uv.lock and fli-js/bun.lock.
  • ✓No dynamic code executionScanned 73 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdio and Streamable HTTPfli/mcp/server.py:2188, fli/mcp/server.py:2205
Starts other programs
No calls that start other programs
Outbound network calls
3 callsfli/search/client.py:14, fli/search/client.py:126, fli-js/src/search/client.ts:266
Writes or deletes files
1 callfli/cli/errors.py:77
Lockfile
uv.lock and fli-js/bun.lock

Pattern matches on the source text of 73 files: places to read, not proof of what the code does at run time.

Releases

v0.11.1v0.11.1 · 25 Nov 2026What's Changed fix(search): recover from Google's "Verifying..." page and name blocked pages (#283) (916103c) fix(fli-js): call fetch unbound so Cloudflare Workers don't throw Illegal invocation (#282) (b795644) fix(data): add H4 HiSky…
v0.11.0v0.11.0 · 25 Nov 2026What's Changed ci(release): grant the test job the permissions ci.yml requests (#277) (95c7bbc) fix(explore): validate merged price fields; review follow-ups (#274) (af5d0ed) feat: add Google Flights Explore (search_explore) with error-13…
fli-js-v0.0.4fli-js-v0.0.4 · 24 May 2026What's Changed (fli-js) Full Changelog: https://github.com/punitarani/fli/compare/fli-js-v0.0.3...fli-js-v0.0.4
fli-js-v0.0.3fli-js-v0.0.3 · 24 May 2026What's Changed (fli-js) chore(npm): publish under scoped name @punitarani/fli (#185) (f63cb05) Full Changelog: https://github.com/punitarani/fli/compare/fli-js-v0.0.2...fli-js-v0.0.3
fli-js-v0.0.2fli-js-v0.0.2 · 24 May 2026What's Changed (fli-js) Full Changelog: https://github.com/punitarani/fli/compare/fli-js-v0.0.1...fli-js-v0.0.2

README

The repository's README runs to about 4.1K words, fetched 6 days ago. The original in the repository is authoritative.

Read full README
Questions

About Fli

How do I install Fli?

Run uvx flights, then add the server to your MCP client's configuration.

Is Fli safe to use with an AI agent?

Its trust score is 97 out of 100 (strong). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 73 source files found that it serves MCP over stdio and Streamable HTTP, makes outbound network calls (3 calls) and writes or deletes files (1 call). Its dependencies are pinned by uv.lock and fli-js/bun.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Fli still maintained?

Yes — the latest release is v0.11.1 (25 Nov 2026), and the last commit was 7 days ago. The repository has 3.5K stars and 23 open issues.

What tools does Fli provide?

Conduid read 5 tools from the source: find_airports, get_booking_options, search_dates, search_explore and search_flights. 5 of them publish their parameters, listed under Tools above.

What license is Fli released under?

The repository declares the MIT license. That applies to the latest release, v0.11.1, as well.