faregrid
Reads live flight prices from Google Flights via the hosted FlightPowers MCP server, supporting one-way and round-trip fare searches with date ranges, multiple destinations, stop and airline filters, passenger counts, currencies, and sorting, returning fares, airlines, durations, a historical price band, and a bookable buy link per flight.
Optionally forwards the caller's own RapidAPI key (as an x-rapidapi-key header) on every upstream request to the Google Flights Live API; when no key is supplied, the upstream free sign-in allowance is used.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
faregrid
faregrid is a small local bridge to the hosted FlightPowers MCP server, which reads live flight prices from Google Flights. Give it an origin and a destination, plus either a single date or a whole date range, and it answers with fares, airlines, durations, stop counts, a bookable link for each flight, and the historical price band that shows whether a fare is unusually cheap or expensive for that route.
The bridge keeps no fare data of its own. It serves the
upstream server's tool list locally, exactly as captured
from the live endpoint, and forwards each tool call
upstream, returning the result untouched. The captured
surface is search only: results carry a buy_link to
book on the vendor's own flow, and there is no booking,
purchase, or payment tool in it.
Tools
search_oneway_flights— one-way fares. Required:from_airportandto_airport(IATA codes; the destination may be several codes as"BCN,LIS,ATH"or["BCN","LIS","ATH"]). Optional:departure_date, or a range viadeparture_date_from/departure_date_to,max_stops,airline_codes,exclude_airline_codes, departure and arrival hour windows,currency(default"usd"),max_price,seat_type,passengers,sort_by(default"best"),limit(default 10),max_searches,use_fallback, andverbose. One call can search every date/destination combination in a range.search_roundtrip_flights— round-trip fares, priced as paired legs rather than two separate one-ways. Required:from_airportandto_airport. Optional: the same departure date or range fields as the one-way tool, plusreturn_dateornights(a trip length, or a list like[5, 6, 7]),max_departure_stops,max_return_stops,departure_airline_codes,return_airline_codes,returns_per_outbound, and the sharedcurrency,max_price,seat_type,passengers,sort_by,limit,max_searches,use_fallback, andverbosefields.
Fares go stale within minutes, so a current price always comes from a new search rather than an earlier result.
Related MCP server: Google Flights MCP Server
Configuration
FLIGHTPOWERS_MCP_URL(optional) — override the upstream endpoint. Defaults tohttps://flights.flightpowers.com/mcp. (The override hook is this rebuild's own labelled reconstruction.)FLIGHTPOWERS_API_KEY(optional) — when set, every upstream request carries anx-rapidapi-key: <key>header, for the caller's own RapidAPI key for the Google Flights Live API. When it is not set, no key header is sent and the upstream applies its free sign-in allowance. NoAuthorizationheader is ever sent. (This forwarding is also a labelled reconstruction; the original surface was captured keyless.)
Forwarding mechanics
On the first tool call the client opens a streamable
HTTP session with the upstream: a JSON-RPC initialize
request (protocolVersion 2025-03-26, clientInfo name
faregrid), then a notifications/initialized
notification, then the tools/call request carrying
the caller's arguments unchanged. When the upstream
answers initialize with an Mcp-Session-Id header,
that value rides on every later request of the session,
which is reused for the life of the process. Replies
may arrive as plain JSON or as server-sent events;
both are read.
Successful upstream results pass through verbatim,
including any isError flag the upstream sets.
Failures — a JSON-RPC error, a non-2xx status, an
unreadable response, or a request that cannot be
completed — come back as an isError result whose
text starts with faregrid error: (this rendering
is this rebuild's own labelled reconstruction).
CLI
Each tool is also a subcommand taking one JSON argument string:
npx @reneturcios/faregrid search_oneway_flights '{"from_airport":"TLV","to_airport":"BCN","departure_date":"2026-11-10"}'
npx @reneturcios/faregrid search_roundtrip_flights '{"from_airport":"TLV","to_airport":"BCN,LIS","departure_date_from":"2026-11-01","departure_date_to":"2026-11-07","nights":[3,4]}'
npx @reneturcios/faregrid --versionExit codes: 0 on success, 1 on an isError
result, 2 on a usage error.
MCP server
npx -y @reneturcios/faregrid mcpMCP client config:
{
"mcpServers": {
"faregrid": {
"command": "npx",
"args": ["-y", "@reneturcios/faregrid", "mcp"]
}
}
}Docker
docker run -i ghcr.io/cloudcorprecords/faregrid
docker run --rm ghcr.io/cloudcorprecords/faregrid --versionThe container's default command is mcp, so the first
form is a stdio MCP server; any other arguments reach
the CLI normally.
Development
npm install
npm run build
npm test
npm run devThe test suite runs entirely against a stubbed JSON-RPC upstream — no live network calls.
License
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Public flight itinerary fares, stops, layovers and cheapest-date calendars with relative dates.
Google Flights search data: fares, routes, stops, and price insights via a hosted MCP server.
Flight search, airfare analytics, flexible destinations
Real-time Google Flights fares for agents. Three things people do with this server. Scan for deals: one call takes a date range and a list of destination airports, expands every combination server side, and returns each fare with Google's own low, typical or high verdict. Put live search in your app: flat JSON with a bookable link on every result, and round trips priced as paired legs. Run a 24/7 AI travel agent: add the server, sign in with Google, and schedule it. No ads, no sponsored content. You bring your own RapidAPI key, so every search is billed to your plan and never to anyone else's. Add https://flights.flightpowers.com/mcp , click Sign in, sign in with Google, and paste your RapidAPI key once on the page that opens. Scripts and clients without a sign-in button send the key as x-rapidapi-key on the same URL.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceEnables 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,874 PyPI3,468MIT
- AlicenseAqualityAmaintenanceEnables MCP clients to search one-way, round-trip, and multi-city itineraries and retrieve fares, flight legs, carbon emissions and price history as structured JSON.1164 npm63 PyPI6MIT
- AlicenseAqualityBmaintenanceEnables real-time flight fare searches across date ranges and multiple destinations, with historical price insights and booking links. Provides one-way and round-trip search tools through MCP.41MIT
- AlicenseNot gradedqualityDmaintenanceEnables real-time one-way and round-trip flight searches from any MCP client without an API key or account, returning live fares, historical price insights, and bookable links supported by disclosed sponsored cards.1MIT