HasData Google Flights
com.hasdata/google-flights
MCP server OK 1 tools
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
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/com.hasdata/google-flights)<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
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 09:10 | OK | 1,347 ms | 1 |
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| departureId | string | yes | 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.iata.org/en/publications/directories/code-search). - **Location kgmid**: A string starting with `/m/`, found… |
| arrivalId | string | yes | 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.iata.org/en/publications/directories/code-search). - **Location kgmid**: A string starting with `/m/`, fou… |
| outboundDate | string | yes | The outbound travel date in 'yyyy-MM-dd' format. |
| returnDate | string | no | The return travel date in 'yyyy-MM-dd' format. Required when **type** is `roundTrip`. |
| type | enum: "roundTrip" | "oneWay" | "multiCity" | no | Specifies 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`. |
| multiCityJson | string | no | This 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… |
| gl | string | no | 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`. |
| hl | string | no | 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`. |
| currency | string | no | Parameter defines the currency of the returned prices Provide one exact documented value (71 allowed), e.g. `ALL`, `DZD`. |
| travelClass | enum: "economy" | "premiumEconomy" | "business" | "first" | no | The travel class for the flight (Economy, Premium Economy, Business, or First). |
| showHidden | boolean | no | Indicates whether to include hidden options in the results. |
| adults | number | no | Number of adult passengers (>= 1 if specified). |
| children | number | no | Number of child passengers. |
| infantsInSeat | number | no | Number of infants occupying seats. |
| infantsOnLap | number | no | Number of infants sitting on an adult's lap. |
| sortBy | enum: "topFlights" | "price" | "departureTime" | "arrivalTime" | "duration" | "emissions" | no | Sort the flight results based on price, departure time, arrival time, etc. |
| stops | enum: "nonStop" | "oneStopOrFewer" | "twoStopsOrFewer" | no | Restrict the number of stops (layovers) in the flight itinerary. |
| excludeAirlines | string | no | 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 United Airlines. |
| includeAirlines | string | no | 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` is United Airlines. `excludeAirlines` and `includeAirlines` parameters can't be used together. |
| bags | number | no | Number of carry-on bags per passenger. |
| maxPrice | number | no | Maximum price limit for the flight search, in the selected currency. |
| outboundTimes | string | no | Set 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 |
| returnTimes | string | no | Set 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 |
| lessEmissions | boolean | no | Prefer flight options with lower carbon emissions. |
| layoverDuration | string | no | 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. |
| includeConnections | string | no | A comma separated list of specific airports to allow as connections. |
| excludeConnections | string | no | A comma separated list of specific airports to exclude as connections. |
| maxDuration | number | no | The maximum total flight duration in minutes. |
| deepSearch | boolean | no | Enable deep search. Returns the same results as Google Flights in a browser, but takes longer to respond. Default is `false`. |
| departureToken | string | no | 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. |
| bookingToken | string | no | Used 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.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://mcp.hasdata.com/mcp?apis=google_travel_flights. Formats taken from each client’s documentation.
claude mcp add --transport http google-flights https://mcp.hasdata.com/mcp?apis=google_travel_flightsCustomize > Connectors > + Add > Add custom connector ; Name : google-flights ; URL : https://mcp.hasdata.com/mcp?apis=google_travel_flightschatgpt.com/plugins > + > Add custom MCP server ; Name : google-flights ; Server URL : https://mcp.hasdata.com/mcp?apis=google_travel_flights ; Create as a plugin{
"mcpServers": {
"google-flights": {
"url": "https://mcp.hasdata.com/mcp?apis=google_travel_flights"
}
}
}{
"mcpServers": {
"google-flights": {
"type": "http",
"url": "https://mcp.hasdata.com/mcp?apis=google_travel_flights",
"tools": ["*"]
}
}
}{
"mcpServers": {
"google-flights": {
"url": "https://mcp.hasdata.com/mcp?apis=google_travel_flights"
}
}
}{
"mcpServers": {
"google-flights": {
"httpUrl": "https://mcp.hasdata.com/mcp?apis=google_travel_flights"
}
}
}[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
[HasData Google Flights — L’Atlas](https://latlas.dev/en/mcp/com.hasdata/google-flights)Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.