Back to Browse

Google Flights Fares MCP Server

Developer ToolsModerate7.4MCP RegistryLocal
Free

Server data from the Official MCP Registry

Google Flights fares by route and date: price, airline, times, stops, emissions per option.

About

Google Flights fares by route and date: price, airline, times, stops, emissions per option.

Security Report

7.4
Moderate7.4Low Risk

This is a thin MCP wrapper around a named Apify actor for Google Flights fare searches. It reads APIFY_TOKEN from the environment, sends it only as a Bearer header to api.apify.com, and forwards tool inputs to the actor without shell execution, filesystem writes, or obfuscation. Residual concerns are limited to the tool being marked non-read-only, the wrapper sending requests to a third-party paid service, and minor error-handling notes, none of which significantly reduce the score. Supply chain analysis found 1 known vulnerability in dependencies (0 critical, 1 high severity). Package verification found 1 issue.

7 files analyzed · 8 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Apify API token from https://console.apify.com/account/integrationsRequired

Environment variable: APIFY_TOKEN

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "mcp-google-flights-fares": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-google-flights-fares@1.0.4"
      ],
      "env": {
        "APIFY_TOKEN": "your-apify-token-here"
      }
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

Google Flights Fares MCP Server

Glama score MCP Registry npm version npm downloads license mcpservers.org

An MCP server for the Mamba Labs Google Flights Fares actor on Apify. Google Flights fares as rows.

What's Inside

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

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.

InputTypeRequiredDescription
routesarraynoOne 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.
departure_datesarraynoOne or more outbound dates, YYYY-MM-DD, up to 330 days ahead. Each date is its own search. Empty: 21 days from today.
trip_typestringnoround_trip (default) or one_way. A round trip price is the round trip total, and the row lists the outbound flights.
trip_daysnumbernoRound trip only: days between departure and return, 1 to 60. Default 7. Ignored when return_date is set.
return_datestringnoOptional. YYYY-MM-DD. Works with one departure date only; for several dates use trip_days.
cabinstringnoeconomy (default), business, or first. Premium economy is not supported.
adultsnumbernoAdult passengers, 1 to 9. Default 1. price_total is for all passengers; price_per_adult divides it.
currencystringnoISO currency code for the prices, for example USD, EUR, GBP. Default USD.
max_flights_per_searchnumberno1 to 100. Default 30. The actor reads the flight list Google renders on the search page, usually 6 to 35 options.
nonstop_onlybooleannotrue: keep only nonstop options; others are left out and not charged. Default false.
dedupebooleannotrue (default): an option already returned for the same route and dates in this run is skipped and not charged.
max_charge_usdnumbernoOptional. 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.

EventFree planBronzeSilverGold
flight-row, one priced flight option$0.001$0.00095$0.0009$0.00085
apify-actor-start, per run start$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.

Reviews

No reviews yet

Be the first to review this server!