Skip to main content
Glama
saikandikatta

cheapflights-mcp

README.md
# ๐Ÿ›ซ 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

```bash
# 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:

```json
{
  "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

```bash
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

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.