# FLIGHT SEARCH FOR CLAUDE CODE
Add flight search and price tracking to Claude Code as an MCP server. Searches Google Flights directly — no API key, no monthly bill. Tracks routes locally and alerts on price drops.
# install in 3 steps
1. Clone & install
git clone https://github.com/jackculpan/flightclaw
cd flightclaw
pip install flights "mcp[cli]"
click to copy · requires python 3.10+
2. Add to Claude Code
claude mcp add flightclaw -- python3 server.py
click to copy · run from inside the cloned directory
3. Verify
claude mcp list
click to copy · you should see flightclaw in the list
~~~
# what claude code can now do
find me nonstop flights LHR to JFK in july, business class
searching google flights for July 2026...
$2,840 BA 117 · LHR 08:20 → JFK 11:05
$2,915 VS 9 · LHR 10:55 → JFK 13:40
$3,120 AA 105 · LHR 18:30 → JFK 21:25
track the BA flight, alert me under $2,500
tracking BA 117 LHR→JFK Jul 1 · current: $2,840 · target: $2,500
what's the cheapest day in july for that route?
searching all 31 days in july...
cheapest: $2,710 on Jul 18 (BA 117)
# tools claude code gets
- search_flights — route, date, cabin, stops, airline, time filters
- search_dates — cheapest-date calendar across a range
- track_flight — persistent route tracking with target price
- check_prices — refresh tracked routes, surface drops
- list_tracked — all tracked routes with price history
- remove_tracked — stop watching a route
See the full MCP server reference for filter options and config.
~~~
# example workflows
Cron-based price watch
Combine with Claude Code's scheduled tasks: have Claude run check_prices every morning and notify you in Slack/Discord when a tracked route drops.
Trip planning
Ask Claude to find the cheapest week in a 3-month window, search alternate airports (LHR, LGW, STN), and compile a comparison.
Award travel research
Use cash prices as a baseline to evaluate whether to redeem points — Claude can compare $-per-point across redemption options.
~~~
# FAQ
Does this work with Claude Desktop too?
Yes — see the MCP install page for the Claude Desktop config snippet.
Is there an API key or rate limit?
No. flightclaw uses the open-source fli library to query Google Flights directly. Be reasonable with request volume; otherwise no cost.
Where is tracking data stored?
Locally in data/tracked.json. No cloud, no telemetry.