MCP server: One MCP server.

Google Flights (via Apify)

@retracnMCP server · External

Google Flights for AI agents: prices, airlines, flight numbers, times, stops, emissions.

Flightsv1.0.0MIT
Freeno charge per call

One address for any MCP client. Your key stays in your Odel vault.

What it does

  1. Reads
  2. Writes
  3. High impact

Not assessed yet.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

What it asks for at sign-in

Access toReadChange
Full api accessNot stated: full_api_access

From the sign-in at console-backend.apify.com, as the endpoint publishes it. You approve it there.

Tools

None listed · checked 6 Oct 2026

Odel could not list its tools without signing in.

Try it in the Inspector
README4 min read

Google Flights Scraper & API: prices, airlines and times

Run on Apify

Google Flights Scraper is an Apify Actor that returns Google Flights results for any route and date: price, airlines, flight numbers, departure and arrival times, duration, stops and layovers, aircraft, legroom and CO2 emissions, one way or round trip, any cabin, passengers and currency, at $0.20 per 1,000 flights.

Price: $0.20 per 1,000 flights ($0.16 on Gold and above) · Run it: https://apify.com/automationnation/google-flights-scraper · Guide: https://retracn.github.io/automationnation-actors/google-flights-scraper/

Quick facts

  • One row per flight: price, airlines, flight numbers, times, duration, stops, layovers, legs with aircraft and legroom, CO2 vs typical.
  • One way or round trip, economy to first, 1–9 adults, nonstop filter, any currency.
  • Airport codes or city names; many routes per run.
  • Price: $0.20 per 1,000 flights (a search costs under a cent).

Example input

json
{
  "origin": "JFK",
  "destination": "LHR",
  "departureDate": "2026-11-12"
}

Run it from code

REST API

bash
curl -X POST "https://api.apify.com/v2/acts/automationnation~google-flights-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"origin": "JFK", "destination": "LHR", "departureDate": "2026-11-12"}'

Python — see examples/python_example.py

python
# pip install apify-client
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("automationnation/google-flights-scraper").call(run_input={
  "origin": "JFK",
  "destination": "LHR",
  "departureDate": "2026-11-12"
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item.get("price"), item.get("airlines"), item.get("departure"), item.get("duration"))

JavaScript — see examples/node_example.mjs

js
// npm install apify-client
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('automationnation/google-flights-scraper').call({
  "origin": "JFK",
  "destination": "LHR",
  "departureDate": "2026-11-12"
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const item of items) console.log(item.price, item.airlines, item.departure, item.duration);

Use it with AI agents (MCP)

Hosted MCP server URL (Claude, ChatGPT, Cursor and other clients with remote MCP support):

https://mcp.apify.com?tools=automationnation/google-flights-scraper

Local config for Claude Desktop / Cursor — mcp/claude_desktop_config.json:

json
{
  "mcpServers": {
    "google-flights-scraper": {
      "command": "npx",
      "args": [
        "-y",
        "@apify/actors-mcp-server",
        "--tools",
        "automationnation/google-flights-scraper"
      ],
      "env": {
        "APIFY_TOKEN": "YOUR_APIFY_TOKEN"
      }
    }
  }
}

FAQ

Is there an official Google Flights API? No. Google shut down its QPX Express flights API in 2018. Google Flights Scraper returns Google Flights results as data.

Are prices per person? Prices include taxes and cover all passengers; round trips show the round-trip total.

More from AutomationNation


This repository holds usage examples. The scraper itself runs on the Apify platform; you need a free Apify account and API token. Examples are MIT licensed.

Similar modules

Browse Flights