flightaware-mcp CLAUDE.md

flightaware-mcp CLAUDE.md is an instructions file for Claude Code from chrischall/flightaware-mcp. It costs 1,130 tokens per session, scanned A, original, MIT.

A project guide for Claude Code working on flightaware-mcp, a server that connects Claude to FlightAware's flight-data service. It documents the project's setup, structure, conventions, API access, and tools.

In plain words
What is it for?
Use it when developing, reviewing, or maintaining this FlightAware MCP server, including its flight searches, airport data, maps, alerts, and related API calls.
Why use it?
It gives the coding agent the repository context and prevents mistakes such as using the wrong API authentication method or handling responses incorrectly.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

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.

agentmods
npx agentmods add instructions/chrischall/flightaware-mcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/chrischall/flightaware-mcp

Made for: Claude Code.

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 flightaware-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/chrischall/flightaware-mcp/claude-md.svg)](https://agentmods.dev/instructions/chrischall/flightaware-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/chrischall/flightaware-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/chrischall/flightaware-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,130 This file is loaded in full into every session.
When invoked 1,130 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.01130 $0.01130
Opus 5 $0.00565 $0.00565
Sonnet 5 $0.00226 $0.00226
Haiku 4.5 $0.00113 $0.00113

Measured 5d ago against content hash 57570039d8b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

flightaware-mcp CLAUDE.md 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 5d 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.

CLAUDE.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md — flightaware-mcp

Guidance for Claude working in this repo.

TL;DR

FlightAware AeroAPI (v4) MCP server. Wraps the AeroAPI REST API (https://aeroapi.flightaware.com/aeroapi) and exposes 33 tools to Claude over stdio: flight lookup/search/positions/count/track/position/route/map/history/ canonical, airport boards + counts + routes + delays + weather + nearby + canonical, operators, aircraft owner, scheduled flights, Foresight predictive search, and flight-alert management.

Auth is an AeroAPI key (AEROAPI_API_KEY) sent in the x-apikey header — AeroAPI does not use Authorization: Bearer. This is the bearer/direct-API archetype: reads go through the fleet-shared createApiClient (configured with a non-Bearer tokenHeader); mutations go through a small raw-fetch write() because AeroAPI returns the new-resource id in the Location header on create and an empty body on delete (neither fits a JSON-only client). No fetchproxy.

Environment

AEROAPI_API_KEY=<key>            # Required. Create at https://www.flightaware.com/aeroapi/portal/
AEROAPI_OUTPUT_DIR=<dir>         # Optional. Where flight-map PNGs are written (default: cwd)
AEROAPI_CACHE_TTL=<secs>        # Optional. Live-data read-cache TTL (default 15; 0 disables)
AEROAPI_STATIC_CACHE_TTL=<secs> # Optional. Reference-data read-cache TTL (default 3600; 0 disables)

client.get(path, { cache }) is backed by an in-memory cache keyed by full path, with two TTL tiers to cut AeroAPI's per-query billing: dynamic (AEROAPI_CACHE_TTL, default 15s) for live data, and static (AEROAPI_STATIC_CACHE_TTL, default 3600s) for reference data that barely changes — opted in per tool via get(path, { cache: 'static' }) (airport/ operator info, fa_list_*, routes, aircraft owner, fa_resolve_*). Writes are never cached. Tier note: alerts, fa_get_flight_history, and the fa_resolve_* canonical tools require a Standard/Premium tier (Personal 401s).

Loaded via loadDotenvSafely from .env next to dist/ (failure swallowed — the .mcpb bundle has no dotenv). The config error is deferred: the server boots without a key and the actionable error surfaces on the first tool call, so the host's install-time tools/list probe still succeeds.

Read the full file on GitHub · 71 lines

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. 5d ago First seen · 71 lines · 1,130 tokens per session scan A 57570039d8b2

Subscribe to this mod's changes

flightaware-mcp CLAUDE.md is an instructions file published in the GitHub repository chrischall/flightaware-mcp (1 stars, last pushed yesterday), licensed MIT. It adds 1,130 tokens to every session, about $0.0056 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.