hasdata avatar

HasData Google Flights

hasdata/google-flights-mcp

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

GitHub stars
5
tool
1
auth
Secret needed
transport
STDIO, HTTP
env var
1
last updated
Sep 24, 2026

Install

From registry metadata
$ npx add-mcp 'https://mcp.hasdata.com/mcp?apis=google_travel_flights' --name google-flights --header 'x-api-key: ${X_API_KEY}'

Run in your terminal. add-mcp asks which agents to add it to, then asks for each value it needs. Add -g to install it for every project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http google-flights 'https://mcp.hasdata.com/mcp?apis=google_travel_flights' --header 'x-api-key: YOUR_X_API_KEY'

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 1 tools

Verified live against the running server on Nov 6, 2026.

hasdata_google_travel_flights_getGoogleFlightsGet Google Flights Results Searches Google Flights for one-way, round-trip, or multi-city itineraries with passenger mix (adults, children, infants in-seat/on-lap), travel class, bags, max price, sort order (price, duration, emissions, departure/arrival time), stops, include/e...31 params

Get Google Flights Results Searches Google Flights for one-way, round-trip, or multi-city itineraries with passenger mix (adults, children, infants in-seat/on-lap), travel class, bags, max price, sort order (price, duration, emissions, departure/arrival time), stops, include/e...

Parameters* required
adultsnumber
Number of adult passengers (>= 1 if specified).
arrivalId*string
Specifies the arrival airport code (IATA) or location kgmid. - **IATA Code**: A 3-letter uppercase code (e.g., `SFO` for San Francisco, `LHR` for London Heathrow). Search on [IATA](https://www.i...
bagsnumber
Number of carry-on bags per passenger.
bookingTokenstring
Used to request booking options for selected flights. This token is found in the flight results and cannot be used with `departureToken`.
childrennumber
Number of child passengers.
currencystring
Parameter defines the currency of the returned prices Provide one exact documented value (71 allowed), e.g. `ALL`, `DZD`.
deepSearchboolean
Enable deep search. Returns the same results as Google Flights in a browser, but takes longer to respond. Default is `false`.
departureId*string
Specifies the departure airport code (IATA) or location kgmid. - **IATA Code**: A 3-letter uppercase code (e.g., SFO for San Francisco, LHR for London Heathrow). Search on [IATA](https://www.iat...
departureTokenstring
Used to select a flight and retrieve return flights for a round trip or the next leg of the itinerary for a multi-city trip.
excludeAirlinesstring
A comma separated list of airline codes to exclude from results. You can search for airline codes on [IATA](https://www.iata.org/en/publications/directories/code-search). For example, `UA` is Unite...
excludeConnectionsstring
A comma separated list of specific airports to exclude as connections.
glstring
The two-letter country code for the country you want to limit the search to. Provide one exact documented value (245 allowed), e.g. `ac`, `af`.
hlstring
The two-letter language code for the language you want to use for the search. Provide one exact documented value (159 allowed), e.g. `af`, `ak`.
includeAirlinesstring
A comma separated list of airline codes to exclusively include in results. You can search for airline codes on [IATA](https://www.iata.org/en/publications/directories/code-search). For example, `UA...
includeConnectionsstring
A comma separated list of specific airports to allow as connections.
infantsInSeatnumber
Number of infants occupying seats.
infantsOnLapnumber
Number of infants sitting on an adult's lap.
layoverDurationstring
Set the maximum layover duration in minutes to filter flights. For example, `120, 360` filters layovers between 2 hours and 6 hours, while `45, 180` allows layovers from 45 minutes to 3 hours.
lessEmissionsboolean
Prefer flight options with lower carbon emissions.
maxDurationnumber
The maximum total flight duration in minutes.

+11 more parameters. See the server's own documentation for the full schema.

Sponsors

Configuration

HASDATA_API_KEY*secret

HasData API key, created at app.hasdata.com. 1,000 free credits every month, no card.

Readme

Google Flights MCP Server

A hosted Google Flights MCP server that gives Claude, Cursor, Windsurf and any other MCP client one Google Flights tool. Search one-way, round-trip and multi-city itineraries with fares, flight legs, carbon emissions and price history, all as structured JSON, with no Google account and no retired travel API to work around.

1,000 free credits every month, no card required, which is about 66 flight searches.

https://mcp.hasdata.com/mcp?apis=google_travel_flights

View the full README on GitHub

Details

Repository
github.com/hasdata/google-flights-mcp
Website
hasdata.com/apis/google-flights-api
Category
Data & Analytics
Package
@hasdata/google-flights-mcp
Transport
STDIO, HTTP
Auth
Required
Registry
MCP registry, active
Resources
7
Prompts
1
Tools verified
Nov 6, 2026

More from hasdata

Related Data & Analytics MCP servers

View all
1hasdata avatarHasData Google Trendshasdata/google-trends-mcpGoogle Trends interest over time, by region, and related queries and topics, as JSON.5stars
2hasdata avatarHasData Shopifyhasdata/shopify-mcpThe public product catalogue and collections of any Shopify storefront, as structured JSON.5stars
3tickerdb avatarTickerDBtickerdb/tickerdb-mcpPre-computed market data that improves agent reasoning, reduces token usage, and replaces pipelines.5stars
4cyanheads avatarCdc Health Mcp Servercyanheads/cdc-health-mcp-serverSearch and query CDC public health data — mortality, vaccinations, surveillance, behavioral risk.5stars
5kochetkov-ma avatarBrewpage Mcpkochetkov-ma/brewpage-openapiPublish HTML, Markdown, sites, KV, JSON and files on BrewPage; keep the returned owner token.0stars
6mansurjisan avatarNOAA Recon MCP Servermansurjisan/ocean-mcpHurricane reconnaissance data — HDOB flight observations, Vortex Data Messages, SFMR, and ATCF fixes0stars