npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

google-flights-mcp-server

v0.1.2

Published

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

Readme

Google Flights MCP Server

Note: This package is part of the MCP Servers monorepo. For the latest updates and full source code, visit the Google Flights MCP Server directory.

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

| Tool | Description | | ------------------- | ---------------------------------------------------------------------- | | search_flights | Search for flights with full filtering, sorting, and pagination | | get_date_grid | Get a date-price grid showing the cheapest flight price for each day | | find_airport_code | Look up airport IATA codes by city name, airport name, or partial code |

Resources

| Resource | Description | | ------------------------- | ---------------------------------------- | | google-flights://config | Server 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