Skip to main content
Glama
HaroldLeo

Google Flights MCP Server

by HaroldLeo

search_one_way_flights

Find available one-way flights for a specific date between two airports, with options to filter by passenger count, cabin class, and retrieve only the cheapest option.

Instructions

Fetches available one-way flights for a specific date between two airports.
Can optionally return only the cheapest flight found.

Args:
    origin: Origin airport code (e.g., "DEN").
    destination: Destination airport code (e.g., "LAX").
    date: The specific date to search (YYYY-MM-DD format).
    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", "adults": 2, "children": 1}
    {"origin": "SFO", "destination": "JFK", "date": "2025-07-20", "return_cheapest_only": true}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
originYes
destinationYes
dateYes
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