Skip to main content
Glama
cheapflights-mcp

cheapflights-mcp

πŸ›« CheapFlights MCP

An open-source MCP server that helps you find the cheapest flights with smart suggestions.

Features

  • πŸ” Search flights β€” Find cheapest options for any route

  • πŸ“… Flexible dates β€” See which dates are cheapest across a month

  • πŸ’‘ Smart suggestions β€” Nearby airports, date shifts, savings tips

  • πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦ Family pricing β€” Calculates total for adults + children

  • ⚑ Fast β€” Direct Google Flights API access (no scraping)

Install

# Install dependencies
pipx install flights  # provides fli-mcp and fli CLI

# Install this MCP server
pip install cheapflights-mcp

Usage with Claude / Kiro / AI Assistants

Add to your MCP config:

{
  "mcpServers": {
    "cheapflights": {
      "command": "cheapflights-mcp"
    }
  }
}

Then ask your AI:

  • "Find cheapest flights from Melbourne to Tokyo in October for 2 adults and 2 kids"

  • "What are the cheapest dates to fly Sydney to London in January?"

  • "Suggest cheaper alternatives for JFK to NRT on Dec 25"

MCP Tools

Tool

Description

search_flights

Compare flight prices, sorted by cheapest

find_cheapest_dates

Price calendar across a date range

suggest_alternatives

Nearby dates, airports, and route alternatives

Development

git clone https://github.com/YOUR_USERNAME/cheapflights-mcp.git
cd cheapflights-mcp
pip install -e .
cheapflights-mcp  # runs on stdio

Roadmap

  • Multi-source: Add Skyscanner, Kiwi.com APIs

  • Price alerts: Notify when prices drop

  • Destination discovery: "Where can I fly for $500?"

  • Price history: "Is this a good deal?"

  • Booking links: Direct links to book

License

MIT

Available Tools

3 tools
find_airportsSearch AirportsA
Read-onlyIdempotent

Search for airports by city name, airport name, or IATA code.

Use this tool to find airport IATA codes before searching for flights. Supports city names (e.g., "new york" returns JFK, LGA, EWR), airport names (e.g., "heathrow" returns LHR), and IATA codes.

Inputs: query (required), limit. Returns: object

search_datesSearch DatesA
Read-onlyIdempotent

Find the cheapest travel dates between two airports within a date range.

Returns a list of dates with their prices, useful for flexible travel planning. Supports both one-way and round-trip searches.

Inputs: origin (required), destination (required), start_date (required), end_date (required), +8 more. Returns: object

search_flightsSearch FlightsA
Read-onlyIdempotent

Search for flights between two airports on a specific date.

Returns a list of available flights with prices, durations, and leg details. Supports one-way and round-trip searches with various filtering options.

Inputs: origin (required), destination (required), departure_date (required), return_date, +11 more. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a distinct purpose: finding airports, exploring cheapest dates, and searching specific flights. No overlap.

    Naming Consistency5/5

    All tool names follow a verb_noun pattern with consistent verb choices (find/search), making them predictable.

    Tool Count4/5

    With only 3 tools, it's slightly minimal but covers the core flight search workflow without unnecessary bloat.

    Completeness5/5

    The tool set covers the full flight search lifecycle: locate airports, find optimal dates, and retrieve specific flights. No obvious gaps.

    Related MCP Connectors