Recipe · Flights API
Fare-alert cron with ChatGPT
The verdict field makes alerting trivial: poll on a schedule and fire only when price_range_in_relation_to_other_periods === "low". No home-grown price-history database needed, because Google’s band IS the history. Send the buy_link in the alert so the user can book from the notification.
Free tier on RapidAPI. No card to try.
Step 1 · Connect
Add the MCP server as a connector
Settings → Connectors (developer mode) → add the server URL. The key rides on the server URL; ChatGPT never sees it in chat.
https://flights.flightpowers.com/mcp?rapidapi_key=YOUR_RAPIDAPI_KEYBring your own RapidAPI key: every request is billed to your own subscription, never ours.
Step 2 · Ask it
The prompt
Verbatim: paste it, or anything shaped like it. The agent maps it to the call below.
“Every morning, check JFK→LHR fares for my December dates and alert me when Google’s verdict flips to low.”
Step 3 · Under the hood
What the agent calls
No glue code: the agent reads the tool schema, picks the tool, and fills these parameters from your prompt.
// search_oneway_flights
{
"from_airport": "JFK",
"to_airport": "LHR",
"departure_date": "2026-12-10",
"limit": 3
}Step 4 · Read the response
Fields your logic reads
The response is flat JSON. These are the fields this recipe branches on, with what each one means.
pricestringThe fare as Google Flights displays it: “$56”. The numeric twin price_as_number rides alongside for sorting and arithmetic.
price_range_in_relation_to_other_periods"low" | "typical" | "high" | nullGoogle’s verdict on the current fare against that band, the single field alerting, ranking, and “book now” logic branch on.
buy_linkstring (URL)A Google Flights deep link that reopens this exact itinerary. Hand it to the user; it just works.
Questions, answered plainly
- Is my key billed to me?
- Yes. The MCP server is bring-your-own-key: ChatGPT sends your RapidAPI key with each call and usage meters against your own subscription on RapidAPI. There is no FlightPowers account and no second bill.
- Does this need a server of mine?
- No. The MCP servers are hosted at flights.flightpowers.com and hotels.flightpowers.com: you add a URL to ChatGPT, not a deployment.
- What does it cost?
- The Google Flights Live API's free tier is 10 requests/month with a hard cap: enough to verify your key works, not to evaluate. The PRO plan is $10/month for 2,500 requests, and every plan includes every endpoint. A single daily check is about 30 requests a month: past the free tier’s 10, comfortably inside PRO.
Also works with
Fare-alert cron, elsewhere in your stack
More recipes
More to build in ChatGPT
One-way flight search
Flights API · search_oneway_flights
Round-trip search
Flights API · search_roundtrip_flights
Price-insights check
Flights API · search_oneway_flights
Cheapest-date scan
Flights API · search_oneway_flights
Hotel search
Hotels API · search_hotels
Rate-parity check
Hotels API · find_hotel_by_name
Ready to judge a fare, not just fetch it?
Live Google Flights and Booking.com data, with the price band and verdict attached to every result. Free tier on RapidAPI, no card to try.
Free tier: 10 requests/month. No card to try.