# Search Google Flights

The Search Google Flights MCP server looks up flights on a chosen date or scans a date range to find the cheapest days to fly.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 2595 installs · ★ 3510 repo stars
- Author: punitarani
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/punitarani/fli
- Updated: 2026-09-20
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/search-google-flights

## What it does

The server exposes two tools. `search_flights` returns flights for a specific date with filters for cabin class, number of stops, airlines, alliances and departure time window. `search_cheap_flights` scans a date range to surface the lowest fares. Both accept IATA airport codes, an ISO 4217 currency, a BCP-47 language code, an ISO 3166-1 country code, and passenger counts split into adults, children and infants.

Round-trip queries through `search_flights` take a `top_n` parameter capped at ten: it sets how many outbound options get expanded into return flights. Each query costs `1 + top_n` page fetches, so a higher `top_n` means more fetches per search. If every round-trip result comes from one carrier, raising `top_n` or switching the sort order pulls in other airlines, since the default sort only expands the cheapest outbounds.

It connects over HTTP at `https://fli--punitarani.run.tools`, so there's no local process to run.

## Requirements
- Remote server: `https://fli--punitarani.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http fli https://fli--punitarani.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add search-google-flights --url https://fli--punitarani.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "search-google-flights": {
            "url": "https://fli--punitarani.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "search-google-flights": {
            "type": "http",
            "url": "https://fli--punitarani.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http search-google-flights https://fli--punitarani.run.tools
```

## When to use it
- find the cheapest dates to fly within a range
- filter flights by cabin class and number of stops
- search flights restricted to specific airlines or alliances
- price tickets for a group with children and infants
- compare round-trip options by price or duration

## Example prompts
- Find the cheapest dates to fly from LAX to NRT in June
- Look up nonstop business class flights from London to New York on 2026-03-15
- Pull round-trip options from Berlin to Tokyo with top_n 8, sorted by price

## Similar
- [Google Flights](https://affpapa.org/en/nevibecode/mcp/google-google-flights.md) — MCP server · 289 installs
- [google-flights](https://affpapa.org/en/nevibecode/skills/google-flights.md) — skill · 3100 installs
- [HasData Google Flights](https://affpapa.org/en/nevibecode/mcp/hasdata-google-flights.md) — MCP server · ★ 4 repo stars
- [flightclaw](https://affpapa.org/en/nevibecode/skills/flightclaw.md) — skill · 1100 installs
- [LetsFG — Flights & Hotels](https://affpapa.org/en/nevibecode/mcp/letsfg-flights-hotels.md) — MCP server · ★ 2295 repo stars
- [Ignav Flights](https://affpapa.org/en/nevibecode/mcp/ignav-flights.md) — MCP server · 7205 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
