跳到正文
FunCoding

google-flights

官方 MCP Registry 已收录

MCP server for searching Google Flights — flight search, date grid pricing, and airport lookup.

Star
81
版本
v0.2.6
许可证
MIT
最近提交
2026年11月25日

Google Flights MCP Server

MCP server for searching Google Flights. Provides flight search, date-price grids for finding cheapest travel dates, and airport IATA code lookup. No API key required.

Highlights

  • Flight search with full filtering (cabin class, stops, sorting, pagination)
  • Date-price grid for finding cheapest travel dates across ~60 days
  • Airport IATA code lookup by city name, airport name, or partial code
  • No API key or authentication required
  • Multi-passenger support (adults, children, infants)
  • Multiple currency support
  • Built-in rate limiting to avoid throttling
  • TypeScript with strict type checking

Capabilities

Tools

ToolDescription
search_flightsSearch for flights with full filtering, sorting, and pagination
get_date_gridGet a date-price grid showing the cheapest flight price for each day
find_airport_codeLook up airport IATA codes by city name, airport name, or partial code

Resources

ResourceDescription
google-flights://configServer configuration and available tools

Quick Start

Claude Desktop Configuration

If this is your first time using MCP Servers, make sure you have the Claude Desktop application and follow the official MCP setup instructions.

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

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

Restart Claude Desktop and you should be ready to go!

Example Usage

Search for flights:

"Find me the cheapest nonstop flights from SFO to LAX next Friday"

Find cheapest dates:

"When is the cheapest time to fly from JFK to London in March?"

Look up airport codes:

"What are the airport codes for Tokyo?"

Development

Install Dependencies

npm install

Build

npm run build

Running in Development Mode

npm run dev

Testing

# Run manual tests (hits real Google Flights)
npm run test:manual

Project Structure

google-flights/
├── local/                 # Local server implementation
│   ├── src/
│   │   └── index.ts      # Main entry point
│   └── package.json
├── shared/               # Shared business logic
│   ├── src/
│   │   ├── server.ts     # Server factory with DI
│   │   ├── tools.ts      # Tool registration
│   │   ├── tools/        # Individual tool implementations
│   │   ├── resources.ts  # Resource implementations
│   │   ├── flights-client/ # Google Flights client (protobuf + HTTP)
│   │   └── logging.ts
│   └── package.json
├── tests/                # Test suite
│   └── manual/           # Manual tests against real Google Flights
└── package.json          # Root workspace config

License

MIT

同类 MCP Server

Scrapling MCP Server

Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.

D4D4Vinci/Scrapling107k近 7 天新增 1,730 个 star

官方

Fetch

Fetches web content and converts it to Markdown for an LLM to read

MOmodelcontextprotocol/servers92k近 7 天新增 166 个 star

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

EVevery-app/open-seo29k近 7 天新增 533 个 star

Agent Skills Search Server

Search and discover Agent Skills from the skills.sh registry. Powered by HAPI MCP server.

AGagentskills/agentskills28k近 7 天新增 175 个 star

XERJ

The search engine for AI agents: cited answers from your local code, docs, specs and logs.

XExerj-org/xerj23k近 7 天新增 1,626 个 star

精选

Apify

调用 Apify Store 上的现成爬虫,抓取社交媒体、地图和电商数据。

APapify/apify-mcp-server19k近 7 天新增 873 个 star