Skip to main content
Glama
HaroldLeo

Google Flights MCP Server

by HaroldLeo

search_direct_flights

Find direct flights with no stops for one-way or round-trip travel. Specify origin, destination, date, passengers, and cabin class to get flight options.

Instructions

Search for direct flights only (no stops). Supports both one-way and round-trip.

Args:
    origin: Origin airport code (e.g., "SFO").
    destination: Destination airport code (e.g., "JFK").
    date: Departure date (YYYY-MM-DD format).
    is_round_trip: If True, search round-trip flights (default: False).
    return_date: Return date for round-trips (YYYY-MM-DD format, required if is_round_trip=True).
    adults: Number of adult passengers (default: 1).
    children: Number of children (2-11 years, default: 0).
    infants_in_seat: Number of infants in seat (under 2 years, default: 0).
    infants_on_lap: Number of infants on lap (under 2 years, default: 0).
    seat_type: Fare class - economy/premium_economy/business/first (default: "economy").
    return_cheapest_only: If True, returns only the cheapest flight (default: False).

Example Args:
    {"origin": "SFO", "destination": "JFK", "date": "2025-07-20"}
    {"origin": "SFO", "destination": "JFK", "date": "2025-07-20", "is_round_trip": true, "return_date": "2025-07-27"}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
originYes
destinationYes
dateYes
is_round_tripNo
return_dateNo
adultsNo
childrenNo
infants_in_seatNo
infants_on_lapNo
seat_typeNoeconomy
return_cheapest_onlyNo
max_resultsNo
compact_modeNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/HaroldLeo/google-flights-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server