
Faa Aircraft Registry
io.github.pipeworx-iov0.1.0更新於 Oct 8, 2026
FAA civil aircraft registry — resolve a US tail number (N-number) to its
概覽
在美國聯邦航空總署民用航空器登記資料中查詢美國飛機尾號(N 號),回傳機體、發動機、登記人類型與登記狀態。
- 功能
- 提供一個查詢工具 faa_reg_lookup,可將 N12345 或 12345 這類 N 號解析為 FAA 登記參考資料:製造商、型號、序號、發動機、適航類別、登記人類型、登記狀態、證書日期,以及已註銷號碼的註銷資訊。僅對非個人登記人類型回傳登記人姓名;個人姓名會被隱去,已註銷紀錄從不回傳姓名。回應中包含來自每日快照的 data_as_of 日期。
- 適用情境
- 當助理需要辨識在美國註冊的航空器、查核登記狀態或適航類別,或確認某個 N 號是否已註銷時適用。適合航空研究、盡職調查與資料補充類任務,而非即時航班追蹤。
- 執行需求
- 使用供應商閘道上的遠端 MCP 端點;初次呼叫無需帳號或 API 金鑰。另有透過 npm 套件執行的本機 stdio 方式,需要 Node.js 與 npx。需要能連線至該閘道的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Faa Aircraft Registry,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"faa-aircraft-registry": {
"type": "http",
"url": "https://gateway.pipeworx.io/faa-aircraft-registry/mcp"
}
}
}README
@pipeworx/faa-aircraft-registry
Look up a US aircraft tail number (N-number) in the FAA civil aircraft registry — manufacturer, model, serial number, engine, airworthiness class, registrant type, registration status, certificate dates, and deregistration if the N-number has left the active registry.
Part of Pipeworx — an MCP gateway connecting AI agents to 1721+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
Tools
faa_reg_lookup(n_number)— resolves one N-number ("N12345" or "12345") to its aircraft/engine reference data, registrant type, and registration status. Registrant NAME is returned only for non-individual registrant types (corporation, LLC, partnership, co-owned, government) — an individual's name is personal data and is withheld, with the response saying so. A deregistered record never returns a registrant name at all (see "Personal data" below).
Auth
Keyless.
Data sources
- https://registry.faa.gov/database/ReleasableAircraft.zip — the FAA's full civil aircraft registry, refreshed daily. Four files are loaded: MASTER.txt (currently-registered aircraft), ACFTREF.txt (airframe make/model reference), ENGINE.txt (engine reference), DEREG.txt (historical deregistrations). DEALER.txt and RESERVED.txt ship in the same ZIP but are out of scope for this pack. US federal data, public domain.
Why this is a local-copy pack, not a live proxy
There is no live query API — the FAA only publishes the daily bulk ZIP. This
pack reads a Supabase mirror (faa_reg_acftref, faa_reg_engine,
faa_reg_aircraft, faa_reg_dereg; schema in
supabase/migrations/236_faa_aircraft_registry.sql) loaded once a day by
scripts/ingest-faa-aircraft-registry.mjs
(.github/workflows/faa-aircraft-registry-refresh.yml). Every successful
lookup response carries data_as_of from the row's own loaded_at.
The fetch itself is routed through the gateway, not done directly.
registry.faa.gov answers HTTP 403 "Access Denied" (Akamai) to a residential
IP on every User-Agent tried — a plain default UA, this pack's own honest
pipeworx-mcp-faa-aircraft-registry/1.0 UA, a full desktop-Chrome UA, even a
verbatim Googlebot UA — while a live Cloudflare Worker's own egress gets a
clean 200 with the real ~73 MB ZIP on every one of those same UAs (measured
2026-10-07). That is a pure IP-reputation hop, not a User-Agent check, and
not the shape a UA-forging workaround would fix even if one were wanted — so
the ingest script calls the gateway's own /admin/faa_reg_fetch_zip route
(workers/gateway/src/index.ts), which streams the ZIP back through a
Cloudflare Worker's already-proven-working egress, and the ingest script
does the actual unzip/parse/load from wherever it runs.
The DB load is TRUNCATE + psql \copy per table, all four in one
transaction (SUPABASE_POOLER_URI) — this is a full daily snapshot, not an
incremental upsert, because today's MASTER.txt does not contain yesterday's
deregistered N-numbers at all. A parse failure on any of the four files
rolls the whole transaction back, so yesterday's data stays live rather than
a table going half-replaced.
Personal data
MASTER's TYPE REGISTRANT column distinguishes an individual registrant
(code 1) from a partnership/corporation/co-owner/government/LLC/non-citizen
entity (codes 2,3,4,5,7,8,9). The registrant NAME column is personal
data for an individual and is stored in the mirror (it is in the FAA's own
public bulk file) but is never returned by faa_reg_lookup when
type_registrant is 1 or blank/unknown — only non-individual registrant
names are returned, and the response states which case applies.
DEREG.txt (historical deregistrations) carries no registrant-type column
at all — there is no way to tell an individual from an entity in that
file — so faa_reg_lookup never returns a registrant name for a
deregistered record, regardless of what the registrant actually was.
Code tables
type_registrant, type_aircraft, type_engine and the airworthiness
class (CERTIFICATION) are the FAA's own long-stable, widely published code
sets, decoded in src/index.ts with the raw code always included alongside
the label. status_code's table is a smaller, best-effort decode of the
common codes (A/D/E/M/R/S/V/W/Z, sourced from public search snippets of the
FAA's own ardata.pdf layout doc, which itself answers 403 on every egress
tried — unlike the data ZIP, routing around that was not worth it for one
reference doc) — an uncommon or future code comes back with the raw value
and a null label rather than a guess.
Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
What this endpoint actually serves
tools/list at https://gateway.pipeworx.io/faa-aircraft-registry/mcp returns the tools in the table
above plus the shared Pipeworx meta-tools — ask_pipeworx,
discover_tools, search_within, remember/recall and the rest of the
gateway-wide set. So the tool count you see is larger than this table: a
single-pack endpoint currently lists roughly 30 shared tools alongside the
pack's own. The connection's initialize response states its exact scope, and
is the authoritative answer for a given day.
This is deliberate, not multiplexing by accident. The meta-tools are what let a
scoped connection answer a question this pack does not cover — via
ask_pipeworx, which routes across the whole catalog — without you adding a
second MCP server. There is currently no way to mount a pack endpoint without
them; if the extra schemas cost you more context than the routing is worth,
connect to the full gateway once rather than to several pack endpoints.
Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:
Both URLs reach the same gateway and the same 1721+ data sources. The
only difference is which pack's tools are listed directly; ask_pipeworx
reaches all of them from either one.
No MCP client? Call it over HTTP
No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/faa_reg_lookup. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.
Standalone (no gateway account)
This package also runs as a local stdio MCP server — no Pipeworx account, no gateway round-trip:
Or run it directly to confirm it starts:
It speaks MCP over stdin/stdout and answers initialize/tools/list/tools/call
for only this pack's tools — none of the shared meta-tools the gateway
connection above adds. Same source, same tools, no ask_pipeworx routing.
Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:
The gateway picks the right tool and fills the arguments automatically.
More
License
MIT
來源:README.md,提交 04b986b
工具
0版本歷史
1- v0.1.0最新Oct 8, 2026
