AG

andreacappelletti97/google-flights-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

5 stars 6 forks Качество 69 Тренд 13ISC

The most feature-rich MCP server for Google Flights. No API key required.

Обзор

The most feature-rich MCP server for Google Flights. No API key required. 12 tools for searching flights, tracking prices, comparing cabins, analyzing layovers, and more, all powered by real-time Google Flights data. Works with Claude Desktop, Claude Code, Cursor, and any MCP-compatible client. - per flight and per leg (CO2 in kg) - : Google's own assessment of whether a price is low, typical, or high - : track prices over time with SQLite persistence, detect drops and trends - : 60 days of daily prices in a single API call - : economy vs premium vs business vs first, side by side - : find cheaper alternatives (e.g., EWR/LGA near JFK) - : connection time risk assessment (tight/comfortable/overnight) - : Boeing 787 vs 777, seat pitch in inches - : direct booking links users can click - "Find nonstop flights from JFK to London next month" - "What's the cheapest week to fly SFO to Tokyo?

README

Показан фрагмент оригинального README. Открыть оригинал.

google-flights-mcp

The most feature-rich MCP server for Google Flights. No API key required.

12 tools for searching flights, tracking prices, comparing cabins, analyzing layovers, and more, all powered by real-time Google Flights data.

Works with Claude Desktop, Claude Code, Cursor, and any MCP-compatible client.

Features no other Google Flights MCP has

  • Carbon emissions per flight and per leg (CO2 in kg)
  • Price context: Google’s own assessment of whether a price is low, typical, or high
  • Price tracking: track prices over time with SQLite persistence, detect drops and trends
  • Calendar heatmap: 60 days of daily prices in a single API call
  • Cabin class comparison: economy vs premium vs business vs first, side by side
  • Nearby airport suggestions: find cheaper alternatives (e.g., EWR/LGA near JFK)
  • Layover analysis: connection time risk assessment (tight/comfortable/overnight)
  • Aircraft & seat details: Boeing 787 vs 777, seat pitch in inches
  • Google Flights URLs: direct booking links users can click

What you can ask

  • “Find nonstop flights from JFK to London next month”
  • “What’s the cheapest week to fly SFO to Tokyo?”
  • “Compare economy vs business class for LAX to Paris”
  • “Are there cheaper airports near JFK I should check?”
  • “Track the price of SFO to NRT on June 15 and alert me if it drops”
  • “Show me the emissions for flights from SFO to Tokyo”
  • “Analyze the layovers for connecting flights from SFO to Bangkok”

Quick start

Option 1: npx (no install)

Works immediately with Claude Code:

claude mcp add google-flights -- npx -y google-flights-mcp

Or with Claude Desktop, add to your claude_desktop_config.json:

{
  "mcpServers": {
    "google-flights": {
      "command": "npx",
      "args": ["-y", "google-flights-mcp"]
    }
  }
}

Option 2: Install from source

git clone https://github.com/andreacappelletti97/google-flights-mcp.git
cd google-flights-mcp
npm install
npm run build

Then connect to Claude Code:

claude mcp add google-flights node /absolute/path/to/google-flights-mcp/dist/index.js

Or Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "google-flights": {
      "command": "node",
      "args": ["/absolute/path/to/google-flights-mcp/dist/index.js"]
    }
  }
}

Restart your MCP client. You should see 12 flight tools available.

Tools (12)

Tool Description
Открыть полный README на GitHub

Установка

npx -y google-flights-mcp
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "google-flights": { "command": "npx", "args": ["-y", "google-flights-mcp"] } } }