$npx skillfedfor your agent

flights

A Python wrapper for Google Flights API

With conditionsPyPI Python ModulesReleased May 2026226.8K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — flights-0.9.0-py3-none-any.whl
v0.9.0 · released 2026-05-21 · Python >=3.10 · 9 runtime deps: babel, curl-cffi, httpx, plotext, pydantic, python-dotenv, ratelimit, tenacity

Yes, if you need programmatic flight search without web scraping. The library is actively maintained, has low install friction, permissive licensing, and no known vulnerabilities. Main caveat: reverse-engineered APIs can break without notice if Google changes its endpoints. Best suited for personal projects, travel automation, or AI assistant integration rather than mission-critical production systems.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Reverse-engineered API access may break if Google Flights changes its internal endpoints.
  • Low friction: pure Python wheel with no compiled dependencies.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.

last release 2026-05-21 (85 days) · last repo commit 2026-07-20 · 3,098 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 226,806 downloads/mo, #9,195 on PyPI

Verify before relying

pip install flights

from flights import FlightSearch

search = FlightSearch()
results = search.search_flights(
    origin='JFK',
    destination='LHR',
    departure_date='2026-10-25'
)
  • Whether the reverse-engineered API access is stable long-term or subject to frequent breaking changes
  • Rate limiting behavior and whether free tier has usage quotas or throttling
  • Whether multi-city searches work reliably across all route combinations
  • Accuracy and freshness of pricing data compared to live Google Flights
Same gist for agents: .md · .json

What it is and what it does

Flights is a Python library that queries Google Flights data by reverse-engineering its internal API rather than scraping HTML. It exposes flight search functionality through both a programmatic Python interface and command-line tools, plus an MCP (Model Context Protocol) server for integration with AI assistants like Claude Desktop.

The library handles one-way and round-trip searches, multi-city itineraries, and flexible date ranges. It supports filtering by cabin class (economy through first), airline preferences, alliance restrictions, layover duration, departure time windows, and result sorting. Built-in rate limiting and automatic retries (via tenacity and ratelimit) protect against transient failures. The CLI provides human-readable output; the MCP server exposes two tools (search_flights and search_dates) for programmatic use.

Use it for

  • Build a travel booking bot or assistant that queries flight prices on behalf of users without HTML parsing
  • Find the cheapest travel dates across a flexible date range for vacation planning
  • Automate multi-city itinerary searches for complex trips with multiple legs
  • Integrate flight search into a Claude Desktop workflow via the MCP server interface
  • Filter flights by airline alliance, cabin class, or layover constraints for specific travel preferences

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need programmatic flight search without web scraping.

The library is actively maintained, has low install friction, permissive licensing, and no known vulnerabilities. Main caveat: reverse-engineered APIs can break without notice if Google changes its endpoints. Best suited for personal projects, travel automation, or AI assistant integration rather than mission-critical production systems.

Install

flights on PyPI

Before you install

Low friction: pure Python wheel with no compiled dependencies. Active maintenance (last commit 2026-07-20, 3098 GitHub stars). Requires Python 3.10+. Nine runtime dependencies including httpx, pydantic, and tenacity suggest solid error handling and retry logic.

Requires Python 3.10 or later. Reverse-engineered API access may break if Google Flights changes its internal endpoints.

License in practice

MIT license (permissive) means you can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.

Quickstart

pip install flights

from flights import FlightSearch

search = FlightSearch()
results = search.search_flights(
    origin='JFK',
    destination='LHR',
    departure_date='2026-10-25'
)

Verify before relying

  • Whether the reverse-engineered API access is stable long-term or subject to frequent breaking changes
  • Rate limiting behavior and whether free tier has usage quotas or throttling
  • Whether multi-city searches work reliably across all route combinations
  • Accuracy and freshness of pricing data compared to live Google Flights

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
9 packages
babelcurl-cffihttpxplotextpydanticpython-dotenvratelimittenacitytyper
MaintenanceActively maintained 85 days since the last release
Last repo commit
First released
Downloads226,806 / month, #9,195 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Internet :: WWW/HTTP :: Indexing/SearchTopic :: Software Development :: Libraries :: Python Modules

Evidence: flights-0.9.0-py3-none-any.whl

Tags

Capabilities
google flights api wrapperflight search library pythonairfare price comparisontravel booking automationflight data scraping alternativemcp server flight searchmulti-city flight queries
Topics
travel-apimcp-serverreverse-engineered
PyPI keywords
apiflight-searchflightsgoogle-flightstravel

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “google flights api wrapper”

  • flightsProgrammatic access to Google Flights search results through…
  • fast-flightsScrapes flight data from Google Flights by decoding Base64-encoded…
  • FlightRadarAPIUnofficial Python SDK for querying FlightRadar24 data, including…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also fast-flights · FlightRadarAPI · airportsdata · fr24 · wikipedia-mcp · fprime-tools · notebooklm-mcp-cli · py-nextbusnext · icalendar-searcher · adbc-driver-flightsql