Skip to main content
Glama
nstevens

flight-finder

by nstevens

flight-finder

Find the genuinely best flight โ€” cash or points โ€” by ranking every option against what a mile is actually worth to you.

Three ways to use this

  • ๐Ÿง  Build your own with Claude Code โ†’ GUIDE.md

  • ๐Ÿ›  Run the code โ†’ below

  • ๐Ÿš€ Just use it โ†’ hosted version (coming soon)

What it does

Award availability and cash fares live in a dozen places and change by the hour. flight-finder pulls both โ€” cash fares (via Google Flights) and award space (via the seats.aero Pro API) โ€” then ranks every option using your per-program cents-per-mile valuations and travel preferences. It also enriches each option with seat-quality detail from AeroLOPA โ€” cabin layout, seat counts, and the actual seat map for the specific aircraft (tail-number matched) โ€” so you're comparing the seat you'll actually sit in, not just the price. "Is this a good deal?" becomes a number, not a vibe. And it runs as an MCP server, so you can plan trips conversationally in Claude Code: "find me SEAโ†’Tokyo in business under 120k points."

Related MCP server: Award Flight Daily MCP Server

Quickstart

uv sync
cp .env.example .env                      # add SEATS_AERO_API_KEY (+ optional AEROLOPA_API_ID / AEROLOPA_API_SECRET for seat maps)
# edit config/profile.yaml + config/programs.yaml (home airports, point balances, cpm values)
uv run ff search --from SEA --to FCO --depart 2026-11-21 --cabin BUSINESS
uv run ff awards --from SEA --to FCO --start 2026-11-18 --end 2026-11-23 --cabin business
uv run ff plan trips/example-trip.yaml --out trips/example-shortlist.md

MCP (Claude Code)

claude mcp add flight-finder --scope user \
  -- uv --directory /path/to/flight-finder run python -m flight_finder.mcp_server

Tools: search_cash_one_way, search_cash_round_trip, search_awards, find_positioning_flights, get_seat_map, plan_trip.

How it works

src/flight_finder/
  offer.py            # normalized Offer (cash or award) + Segment
  config.py           # profile + programs + env
  cash/                # Google Flights wrapper + multi-origin ร— date fan-out
  awards/              # seats.aero Pro client
  strategy/scorer.py   # cpm-based cost + preference-aware ranking  โ† the core idea
  seatmaps/            # AeroLOPA enrichment: cabin product + seat map per aircraft (tail-matched)
  planner.py           # combines it all behind a TripSpec
  cli.py ยท mcp_server.py

The interesting decision: a single normalized Offer for cash and award, so the scorer can compare them on one axis โ€” your dollar value โ€” instead of apples-to-oranges price vs. miles.

What I learned building this

The hard part wasn't the model โ€” it was the valuation layer. The same award seat is a steal or a trap depending on which points you hold, what you value, and even which seat you'll actually sit in. Encoding that judgment is what turns a search into a recommendation. It's true of most useful AI products: the model is the commodity; the context and the scoring are the moat.

Built with Claude Code

Built nights and weekends, mostly by talking to Claude โ€” scaffolded, iterated, and tested through Claude Code.

License

MIT

Install Server
A
license - permissive license
B
quality
C
maintenance

Maintenance

โ€“Maintainers
โ€“Response time
โ€“Release cycle
โ€“Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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/nstevens/flight-finder'

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