# google-flights

Search flights, compare fares across travel dates, and look up airport codes. Useful when an agent needs to find a route or compare departure days.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 81
- Author: pulsemcp
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/pulsemcp/mcp-servers/tree/HEAD/experimental/google-flights
- Updated: 2026-10-09
- HTML: https://affpapa.org/en/nevibecode/mcp/google-flights

## What it does

This server gives an agent access to Google Flights searches. Queries can filter by cabin class and stops, then sort or paginate the results. A separate date grid compares fares across travel days, while the airport lookup accepts a city or airport name and partial codes.

No API key is needed. Claude Code can launch the server through `npx` after you add the MCP command. The server also limits request frequency, so repeated searches are subject to that cap.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add google-flights -- npx -y google-flights-mcp-server
```

### Codex

**Platform CLI**
```bash
codex mcp add google-flights -- npx -y google-flights-mcp-server
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "google-flights": {
            "command": "npx",
            "args": [
                "-y",
                "google-flights-mcp-server"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "google-flights": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "google-flights-mcp-server"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add google-flights npx -y google-flights-mcp-server
```

## When to use it
- find flights between two airports
- filter results by cabin class and number of stops
- compare fares across possible travel dates
- look up an airport code from its name

## Example prompts
- Find the cheapest nonstop flights from SFO to LAX for next Friday.
- Compare fares from JFK to London across the days in March.
- Look up the airport codes for Tokyo.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

From the same set: [pulsemcp/mcp-servers](https://affpapa.org/en/nevibecode/by/pulsemcp/mcp-servers.md) — 17 cards

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