HasData Google Flights
com.hasdata/google-flights
Serveur MCP OK 1 outils
Google Flights itineraries with fares, legs, carbon emissions and price history, as JSON.
Fiche technique
- Auteur
- hasdata.com (espace de noms du registre)
- Dépôt
- github.com/HasData/google-flights-mcp
- Site
- hasdata.com/apis/google-flights-api
- Version
- 1.0.7
- Transport
- Streamable HTTP stdio
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://mcp.hasdata.com/mcp?apis=google_travel_flights Streamable HTTP en-tête requis :
x-api-key - Paquets
- @hasdata/google-flights-mcp 1.0.7 npm stdio
hasdata-google-flights-mcp 1.0.7 pypi stdio - Outils
- 1
- Catégories
- Cartes, lieux et météo, Commerce et marketing
- Dernière mise à jour
- 24 sept. 2026
- Publication
- 24 sept. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/com.hasdata/google-flights)<a href="https://latlas.dev/mcp/com.hasdata/google-flights"><img src="https://latlas.dev/badge/fiche/com.hasdata/google-flights.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://mcp.hasdata.com/mcp?apis=google_travel_flights
- Dernier résultat
- OK 28 nov. 2026, 09:10
- Temps de réponse
- 1 347 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- hasdata-mcp-api-server 1.0.0
- Outils
- 1
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 09:10 | OK | 1 347 ms | 1 |
Outils exposés (1, réponse à 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| departureId | string | oui | 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 | oui | 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 | oui | The outbound travel date in 'yyyy-MM-dd' format. |
| returnDate | string | non | The return travel date in 'yyyy-MM-dd' format. Required when **type** is `roundTrip`. |
| type | enum: "roundTrip" | "oneWay" | "multiCity" | non | 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 | non | 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 | non | 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 | non | 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 | non | 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" | non | The travel class for the flight (Economy, Premium Economy, Business, or First). |
| showHidden | boolean | non | Indicates whether to include hidden options in the results. |
| adults | number | non | Number of adult passengers (>= 1 if specified). |
| children | number | non | Number of child passengers. |
| infantsInSeat | number | non | Number of infants occupying seats. |
| infantsOnLap | number | non | Number of infants sitting on an adult's lap. |
| sortBy | enum: "topFlights" | "price" | "departureTime" | "arrivalTime" | "duration" | "emissions" | non | Sort the flight results based on price, departure time, arrival time, etc. |
| stops | enum: "nonStop" | "oneStopOrFewer" | "twoStopsOrFewer" | non | Restrict the number of stops (layovers) in the flight itinerary. |
| excludeAirlines | string | non | 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 | non | 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 | non | Number of carry-on bags per passenger. |
| maxPrice | number | non | Maximum price limit for the flight search, in the selected currency. |
| outboundTimes | string | non | 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 | non | 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 | non | Prefer flight options with lower carbon emissions. |
| layoverDuration | string | non | 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 | non | A comma separated list of specific airports to allow as connections. |
| excludeConnections | string | non | A comma separated list of specific airports to exclude as connections. |
| maxDuration | number | non | The maximum total flight duration in minutes. |
| deepSearch | boolean | non | Enable deep search. Returns the same results as Google Flights in a browser, but takes longer to respond. Default is `false`. |
| departureToken | string | non | 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 | non | Used to request booking options for selected flights. This token is found in the flight results and cannot be used with `departureToken`. |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://mcp.hasdata.com/mcp?apis=google_travel_flights. Formats repris de la documentation de chaque client.
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"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
HasData Google Flights · L’Atlas · Test du
[HasData Google Flights — L’Atlas](https://latlas.dev/mcp/com.hasdata/google-flights)Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.