search-flights

search-flights is a command for Claude Code from AwardTravelFinder/mcp. It costs 6 tokens per session (603 once invoked), scanned A, original, MIT.

A command for finding airline award-flight seats across supported airlines. Award flights are bookings paid with airline points or miles instead of ordinary cash fares.

In plain words
What is it for?
Use it to search routes by airport or city and date, check a specific airline or all supported airlines, and view availability and pricing by cabin.
Why use it?
It reduces the need to check many airline programs separately when looking for bookable flights and comparing points costs.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the award-travel-finder plugin — 2 skills, 2 commands, 1 MCP server shipped together

Good fit Use it to search routes by airport or city and date, check a specific airline or all supported airlines, and view availability and pricing by cabin.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/awardtravelfinder/mcp/search-flights
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/AwardTravelFinder/mcp

Made for: Claude Code.

Or install award-travel-finder, the plugin that ships this one along with the rest of its 2 skills, 2 commands, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for search-flights

README.md
[![agentmods](https://agentmods.dev/badge/commands/awardtravelfinder/mcp/search-flights/github.svg)](https://agentmods.dev/commands/awardtravelfinder/mcp/search-flights)
Your own site
<a href="https://agentmods.dev/commands/awardtravelfinder/mcp/search-flights"><img src="https://agentmods.dev/badge/commands/awardtravelfinder/mcp/search-flights/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for search-flights

Your own site · 80×15
<a href="https://agentmods.dev/commands/awardtravelfinder/mcp/search-flights"><img src="https://agentmods.dev/badge/commands/awardtravelfinder/mcp/search-flights.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 603 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00006 $0.00603
Opus 5 $0.00003 $0.00302
Sonnet 5 $0.00001 $0.00121
Haiku 4.5 $0.00001 $0.00060

Measured 7d ago against content hash 6bf959278e42, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

search-flights scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/search-flights.md · 46 lines

What it actually says

Search Award Flights

The user wants to search for award flight availability across the 28 airlines supported by Award Travel Finder.

Arguments

The user invoked this command with: $ARGUMENTS

Parse the arguments to extract:

  • Airline (optional): name or IATA code (e.g. BA, QR, CX, VS, IB, EK, QF, AS, AA, B6, EY, JL, AC, NH, SQ, TK, AF, KE, F9). If omitted, use search_all_airlines to fan out.
  • From: Departure airport (city name or IATA code)
  • To: Arrival airport (city name or IATA code)
  • Date: Specific date (YYYY-MM-DD) or month (YYYY-MM)

Map common airline names to slugs (e.g. british_airways, qatar_airways, cathay_pacific, virgin_atlantic, iberia, emirates, qantas, alaska_airlines, american_airlines, jetblue, etihad, frontier).

Process

  1. If the user didn't specify an airline, run search_all_airlines for the date and route to discover what's bookable.
  2. Run get_pricing to show the points cost across cabin classes.
  3. If a specific date is given, use search_availability. If a month is given, use search_monthly_availability. If no date, ask the user.
  4. For premium-cabin long-haul where cash might beat points, optionally suggest search_hybrid to compare cash vs split-ticket award options.
  5. Present results in a clean table: Date | Airline | Cabin | Seats | Points Required | Taxes/Fees
  6. Highlight the best value options.

Examples

/atf:search-flights BA LHR JFK 2026-04-15
/atf:search-flights qatar DOH SIN 2026-05
/atf:search-flights JFK NRT 2026-11-14         # no airline → search_all_airlines
/atf:search-flights virgin LHR JFK 2026-06-15
/atf:search-flights qantas SYD LAX 2026-07
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago Changed 6bf959278e42
  2. 11d ago First seen · 46 lines · 6 tokens per session scan A 7e8d40038056

Subscribe to this mod's changes

search-flights is a command published in the GitHub repository AwardTravelFinder/mcp (7 stars, last pushed 9d ago), licensed MIT. It adds 6 tokens to every session and 603 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.