Google Flights MCP Server
Connect your AI agents to HasData's Google Flights MCP server. Scrape itinerary fares, flight legs, and CO2 estimates in structured JSON over streamable HTTP.
https://mcp.hasdata.com/api/mcp?apis=google_travel_flights - Transport
- Streamable HTTP
- Auth
- OAuth or API key
- Tools
- 1 Google Flights tool
- Price
- 15 credits / call


See the Google Flights MCP server in action
Select a sample prompt to inspect the tool it chooses and the JSON payload your agent receives.
What does JFK to London cost on 14 November, returning the 21st?
Is now a good time to book JFK to London for 14 November?
What does a one-way JFK to London on 14 November cost in euros?
Which JFK to London flight on 14 November has the lowest CO2?
The Google Flights tool your agent can call
1 toolOne tool that prices a real route. Three parameters are required because a fare does not exist without an origin, a destination and a date, and a round trip needs the return as well.
+ hasdata_google_travel_flights_getGoogleFlights Priced itineraries for a route and date 6 params 15 credits
Try| Parameter | Type | Required | Example |
|---|---|---|---|
| departureId | string | required | "JFK" |
| arrivalId | string | required | "LHR" |
| outboundDate | string | required | "2026-11-14" |
| returnDate | string | optional | "2026-11-21" |
| type | enum | optional | "roundTrip" |
| currency | string | optional | "USD" |
- bestFlights
- otherFlights
- price
- totalDuration
- flights
- layovers
- carbonEmissions
- priceInsights
- airports
Every call is 15 credits. Failed calls are not billed.
One endpoint, any MCP client
Config blocks for Claude Desktop, Cursor, VS Code, Windsurf and Claude Code, in each one’s native format. Authenticate with browser OAuth or an x-api-key header.
Claude Code
hasdata-google-flights · connected · 1 toolCursor
hasdata-google-flights · 1 tool enabledClaude Desktop
hasdata-google-flights · connected · 1 toolVS Code / Copilot
hasdata-google-flights · running · 1 toolWindsurf
hasdata-google-flights · 1 toolCodex CLI
hasdata-google-flights · 1 toolRaw HTTP / curl
{ "tools": [ … 1 item ] }Google Flights plus whatever else you need
Name the services in the query string and the server exposes only their tools. Every one draws from the same key and the same balance.
Free on GitHub, paid in hours
Anyone can clone a free MCP to scrape Google Flights. Whether that stays free depends on the shape of your project.
A script I run once
A weekly report
A pipeline in production
A feature in my product
One balance, every interface
A flat monthly price against a known credit ceiling. Move up a plan when you outgrow it.
Free
Startup
Basic
RecommendedGrowth
Monthly tool call volume
Custom price based on required volume
Past 20M credits a month, or terms the self-serve plans do not cover. We shape the contract around your workload.
The same data, without the agent.
Before you wire it in
Do I need a Google account or an airline API key?
No. The only credential is your HasData key. The tool reads the public Google Flights results a signed-out visitor sees, so there is no GDS contract or airline programme involved.
Why does this tool cost more than the others?
Because a flight search is heavier than a page read: Google assembles the itineraries behind an interactive interface. It bills 15 credits per successful call, which the table above states per tool rather than burying in a footnote.
Can I book through it?
No. Every tool on this server is read-only. A response carries a <code>bookingToken</code>, which identifies the itinerary for a follow-up lookup, not a reservation you can create through us.
How do I search a multi-city trip?
Set <code>type</code> to <code>multiCity</code> and pass the legs in <code>multiCityJson</code>. For a simple return, <code>roundTrip</code> with <code>returnDate</code> is enough.
How fresh are the fares?
Every call fetches at that moment, so a fare is the one on screen right now. Airline pricing moves through the day, which means a fare quoted an hour ago may already be gone. Nothing is served from a cache.
How many calls can run in parallel?
One on the free tier, five on Startup, fifteen on Basic, and fifty on Growth. The larger Growth volumes raise it to 200, 300 and 500.
What happens when I run out of credits?
Nothing is charged on top of the plan. Calls stop until the billing cycle renews.
Does it work with Claude Desktop, Cursor, VS Code and Claude Code?
Yes, all four, plus anything else that speaks MCP over streamable HTTP. Claude Desktop connects through OAuth, and the rest take the URL and an API key header.
Is HasData affiliated with Google?
No. HasData is an independent service and is not affiliated with, endorsed by, or sponsored by Google LLC. Google Flights is a trademark of its respective owner.