L'Atlas / MCP servers / HasData Google Flights
MCP server

HasData Google Flights

com.hasdata/google-flights

MCP server OK 1 tools

Get a review See pricing

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

Technical sheet

Author
hasdata.com (registry namespace)
Repository
github.com/HasData/google-flights-mcp
Site
hasdata.com/apis/google-flights-api
Version
1.0.7
Transport
Streamable HTTP stdio
Authentication
None (observed by our test)
Server address
https://mcp.hasdata.com/mcp?apis=google_travel_flights Streamable HTTP required header : x-api-key
Packages
@hasdata/google-flights-mcp 1.0.7 npm stdio
hasdata-google-flights-mcp 1.0.7 pypi stdio
Tools
1
Categories
Maps, places and weather, Commerce and marketing
Last updated
24 Sept 2026
Published
24 Sept 2026

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/com.hasdata/google-flights.svg?lang=en)](https://latlas.dev/en/mcp/com.hasdata/google-flights)
HTML
<a href="https://latlas.dev/en/mcp/com.hasdata/google-flights"><img src="https://latlas.dev/badge/fiche/com.hasdata/google-flights.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://mcp.hasdata.com/mcp?apis=google_travel_flights
Last result
OK 28 Nov 2026, 09:10
Response time
1,347 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
hasdata-mcp-api-server 1.0.0
Tools
1

History

DateResultResponseTools
28 Nov 2026, 09:10OK1,347 ms1

Exposed tools (1, from tools/list, 28 Nov 2026)

hasdata_google_travel_flights_getGoogleFlights

google_travel_flights: GET /

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/exclude airlines and connections, time windows, layover duration, and deep-search mode. Returns per-itinerary price, total duration, stops, flight legs with airline, flight number, aircraft, departure/arrival airports and times, CO2 emissions, plus booking and departure tokens for round-trip returns or booking options. Use for travel-planning agents, fare monitoring, corporate travel dashboards, emission-aware trip optimization, and comparing routes and airlines across markets.

ParameterTypeRequiredDescription
departureIdstringyesSpecifies 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.iata.org/en/publications/directories/code-search). - **Location kgmid**: A string starting with `/m/`, found…
arrivalIdstringyesSpecifies 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.iata.org/en/publications/directories/code-search). - **Location kgmid**: A string starting with `/m/`, fou…
outboundDatestringyesThe outbound travel date in 'yyyy-MM-dd' format.
returnDatestringnoThe return travel date in 'yyyy-MM-dd' format. Required when **type** is `roundTrip`.
typeenum: "roundTrip" | "oneWay" | "multiCity"noSpecifies the type of flight. Options: - `roundTrip` (default) - `oneWay` - `multiCity` (requires `multiCityJson` for flight details) For round trips, retrieve return flight details with a separate request using `departureToken`.
multiCityJsonstringnoThis parameter specifies flight details for multi-city trips. It is a JSON string containing multiple flight objects. Each object must include the following fields: - **departureId** – The departure airport code or location KGMID. Uses the same format as the main `departureId` parameter. - **arriva…
glstringnoThe 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`.
hlstringnoThe 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`.
currencystringnoParameter defines the currency of the returned prices Provide one exact documented value (71 allowed), e.g. `ALL`, `DZD`.
travelClassenum: "economy" | "premiumEconomy" | "business" | "first"noThe travel class for the flight (Economy, Premium Economy, Business, or First).
showHiddenbooleannoIndicates whether to include hidden options in the results.
adultsnumbernoNumber of adult passengers (>= 1 if specified).
childrennumbernoNumber of child passengers.
infantsInSeatnumbernoNumber of infants occupying seats.
infantsOnLapnumbernoNumber of infants sitting on an adult's lap.
sortByenum: "topFlights" | "price" | "departureTime" | "arrivalTime" | "duration" | "emissions"noSort the flight results based on price, departure time, arrival time, etc.
stopsenum: "nonStop" | "oneStopOrFewer" | "twoStopsOrFewer"noRestrict the number of stops (layovers) in the flight itinerary.
excludeAirlinesstringnoA 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 United Airlines.
includeAirlinesstringnoA 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` is United Airlines. `excludeAirlines` and `includeAirlines` parameters can't be used together.
bagsnumbernoNumber of carry-on bags per passenger.
maxPricenumbernoMaximum price limit for the flight search, in the selected currency.
outboundTimesstringnoSet up to 4 time boundaries (2 for departure, 2 for arrival) to filter flights. Each number represents the start of an hour. Examples: - `6,20` → 6:00 AM - 9:00 PM departure - `1,15` → 1:00 AM - 4:00 PM departure - `7,18,2,21` → 7:00 AM - 9:00 PM departure, 2:00 AM - 10:00 PM arrival
returnTimesstringnoSet up to 4 time boundaries (2 for departure, 2 for arrival) to filter return flights. Each number represents the start of an hour. Examples: - `6,20` → 6:00 AM - 9:00 PM departure - `1,15` → 1:00 AM - 4:00 PM departure - `7,18,2,21` → 7:00 AM - 9:00 PM departure, 2:00 AM - 10:00 PM arrival
lessEmissionsbooleannoPrefer flight options with lower carbon emissions.
layoverDurationstringnoSet 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.
includeConnectionsstringnoA comma separated list of specific airports to allow as connections.
excludeConnectionsstringnoA comma separated list of specific airports to exclude as connections.
maxDurationnumbernoThe maximum total flight duration in minutes.
deepSearchbooleannoEnable deep search. Returns the same results as Google Flights in a browser, but takes longer to respond. Default is `false`.
departureTokenstringnoUsed to select a flight and retrieve return flights for a round trip or the next leg of the itinerary for a multi-city trip.
bookingTokenstringnoUsed to request booking options for selected flights. This token is found in the flight results and cannot be used with `departureToken`.

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://mcp.hasdata.com/mcp?apis=google_travel_flights. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http google-flights https://mcp.hasdata.com/mcp?apis=google_travel_flights
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : google-flights ; URL : https://mcp.hasdata.com/mcp?apis=google_travel_flights
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : google-flights ; Server URL : https://mcp.hasdata.com/mcp?apis=google_travel_flights ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "google-flights": {
      "url": "https://mcp.hasdata.com/mcp?apis=google_travel_flights"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "google-flights": {
      "type": "http",
      "url": "https://mcp.hasdata.com/mcp?apis=google_travel_flights",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "google-flights": {
      "url": "https://mcp.hasdata.com/mcp?apis=google_travel_flights"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "google-flights": {
      "httpUrl": "https://mcp.hasdata.com/mcp?apis=google_travel_flights"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.google-flights]
url = "https://mcp.hasdata.com/mcp?apis=google_travel_flights"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

HasData Google Flights · L’Atlas · Tested on

Markdown
[HasData Google Flights — L’Atlas](https://latlas.dev/en/mcp/com.hasdata/google-flights)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.