Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. Google Flights
Google Flights logo
Health: ActiveRecent health check succeeded.Last checked 9/7/2026, 8:49:20 PM

Google Flights

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository1 GitHub StarsTotal stargazers on GitHub for the source repository (1 stars).Visit Website

Google Flights search data: fares, routes, stops, and price insights via a hosted MCP server.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "google-flights-3": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.apify.com/?tools=actors,docs,johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Documentation Overview

✈️ Google Flights API: Flight and Price Search in Clean JSON

The most efficient, reliable, and developer-friendly way to use the Google Flights API.

Actor page: apify.com/johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search Input schema: apify.com/johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search/input-schema

The Google Flights API searches flights and returns clean, structured JSON. Each page of results comes back with the top recommended flights and alternatives, full flight legs and timings, prices, price insights (level and historical range), airport details, and search metadata. It supports one-way, round-trip, and multi-city itineraries, single or multiple airports, filters for price, stops, airlines, and passenger counts, and can optionally resolve direct airline and OTA booking links. Localized across 29+ languages and 39+ countries.

Video Walkthrough

Watch the walkthrough

Quick Start

Prerequisites

  • Python 3.11 or higher
  • An Apify account and API key (get a free key here)
  1. Clone the repository

    bash
    git clone https://github.com/johnisanerd/Apify-Google-Flights-API.git
    cd Apify-Google-Flights-API
    
  2. Install dependencies with UV

    bash
    # Install UV if you do not have it:
    curl -LsSf https://astral.sh/uv/install.sh | sh
    
    # Install project dependencies:
    uv sync
    
  3. Configure your API key

    bash
    cp .env.example .env
    # Edit .env and add your Apify API key
    # Get your free API key at: https://apify.com?fpr=9n7kx3
    
  4. Run the example

    bash
    uv run python google-flights-api.py
    

This repo also includes google-flights-get-booking-options.py, a low-cost one-way example (BOS to PQI) that enables fetch_booking_options to resolve direct airline and OTA booking links:

bash
uv run python google-flights-get-booking-options.py

Alternative: set the API key directly

server.ts
export APIFY_API_TOKEN="your_api_key_here"
uv run python google-flights-api.py

Why Use This Google Flights API?

Complete itineraries. Search one-way, round-trip, and multi-city trips, with single or multiple departure and arrival airports, and get the top recommended flights plus alternatives with full leg-by-leg detail.

Direct booking links. Enable fetch_booking_options and each flight resolves to a live booking URL on the airline or OTA site, with fare families and baggage fees, ready to embed in your app.

Powerful filters. Constrain by max price, max stops, preferred airlines, passenger counts, and exclude basic economy.

Price intelligence. Every search returns price insights: the current level (low, typical, high) and a historical price range for the route.

Predictable, pay-per-use pricing. Billing is per page processed, plus per resolved booking link only when you ask for them. No subscription. You control cost with the page limit.

Easy to automate. Call it from Python in a few lines, or load it as an MCP tool so assistants like Claude and Cursor can search flights for you on demand.

Features

Core Capabilities

  • One-way, round-trip, and multi-city itineraries
  • Single or multiple airports per leg (e.g. CDG,ORY)
  • Filters for price, stops, airlines, passengers, and basic economy
  • Optional direct booking links (airline/OTA URLs, fare families, baggage fees)
  • Localization across 29+ languages and 39+ countries

Data Quality

  • Best and alternative flights with full leg timings, airline, and duration
  • Price insights with level and historical range
  • Airport details for departure and arrival
  • Per-page metadata and search parameters echoed back
  • Consistent JSON shape across every query

Usage Examples

Basic one-way search

config.json
{
  "departure_id": "LAX",
  "arrival_id": "JFK",
  "outbound_date": "2026-06-17",
  "adults": 1,
  "currency": "USD",
  "max_pages": 1
}

Round trip with filters

config.json
{
  "departure_id": "JFK",
  "arrival_id": "LHR",
  "outbound_date": "2026-11-25",
  "return_date": "2026-12-02",
  "adults": 2,
  "max_price": 1500,
  "max_stops": 1,
  "max_pages": 2
}

Multi-city trip

config.json
{
  "multi_city_json": "[{\"departure_id\":\"CDG\",\"arrival_id\":\"NRT\",\"date\":\"2026-11-17\"},{\"departure_id\":\"NRT\",\"arrival_id\":\"LAX\",\"date\":\"2026-11-24\"}]",
  "adults": 1,
  "currency": "USD",
  "max_pages": 1
}

Direct booking links

config.json
{
  "departure_id": "LAX",
  "arrival_id": "JFK",
  "outbound_date": "2026-06-17",
  "adults": 1,
  "fetch_booking_options": true,
  "max_pages": 1
}

Note: fetch_booking_options works for one-way searches, is billed per resolved link, and needs Actor memory of 512 MB or more (it uses a headless browser).

Input Parameters

Either departure_id + arrival_id + outbound_date, or multi_city_json, is required.

ParameterTypeRequiredDefaultDescription
departure_idstringYes*-Departure airport code(s), comma-separated for multiple (e.g. LAX, CDG,ORY).
arrival_idstringYes*-Arrival airport code(s), comma-separated for multiple.
outbound_datestringYes*-Departure date, YYYY-MM-DD.
return_datestringNo(none)Return date for round trips, YYYY-MM-DD.
multi_city_jsonstringYes*-JSON string of legs for multi-city trips. Replaces the three fields above.
adultsintegerNo1Adult passengers (minimum 1).
childrenintegerNo0Child passengers.
infantsintegerNo0Infant passengers.
currencystringNoUSDCurrency code, e.g. USD, EUR, GBP.
hlstringNoenLanguage code (29+ supported).
glstringNousCountry code (39+ supported).
max_priceintegerNo(none)Maximum price filter in the chosen currency.
max_stopsintegerNo(none)Maximum stops (0 = direct only).
airlinesstringNo(none)Comma-separated preferred airline codes, e.g. UA,AA,DL.
exclude_basicbooleanNofalseExclude basic-economy fares.
fetch_booking_optionsbooleanNofalseResolve direct booking links (one-way only; billed per link; needs 512 MB+).
max_pagesintegerNo1Maximum pages to fetch (0 = no limit).
output_filestringNo(none)Optional filename to save results.

Output Format

A real result for LAX to JFK (one item per page; best_flights legs and the price_insights history are trimmed here for readability).

config.json
{
  "search_parameters": {
    "trip_type_description": "One-way",
    "departure_id": "LAX",
    "arrival_id": "JFK",
    "outbound_date": "2026-06-17",
    "adults": 1,
    "currency": "USD",
    "language": "en",
    "country": "us"
  },
  "search_metadata": {
    "total_flights_found": 29,
    "best_flights_count": 3,
    "other_flights_count": 26,
    "pages_processed": 1,
    "pagination_limit_reached": true,
    "booking_options_count": 0
  },
  "page_number": 1,
  "best_flights": [
    {
      "price": 207,
      "type": "One way",
      "total_duration": 590,
      "flights": [
        {
          "departure_airport": { "name": "Los Angeles International Airport", "id": "LAX", "time": "2026-06-17 09:24" },
          "arrival_airport": { "name": "Charlotte Douglas International Airport", "id": "CLT", "time": "2026-06-17 17:28" },
          "airline": "American",
          "flight_number": "AA 2570",
          "travel_class": "Economy",
          "duration": 304
        },
        {
          "departure_airport": { "name": "Charlotte Douglas International Airport", "id": "CLT", "time": "2026-06-17 20:11" },
          "arrival_airport": { "name": "John F. Kennedy International Airport", "id": "JFK", "time": "2026-06-17 22:14" },
          "airline": "American",
          "flight_number": "AA 1727",
          "travel_class": "Economy",
          "duration": 123
        }
      ]
    }
  ],
  "other_flights": [],
  "price_insights": {
    "lowest_price": 207,
    "price_level": "typical",
    "typical_price_range": [145, 255]
  },
  "airports": [
    {
      "departure": [
        { "airport": { "id": "LAX", "name": "Los Angeles International Airport" }, "city": "Los Angeles", "country": "United States" }
      ],
      "arrival": [
        { "airport": { "id": "JFK", "name": "John F. Kennedy International Airport" }, "city": "New York", "country": "United States" }
      ]
    }
  ],
  "booking_options": []
}

When fetch_booking_options is true, each booking_options entry includes a resolved booking_url to the airline or OTA, plus fare family and baggage details.


Use as an MCP tool

You can load the Google Flights API as an MCP tool so assistants call it for you. The MCP server URL preloads just this one Actor:

Code
https://mcp.apify.com/?tools=actors,docs,johnvc/Google-Flights-Data-Scraper-Flight-and-Price-Search

Authenticate with OAuth in the browser when offered, or with your Apify API token (the same APIFY_API_TOKEN used by the Python example). Get a token at https://console.apify.com/settings/integrations and a free Apify account at https://apify.com?fpr=9n7kx3 .

Install in Claude Cowork Desktop

Install in Claude Cowork Desktop

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Developer Tools View all alternatives
  • HasData Google Flights logoHasData Google Flights

    Google Flights itineraries with fares, legs, carbon emissions and price history, as JSON.

    πŸ’» Developer Tools0 views
    Compare vs HasData Google Flights β†’
  • Google Shopping logoGoogle Shopping

    Google Shopping products, prices, sellers, and deals as structured data via a hosted MCP server.

    πŸ’» Developer Tools0 views
    Compare vs Google Shopping β†’
  • Metabase logoMetabase

    Lets AI clients search, explore, query, and visualize data in a Metabase instance.

    πŸ’» Developer Tools0 views
    Compare vs Metabase β†’
  • PraisonAI logoPraisonAI

    AI Agents Framework with Self Reflection and MCP support

    πŸ’» Developer Tools1 views
    Compare vs PraisonAI β†’

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Google Flights

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "google-flights": { "command": "npx", "args": ["-y", "google-flights"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGoogle Flights AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/google-flights-3?style=directory)](https://allmcps.com/mcp/google-flights-3)
HTML Embed
<a href="https://allmcps.com/mcp/google-flights-3"><img src="https://allmcps.com/api/badge/google-flights-3?style=directory" alt="Google Flights on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars1
GitHub Star CountTotal stargazers on GitHub representing community popularity (1 stars).
36Quality signal: Fair Β· 36/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools16/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to Google Flights β†’Install in Claude DesktopInstall in CursorInstall in VS Code