Google Flights MCP Server & API - Live Fares for AI Agents avatar

Google Flights MCP Server & API - Live Fares for AI Agents

Pricing

from $0.70 / 1,000 results

Go to Apify Store
Google Flights MCP Server & API - Live Fares for AI Agents

Google Flights MCP Server & API - Live Fares for AI Agents

Google Flights MCP server and live API for AI agents: search fares for any route and dates in seconds, with prices, airlines, stops, times, CO2, Google's price level and price history. Works with Claude, Cursor and any MCP client. Residential proxy included, no login.

Pricing

from $0.70 / 1,000 results

Rating

0.0

(0)

Developer

Akhil rajesh

Akhil rajesh

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

2 hours ago

Last modified

Features

Limited permissionsSingle-tenantServer interface

Share

Google Flights MCP Server & API

Google Flights MCP Server gives your AI agent live Google Flights fares on demand. It is an MCP server and a live HTTP API: an agent asks for "the cheapest nonstop from Toronto to London on December 10" and gets the flights back in seconds, each with its price, airlines, flight numbers, departure and arrival times, stops, layovers, duration and CO2, plus the search's cheapest fare, Google's price level (low, typical or high), its typical price range and about 60 days of price history.

It runs the same code as Google Flights Scraper & Price Tracker, with Apify Standby switched on, so it answers each request at once instead of starting a run. For many routes and dates in one go, scheduled fare tracking, or price-drop alerts in Slack, Discord, Teams or Telegram, use that Actor.

Connect your agent

Authenticate with your Apify API token (Apify Console → Settings → API & Integrations).

MCP server (Streamable HTTP): https://akhil-rajesh--google-flights-mcp-server.apify.actor/mcp

{"mcpServers": {"google-flights": {"type": "http", "url": "https://akhil-rajesh--google-flights-mcp-server.apify.actor/mcp",
"headers": {"Authorization": "Bearer <YOUR_APIFY_TOKEN>"}}}}

In Claude Code:

$claude mcp add --transport http google-flights https://akhil-rajesh--google-flights-mcp-server.apify.actor/mcp --header "Authorization: Bearer <YOUR_APIFY_TOKEN>"

A client that can't send headers can use https://akhil-rajesh--google-flights-mcp-server.apify.actor/mcp?token=<YOUR_APIFY_TOKEN>. Keep that URL private, as it carries your token.

Through Apify's MCP server (https://mcp.apify.com, for Claude, ChatGPT, Cursor and other clients), add the tools with https://mcp.apify.com?tools=akhil_rajesh/google-flights-mcp-server. They appear as akhil_rajesh--google-flights-mcp-server--search_flights and so on. Add them that way rather than through Apify's generic call-actor tool, which returns the rows only as text.

Then ask in plain words:

  • "What's the cheapest flight from New York to London on December 10, and is that a good price?"
  • "Nonstop flights from Toronto to Paris next Friday, under $700, leaving after 6 pm."
  • "Which of December 10, 12 or 14 is cheapest to fly JFK to LAX?"
  • "What airports does Google Flights mean by 'Tokyo'?"

Tools

ToolWhat it returns
search_flightsA route on up to 3 departure dates, one way or round trip (a return date or a trip length): every flight Google lists, cheapest first unless you sort otherwise, with the search's cheapest fare, price level, typical range and price history. Filters: adults and children, cabin (economy, business, first), stops (any, nonstop, 1 or 2 stops or fewer), airlines to keep or leave out, a maximum price and duration, and departure times. Currency and country of your choice
find_airportWhat a city, airport or country means to Google Flights: its airports and codes, and the place a search reads. Free
run_actorThe whole input of Google Flights Scraper & Price Tracker in one call, for reads the other tools can't express

Places can be typed as people say them: "Toronto", "London", "JFK", "New York". A place Google Flights doesn't know is named in notFound, with Google's suggestions, and not charged. In testing, a search came back in 3 to 7 seconds after the first request, which starts the Standby run.

HTTP API

The same reads as plain HTTP requests, with the same token (header Authorization: Bearer <token>):

curl "https://akhil-rajesh--google-flights-mcp-server.apify.actor/flights?from=YYZ&to=London&dates=2026-12-10&stops=nonstop&perSearch=5" \
-H "Authorization: Bearer <YOUR_APIFY_TOKEN>"
EndpointParameters
GET /flightsfrom, to, dates (dates separated by |, or a range "2026-12-10 to 2026-12-14", or "in 30 days"), return, tripDays, adults, children, cabin, stops, airlines, exclude, maxPrice, maxDuration, departsAfter, departsBefore, perSearch, sort, currency, country, language, max
GET /airportsq, country, language (free)
POST /runThe Google Flights Scraper & Price Tracker input as the JSON body

GET / lists every parameter, and the Actor's Endpoints tab in Apify Console lets you try them.

What each answer holds

A search row per route and date: route, departureDate, returnDate, flightsFound, cheapestPrice, cheapestFlight, cheapestNonstopPrice, shortestDurationMinutes, priceLevel, typicalPriceLow, typicalPriceHigh, priceHistory, airlinesOffered and googleFlightsUrl.

A flight row per itinerary: rank, price, pricePerAdult, airlines, flightNumbers, from, to, departs, arrives, durationMinutes, stops, layovers, legs (each flight with its aircraft and legroom), emissionsGrams and isBest.

Every answer also has notFound, notLoaded (what Google didn't answer, with the reason), notRead (what a limit left out: not charged) and notes.

Limits

SearchesRowsTime
MCP tool call310050 seconds
HTTP request102,000170 seconds

A search is one route on one departure date. The MCP limits keep answers inside what MCP clients wait for (60 seconds) and what Apify's MCP server passes on (about 1 MB). A request that has started runs to its end even if you stop waiting: Apify's Standby proxy keeps it open, so its rows are read and charged. Ask for what you need.

Paused since November 16, 2026, while Google Flights asks its data call for a browser check that this Actor doesn't pass: the price calendar, infants, premium economy, alliances, several airports on one side and countries as a destination. A request for infants, premium economy or an alliance is refused at once (HTTP 400), at no cost. "1 or 2 stops or fewer" and airline codes still work: they're applied to the flights after the search.

How much does it cost?

Pay-per-event, the same prices as Google Flights Scraper & Price Tracker:

Your planPer 1,000 searchesPer 1,000 results
Free$6.00$1.00
Starter$6.00$0.90
Scale$6.00$0.80
Business and above$6.00$0.70

A search is charged once when its Google Flights page is read; a result is a flight row or a search row with flights. A search for 5 flights costs about $0.012. The residential proxy is included. On top come the start fee when a Standby run starts, and the run's platform usage while it serves you and until it has been idle for 2 minutes, at Apify's usual rates. That's why the Store page's pricing box mentions platform usage. Places not found cost nothing.

Agents that pay per call

Apify's MCP server doesn't offer Actors with a live endpoint to agents that pay per call with x402 or Skyfire. Those agents can use Google Flights Scraper & Price Tracker through https://mcp.apify.com instead: it takes the same input and returns the same rows, as a normal run that starts for each call instead of a live answer. An agent with an Apify account or API token can use either.

FAQ

Is there an official Google Flights API or MCP server?

No: Google has no public Google Flights API, and its QPX Express airfare API closed in 2018. This Actor reads the fares a visitor sees on Google Flights and serves them as an MCP server and an HTTP API.

Can it alert me when a fare drops?

Not over the live endpoint, which answers each request on its own and ignores tracking fields. A normal run of this Actor does it, with the same input as Google Flights Scraper & Price Tracker: schedule it with Only changes and a Slack, Discord, Teams or Telegram destination, or schedule the scraper. Each Actor keeps its own fare history (this one's is google-flights-mcp-history by default), because Apify lets an Actor open only the history stores it created itself.

Why did a search come back as not loaded?

Google didn't answer it (its "unusual traffic" page, or an error in place of the data). The reason is in notLoaded, and nothing is charged for it. Ask again a little later.

Are the prices the same as on Google Flights?

They are Google Flights' prices for the market, currency and passengers asked for, as a visitor sees them; fares can change between a request and a booking. Each search row links its Google Flights page.

Other Actors by this developer

Disclaimer

This Actor is an independent tool. It is not affiliated with, endorsed by or sponsored by Google. It reads publicly available fares at a modest pace, through one residential address per run, and leaves out the pages Google's robots rules close. Use the data in line with Google's terms and the laws that apply to you.