Purpose: This MCP server wraps the query capability of Google Flights Deals into a single tool for MCP clients (such as Claude Code, Claude Desktop, Cursor, and Windsurf) to call. Users describe their travel intent in natural language, and the server returns fares with dates, prices, typical prices, airlines, number of stops, and booking links, with results presented as structured JSON.
Main capabilities: Provides a single tool, hasdata_google_travel_flights_deals_getGoogleFlightsDeals. A single call accepts only one departure airport (departureId), and Google determines the destination and date range based on the description. All filters (such as price cap, nonstop, cabin class, and trip duration) must be used together with arrivalId (a specified destination); when arrivalId is missing, requests with filters return 422 and are not billed. searchInformation reports the departure airport, date range, price range, and airlines involved. The server also provides 7 resources, each corresponding to one parameter and listing the fixed values accepted for that parameter; reading these resources consumes no credits and requires no API key.
Usage: A remote server; all clients use the same URL and pass the HasData API key via the x-api-key header. Clients that support OAuth can add the same URL as a connector and log in, without writing the key into a configuration file. Clients that only support stdio can connect via the npm package @hasdata/google-flights-deals-mcp or the PyPI package hasdata-google-flights-deals-mcp launcher. No Google account is required; the only credential is the HasData key.
Use cases: Suitable for exploring "where to go and when to go" early in trip planning, for example, finding cheap dates for cherry blossom season or a beach vacation from a given departure airport; once the destination is determined, the Google Flights API can then be used to query prices for specific itineraries. When comparing multiple departure airports, one call per airport is required.
Limitations and billing: Each successful call consumes 15 credits, regardless of the number of results returned; 422 validation errors and 400 upstream errors are not billed. The free tier is 1,000 credits per month (about 66 searches), with no credit card required; paid plans start at $59 per month for 200,000 credits (about 13,000 searches), with larger plans having a lower unit price. When a tool call fails, the MCP layer usually returns 200 and sets isError to true in the result along with the reason text. The discountPercent field is not present in every result; when missing, it can be calculated from price and typicalPrice. airline and airlineCode are both missing when multipleAirlines is true, and "multiple airlines" should be reported. The date range is based on searchInformation.dateRange and may be several months from the current date. The server reads the public Google Flights deals interface, does not include passenger data, and does not perform bookings. HasData is not affiliated with Google.