
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
