# FLIGHT SEARCH MCP FOR GEMINI CLI
Add a flight search MCP server to Gemini CLI. The agent can then search ~300 airlines, read fare rules, and create a checkout link from your terminal.
# connect in gemini cli
One command
gemini mcp add --transport http flightclaw https://mcp.flightclaw.com/mcp
click to copy
Or edit settings.json
Add this to ~/.gemini/settings.json, or to .gemini/settings.json in a project:
{
"mcpServers": {
"flightclaw": { "httpUrl": "https://mcp.flightclaw.com/mcp" }
}
}
click to copy
Sign in
/mcp auth flightclaw
click to copy · run inside gemini cli, then enter your email and the 6-digit code
No API key. Gemini CLI finds the OAuth settings on its own and stores the token for you.
~~~
# what gemini cli can now do
cheapest london to new york june 2, carry-on only is fine
searching LHR → JFK...
$398 NO 2 · LGW 17:30 → JFK 20:25 · nonstop
$451 VS 3 · LHR 08:35 → JFK 11:40 · nonstop
show the fare rules on the first one
no refund · change $75 + fare difference · 1 personal item
# prompts to try in gemini cli
- “list nonstop flights from SEA to HNL in the second week of december as a csv”
- “find a business class seat MAD to BOG under $2,500”
- “save my traveler details from traveler.json, then open a checkout for offer 2”
~~~
# tools gemini cli gets
- search_flights — route, date, return date, cabin, passengers, max connections
- get_offer — full price, bags and fare rules for one offer
- create_checkout — secure checkout link and the exact total to pay
- get_order / cancel_order — check or cancel a booking
- save_traveler / list_travelers — saved passport names for booking
- set_preferences — cabin rules, airlines and seats to remember
See the full MCP server reference and the docs.
~~~
# pricing
The MCP server is free to connect and search. When you book, you pay the airline fare plus a 5% + $3 booking fee (minimum $12), shown as a separate line at checkout. A change to a booking costs $6 plus any airline fare difference.
~~~
# FAQ
How do I add a remote MCP server to Gemini CLI?
Run gemini mcp add --transport http with a name and the URL, or add an httpUrl entry to settings.json.
How do I sign in?
Run /mcp auth flightclaw in Gemini CLI. If the token ends, run the same command again.
What is the difference between url and httpUrl?
In Gemini CLI, httpUrl is for streamable HTTP servers like flightclaw. Use httpUrl.
Can I check that the tools loaded?
Yes. Run /mcp to see the server status and its tools.
Is flightclaw made by Google?
No. flightclaw is an independent service. Fares come from ~300 airlines through Duffel.