Google Flights Fares MCP Server
Provides access to Google Flights fares by searching routes and travel dates and returning priced flight options with airlines, flight numbers, departure and arrival times, duration, stops, layovers, and emissions. Supports round-trip and one-way searches, cabin selection, passenger counts, currency selection, nonstop filtering, and deduplication.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Google Flights Fares MCP Server find nonstop economy flights from JFK to LAX on March 3, round trip"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Google Flights Fares MCP Server
An MCP server for the Mamba Labs Google Flights Fares actor on Apify. Google Flights fares as rows.
What's Inside
Related MCP server: fli
What it does
Takes routes and travel dates and returns one row per flight option from Google Flights with price, airlines, flight numbers, departure and arrival times, duration, stops, layovers, and emissions.
All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.
Quick start
You need Node.js 18 or newer and an Apify account with an API token.
Add this to your Claude Desktop config (claude_desktop_config.json), Cursor, or any MCP client:
{
"mcpServers": {
"mamba-google-flights-fares": {
"command": "npx",
"args": [
"-y",
"@mambalabsdev/mcp-google-flights-fares"
],
"env": {
"APIFY_TOKEN": "your-apify-token"
}
}
}
}Restart the client. The get_google_flights_fares tool appears.
Prerequisites
Node.js 18 or newer.
An Apify API token from console.apify.com/account/integrations, set as
APIFY_TOKEN. The server lists its tool without a token; a call needs one.
Example prompts
"What do flights from Boston to Lisbon cost on March 3, returning March 10?"
"Find nonstop one way fares from SFO to Seattle for the next three Fridays."
Tool
get_google_flights_fares. One tool. Example arguments:
{
"routes": [
"BOS to LIS"
],
"departure_dates": [
"2027-03-03"
],
"trip_type": "round_trip",
"trip_days": 7,
"max_flights_per_search": 10
}Inputs
Every buyer facing input of the actor. Omitted inputs take the actor's own defaults.
Input | Type | Required | Description |
| array | no | One route per line, origin to destination, for example JFK to LAX, JFK-LAX, or New York to London. Airport codes (3 capital letters) give exact airports; a city name lets Google pick the city's airports. From Clay, put the column inside a one item list. |
| array | no | One or more outbound dates, YYYY-MM-DD, up to 330 days ahead. Each date is its own search. Empty: 21 days from today. |
| string | no | round_trip (default) or one_way. A round trip price is the round trip total, and the row lists the outbound flights. |
| number | no | Round trip only: days between departure and return, 1 to 60. Default 7. Ignored when return_date is set. |
| string | no | Optional. YYYY-MM-DD. Works with one departure date only; for several dates use trip_days. |
| string | no | economy (default), business, or first. Premium economy is not supported. |
| number | no | Adult passengers, 1 to 9. Default 1. price_total is for all passengers; price_per_adult divides it. |
| string | no | ISO currency code for the prices, for example USD, EUR, GBP. Default USD. |
| number | no | 1 to 100. Default 30. The actor reads the flight list Google renders on the search page, usually 6 to 35 options. |
| boolean | no | true: keep only nonstop options; others are left out and not charged. Default false. |
| boolean | no | true (default): an option already returned for the same route and dates in this run is skipped and not charged. |
| number | no | Optional. The run stops before a charge that would pass this amount. Summary rows are always returned. |
Pricing
Pay per event on Apify, billed to your Apify account. Prices in USD.
Event | Free plan | Bronze | Silver | Gold |
| $0.001 | $0.00095 | $0.0009 | $0.00085 |
| $0.005 | $0.005 | $0.005 | $0.005 |
Options with no price, repeats, rows your filters removed, summaries, and refused input are free. Mamba Labs pays the platform costs of the run, Apify proxy traffic included.
Full actor documentation
apify.com/mambalabs/google-flights-fares
License
MIT. See LICENSE.
Available Tools
1 toolget_google_flights_faresGet Google Flights faresARead-onlyIdempotent
Search Google Flights for a route and dates. Returns one row per flight option with price, airlines, flight numbers, departure and arrival times, duration, stops, layovers, and emissions.
Inputs: cabin, adults, dedupe, routes, +8 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
Only one tool exists, so there is nothing to confuse it with. Its purpose—searching Google Flights for a route and dates—is crystal clear from the name and description.
A single descriptive snake_case verb_noun name (get_google_flights_fares) with no competing conventions to clash with. It is readable and self-explanatory.
One tool is thin even for a narrowly scoped fare-search server; there is no way to resolve airport codes, propose flexible dates, or fetch details. The single tool does earn its place, but the surface is minimal.
The core search flow is covered, but the surface is a dead end: no filters (cabin class, max stops, passengers), no date-flexibility option, and no way to retrieve a specific fare's details or booking link. Agents can work around this only by re-calling with different arguments.
Maintenance
Related MCP Connectors
Google Flights for any route and date: price, airlines, flight numbers, times, stops, layovers, aircraft, legroom and CO2. One way or round trip, any cabin and currency. Runs on Apify, $0.20 per 1,000 flights.
Live Google Flights fares for AI agents: prices, airlines, stops, times, CO2 and price history.
Google Flights fares, airlines, stops and durations for any route. Paid, on Apify's hosted MCP.
Google Flights itineraries with fares, legs, carbon emissions and price history, as JSON.
Related MCP Servers
- AlicenseAqualityBmaintenanceIntegrates Google Flights data into AI workflows for natural language flight searches, price comparisons, flexible date searches, and multi-city itinerary planning with support for various cabin classes and passenger types.98MIT
- AlicenseNot gradedqualityBmaintenanceEnables flight search and fare calendar exploration by interacting with Google Flights' API, supporting detailed filters for origin, destination, dates, cabin class, airlines, and more.5,091 PyPI3,504MIT
- AlicenseAqualityDmaintenanceConnects AI agents to Google Flights data, enabling retrieval of flight information, cheapest options, time-filtered flights, and best recommendations.430MIT
- AlicenseAqualityBmaintenanceEnables searching and analyzing Google Flights data including prices, emissions, cabin classes, layovers, and price tracking, all without an API key.12205 npm5ISC