faa-aircraft-registry-mcp-server MCP Server
Offline, keyless lookup of the US civil aircraft registry — decode N-numbers, search records.
faa-aircraft-registry-mcp-server scores 73 (Good), licensed Apache-2.0 and written in TypeScript. It can be reached as a remote MCP endpoint. It declares 6 tools. Filed under Search. GitHub shows 5 stars. Package registries report about 318 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
73 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: apache-2.0.
License, quality and maintenance
Quality: Grade B
78/100 for listing completeness. Lost points: 5 of 6 tools barely described, short summary.
How quality is graded
Where the 73 comes from
22 + 20 + 7 + 10 + 4 + 10 = 73. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 7 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "cyanheads-faa-aircraft-registry-mcp-server": { "command": "npx", "args": [ "-y", "@cyanheads/faa-aircraft-registry-mcp-server@0.2.1" ], "env": { "FAA_REDACT_OWNER_PII": "true", "FAA_MIRROR_PATH": ".mirror/faa-registry.db", "FAA_CLAMP_LIMITS": "true", "FAA_DATABASE_URL": "https://registry.faa.gov/database/ReleasableAircraft.zip", "MCP_LOG_LEVEL": "info" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
FAA_REDACT_OWNER_PII | Optional | Redact owner name/address and builder names matching a current or former registrant, and disable owner-name search. Redacted by default; set to false only on trusted local installs. Unset/empty/malformed resolves to redacted. |
FAA_MIRROR_PATH | Optional | Filesystem path to the SQLite registry index file. |
FAA_CLAMP_LIMITS | Optional | Clamp search page sizes above 200 by default. Set to false to reject larger limits. |
FAA_DATABASE_URL | Optional | Source URL for the FAA Releasable Aircraft Database ZIP (used by mirror:init/refresh only). |
MCP_LOG_LEVEL | Optional | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
MCP_TRANSPORT_TYPE | Optional | Selects the HTTP transport. |
FAA_REDACT_OWNER_PII | Optional | Redact owner name/address and builder names matching a current or former registrant, and disable owner-name search. Redacted by default; set to false only on trusted local installs. Unset/empty/malformed resolves to redacted. |
FAA_MIRROR_PATH | Optional | Filesystem path to the SQLite registry index file. |
FAA_CLAMP_LIMITS | Optional | Clamp search page sizes above 200 by default. Set to false to reject larger limits. |
FAA_DATABASE_URL | Optional | Source URL for the FAA Releasable Aircraft Database ZIP (used by mirror:init/refresh only). |
MCP_HTTP_HOST | Optional | The hostname for the HTTP server. |
MCP_HTTP_PORT | Optional | The port to run the HTTP server on. |
MCP_HTTP_ENDPOINT_PATH | Optional | The endpoint path for the MCP server. |
MCP_AUTH_MODE | Optional | Authentication mode to use: 'none', 'jwt', or 'oauth'. |
MCP_LOG_LEVEL | Optional | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
Tools6Tool docs quality grade F
All capabilitiesctx.logtoolrequest-scoped logging, ctx.state for tenant-scoped storage
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
About
Public Hosted Server: https://faa-aircraft-registry.caseyjhand.com/mcp
Overview
The US civil aircraft registry, searchable offline from the FAA's Releasable Aircraft Database. Decode an N-number to its aircraft, engine, and registered owner; check its current state and cancellation history; and search by serial number, make and model, engine code, airworthiness class, manufacture year, state, Mode S code, or owner when redaction is off.
Tools
| Tool | Description |
|---|---|
faa_lookup_registration | Decode one active N-number to aircraft, engine ratings, approved operations, registration dates, Mode S code, and registered owner when redaction is off. |
faa_get_registration_status | Resolve current state in active → reserved → deregistered order, with cancellation history for the N-number. |
faa_search_registrations | Search active registrations by serial number, owner name, make/model, exact manufacturer/model or engine code, state, aircraft type, airworthiness class, manufacture-year range, or Mode S code. |
faa_search_aircraft_types | Search the aircraft reference table by manufacturer/model name, type, or category to discover manufacturer-model codes. |
faa_get_aircraft_type | Decode a 6–7-character manufacturer/model/series code to aircraft specs — category, type, engine, seats, weight class, cruise speed, type-certificate data. |
Resources
| Resource | Description |
|---|---|
faa://registration/{nNumber} | Full registration record for one N-number — the same decoded, pre-joined payload as faa_lookup_registration. |
The registration resource returns the same domain fields as faa_lookup_registration. Search results are available through the tools.
The FAA registry guide covers model-code discovery, serial disambiguation, snapshot-aware paging, and N-number reassignment. It ships with plugin, npm, Docker, and MCPB installs and is available over MCP as skill://faa-aircraft-registry-guide/SKILL.md.
Capability reference
faa_lookup_registration tool
- Accepts
N12345or12345; the leadingNis optional - Returns decoded aircraft, engine, and status fields as raw code plus label, and the Mode S code in octal and hex (hex is the ICAO 24-bit address)
- Preserves
approvedOperationsRawand decodes operations using the airworthiness class; unknown codes retain their raw value without a label - Includes known per-engine
engineHorsepowerandengineThrustLbs; zero or missing ratings stay absent - Owner name and address appear only when
FAA_REDACT_OWNER_PII=false; otherwiseownerRedacted: true - Errors:
not_found(no active registration; tryfaa_get_registration_status),invalid_n_number
faa_get_registration_status tool
- Checks the active, reserved, and deregistered files in that order
recordTypeisactive,deregistered,reserved, orunknown; a number absent from the snapshot returnsunknown, not an error- Includes available
cancellationsnewest first, with aircraft identity and export country when known. An N-number can be reassigned, so its history can span different airframes - A cancellation row's status is the status recorded on that row, not the current registration state or a cancellation cause; no owner data is returned
- Error:
invalid_n_number
faa_search_registrations tool
- Filters:
ownerName,makeModel,manufacturerModelCode,engineManufacturerModelCode,serialNumber,state,aircraftType,airworthinessClass,yearManufacturedMin,yearManufacturedMax,modeSCode; at least one required, combined with AND engineManufacturerModelCodeis the exact five-digit FAA engine code (leading zeros significant), taken fromfaa_lookup_registrationor a search result.airworthinessClassis one code from 1 (Standard) to 9 (Light Sport). The year bounds are inclusive four-digit years; registrations with no recorded year never match- Each result carries
engineManufacturerModelCodeandairworthinessClass(code and label; a stored0keeps its code with no label) - When
modeSCodematches nothing, the notice states which N-number a US address encodes, andencodedNNumbercarries it forfaa_get_registration_status; an address that encodes none (outside A00000–AFFFFF, or in it but unassigned) gets a sentence saying so - Make/model terms match token prefixes, so
Cessna 172includes variants such as 172S. A term with 1–4 boundaries (a separator, or a letter/digit change) also matches its other join/split spellings:PA28andPA-28,PA-32RandPA32R,UH-1HandUH1Hfind the same rows. The term as typed always remains an alternative; terms with no boundary or more than four match as typed, and a joined digit run is never split (PA28181does not findPA-28-181). A search adds at most 20 spelling variants, in term order; a term whose variants exceed what remains matches as typed. Terms with no letter or digit are ignored (cessna - 172=cessna 172) and a repeated term is matched once. Owner terms keep whole-token matching as typed, with no expansion - Serial matching is exact after trimming and ignores case; leading zeros, punctuation, and internal spaces remain significant. Serials can repeat across manufacturers; combine with a model filter to narrow them
limitdefaults to 25 and clamps to 200 with a notice;FAA_CLAMP_LIMITS=falserejects larger requests. Responses reporttotalCountandnextOffsetforoffsetpaging- Each result carries an N-number to pass to
faa_lookup_registration - Errors:
no_filters,invalid_code,invalid_state,invalid_mode_s_code,invalid_aircraft_type,invalid_engine_code,invalid_airworthiness_class,invalid_year_range, andowner_search_disabled(owner-name search is off whileFAA_REDACT_OWNER_PIIis on)
faa_search_aircraft_types tool
- Filters:
query(manufacturer/model token prefixes, with the same join/split designator spellings asmakeModel),aircraftType(1–9/H/O),category(1–3); at least one required - Returns summaries with the code to pass to
faa_get_aircraft_typeorfaa_search_registrations.manufacturerModelCode, ordered by manufacturer, model, then code, with withheld manufacturers last limitdefaults to 25 and clamps to 200 with a notice;FAA_CLAMP_LIMITS=falserejects larger requests. Responses reporttotalCountandnextOffsetforoffsetpaging- Errors:
no_filters,invalid_aircraft_type,invalid_category
faa_get_aircraft_type tool
- Accepts a 6–7-character uppercase alphanumeric manufacturer/model/series code; find codes with
faa_search_aircraft_types - Returns manufacturer, model, type, engine, category, seats, engines, weight class, cruise speed, and type-certificate data
weightClasskeeps the raw FAA string;weightClassLabeldecodes it when known- Errors:
not_found,invalid_code
faa://registration/{nNumber} resource
- Same domain payload as
faa_lookup_registration;application/jsonwith a one-hour private cache hint. Tool freshness enrichment is not included nNumberacceptsN12345or12345- Errors:
not_found,invalid_n_number
Features
Built on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.
FAA registry-specific:
- Offline and keyless at runtime: queries hit a local SQLite + FTS5 index with no API key or rate limit
- Daily index refresh under HTTP transport, aligned to the FAA's nightly re-release
- Pre-joined records: one call returns decoded aircraft, engine, and status
- Owner name and address are redacted by default, and owner-name search is disabled until
FAA_REDACT_OWNER_PII=false - Builder names identified from registrant records are withheld from aircraft output and matching under redaction, including repeated kit-manufacturer names. Public manufacturer names and model-only searches remain available
- A rebuild is unavailable to readers until it completes; a failed rebuild cannot serve partial registry results
- Mode S hex codes match the ICAO 24-bit addresses used by flight-tracking feeds
Agent-friendly output:
- Coded fields carry both the raw FAA code and the decoded label
- Capped search results flag
truncatedwithshownandcap - Fields the FAA leaves blank stay absent rather than filled in
recordTypeandownerRedactedlet callers branch on data- Successful tools include
dataAsOfwhen the source archive date is known, with a refresh notice when it is more than seven days old. Missing dates are disclosed, never replaced by the local build time
Getting started
Public Hosted Instance
A public instance is available at https://faa-aircraft-registry.caseyjhand.com/mcp — no installation required. Point any MCP client at it via Streamable HTTP:
{
"mcpServers": {
"faa-aircraft-registry-mcp-server": {
"type": "streamable-http",
"url": "https://faa-aircraft-registry.caseyjhand.com/mcp"
}
}
}
Self-Hosted / Local
First run requires building the local index — see First-run setup below. The package does not ship the FAA data; until
mirror:inithas run once, queries fail with a clear "run mirror:init" error.
The Desktop MCPB includes Node's SQLite driver and its cross-platform prebuilts. Build the local index with the bundle's mirror CLI before querying.
Add the following to your MCP client configuration file:
{
"mcpServers": {
"faa-aircraft-registry-mcp-server": {
"type": "stdio",
"command": "bunx",
"args": ["@cyanheads/faa-aircraft-registry-mcp-server@latest"],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info",
"FAA_MIRROR_PATH": "/path/to/faa-registry.db"
}
}
}
}
Or with npx (no Bun required):
{
"mcpServers": {
"faa-aircraft-registry-mcp-server": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@cyanheads/faa-aircraft-registry-mcp-server@latest"],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info",
"FAA_MIRROR_PATH": "/path/to/faa-registry.db"
}
}
}
}
Or with Docker (mount a volume at /usr/src/app/.mirror so the built index persists across containers — build it once with docker exec … bun run mirror:init):
{
"mcpServers": {
"faa-aircraft-registry-mcp-server": {
"type": "stdio",
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "MCP_TRANSPORT_TYPE=stdio",
"-v", "faa-registry:/usr/src/app/.mirror",
"ghcr.io/cyanheads/faa-aircraft-registry-mcp-server:latest"
]
}
}
}
For Streamable HTTP, set the transport and start the server:
MCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 bun run start:http
# Server listens at http://localhost:3010/mcp
FAA_MIRROR_PATH points the server at the index that mirror:init builds — set it to a persistent path so the index survives across runs. Owner PII is redacted by default; set FAA_REDACT_OWNER_PII=false only on a trusted local install to expose owner detail.
First-run setup
The FAA Releasable Aircraft Database is not bundled with the package — it is a public dataset (~70 MB compressed, refreshed daily by the FAA) that the operator downloads and indexes once before first use. Building the index produces a local SQLite file of a few hundred MB.
Build the index out-of-band (never on server startup — a full parse of ~1M rows must not block start). From a source checkout, run bun install && bun run build first. Then, from the checkout, installed package directory, or extracted MCPB directory, run the compiled commands below. Node and Bun both work; replace node with bun to use Bun's built-in SQLite. The Docker image supports bun run mirror:init, mirror:verify, and mirror:refresh.
# Build the local index from the FAA download
FAA_MIRROR_PATH=/path/to/faa-registry.db node dist/cli/faa-mirror-init.js
# Verify it built (readiness + integrity check)
FAA_MIRROR_PATH=/path/to/faa-registry.db node dist/cli/faa-mirror-verify.js
# Rebuild from the latest FAA release (run on a schedule, or out-of-band for stdio)
FAA_MIRROR_PATH=/path/to/faa-registry.db node dist/cli/faa-mirror-refresh.js
- Keep the path stable. Point
FAA_MIRROR_PATH(and the same env var in your MCP client config) at a persistent location so the built index is reused across runs. Default:.mirror/faa-registry.db. - Daily refresh. Under HTTP transport the server schedules a daily
mirror:refresh. From the first table replacement until successful completion, queries return retryableServiceUnavailable(mirror_loading). An interrupted rebuild stays unavailable until a refresh succeeds. A download or archive-manifest failure before replacement preserves the complete index. Under stdio, runmirror:refreshout-of-band (e.g. a cron job). - Existing indexes. Run
mirror:refreshafter upgrading to populate manufacturer classification, source date, and cancellation fields. Until classification is known, redacted queries conservatively withhold non-type-certificated manufacturer names; an index built by 0.2.0 is in that state after upgrading until the nextmirror:refresh, though model and exact-code searches still find those records. Use matching server and CLI versions when refreshing the same database. If an older server or CLI refreshes the index after a rollback, runmirror:refreshwith the current version right after upgrading again: an older refresh rewrites builder-name classification with its own rule. - Recovery after a process exit. An immediate refresh can return
sync_lockedwhile the interrupted writer's lease remains valid. Wait for the lease to expire, then rerunmirror:refresh. - Docker. The image ships the mirror CLI and a writable
.mirrordata directory owned by the runtime user. Mount a volume there and runmirror:initonce (e.g.docker exec <container> bun run mirror:init, or a one-shot init job against the shared volume) so the index persists across container restarts. - Until the index exists, every query fails with a
ServiceUnavailableerror whose recovery hint points tomirror:init— there is no live API to fall back to, so the cold state surfaces loudly rather than returning empty results.
The source URL is overridable via FAA_DATABASE_URL (for a private or cached mirror); it is read only at ingest time, never per request.
Prerequisites
- Bun v1.4.4 or higher (or Node.js v24+). Bun uses built-in
bun:sqlite. Node uses the includedbetter-sqlite3dependency, with bundled N-API prebuilts for macOS, Windows, and Linux (glibc/musl), on x64 and arm64. - Disk space for the built index (a few hundred MB) at
FAA_MIRROR_PATH. - Network access at
mirror:init/mirror:refreshtime to download the FAA ZIP. Not needed at query time.
Installation
For local development or self-hosting from source:
- Clone the repository:
git clone https://github.com/cyanheads/faa-aircraft-registry-mcp-server.git
- Navigate into the directory:
cd faa-aircraft-registry-mcp-server
- Install dependencies:
bun install
- Compile the server and build the index (see First-run setup):
bun run build
bun run mirror:init
Configuration
| Variable | Description | Default |
|---|---|---|
FAA_REDACT_OWNER_PII | Redact owner identity and matching builder names, and disable owner-name search. Unset, empty, or malformed counts as true. | true |
FAA_CLAMP_LIMITS | Clamp search limits above 200 with a notice; false restores strict rejection. | true |
FAA_MIRROR_PATH | Path to the SQLite index file; use a persistent location. | .mirror/faa-registry.db |
FAA_DATABASE_URL | Source URL for the FAA database ZIP, read only by mirror:init / mirror:refresh. | FAA registry ZIP |
MCP_TRANSPORT_TYPE | Transport: stdio or http. | stdio |
MCP_SESSION_MODE | Session mode: auto, stateful, or stateless. | stateless |
MCP_HTTP_PORT | Port for the HTTP server. | 3010 |
MCP_HTTP_ENDPOINT_PATH | HTTP endpoint path where the MCP server is mounted. | /mcp |
MCP_AUTH_MODE | Auth mode: none, jwt, or oauth. | none |
MCP_LOG_LEVEL | Log level (RFC 5424). | info |
LOGS_DIR | Directory for log files (Node.js only). Relative paths resolve from the server package. | <server-package-root>/logs |
LOG_TOOL_FAILURE_PAYLOADS | Log each failed tool call's arguments and result (cap: LOG_TOOL_FAILURE_PAYLOAD_MAX_BYTES, default 16384). | false |
OTEL_ENABLED | Enable OpenTelemetry instrumentation. | false |
See .env.example for the full list of optional overrides.
Running the server
Local development
-
Build and run:
# One-time build bun run rebuild # Build the local index (see First-run setup) bun run mirror:init # Run the built server bun run start:stdio # or bun run start:http -
Run checks and tests:
bun run devcheck # Lint, format, typecheck, security bun run test # Vitest unit and integration tests bun run test:package # npm tarball + cleaned MCPB runtime checks bun run lint:mcp # Validate MCP definitions against spec
Docker
docker build -t faa-aircraft-registry-mcp-server .
docker run --rm -e MCP_TRANSPORT_TYPE=http -p 3010:3010 \
-v faa-registry:/usr/src/app/.mirror faa-aircraft-registry-mcp-server
# Build the index once against the mounted volume:
docker run --rm -v faa-registry:/usr/src/app/.mirror faa-aircraft-registry-mcp-server bun run mirror:init
The Dockerfile defaults to HTTP transport with stateless sessions, ships the mirror:init/mirror:refresh/mirror:verify CLI, pre-creates a writable .mirror data directory owned by the runtime user (mount a volume there and run mirror:init once to build and persist the index), and logs to /var/log/faa-aircraft-registry-mcp-server. OpenTelemetry peer dependencies are installed by default — build with --build-arg OTEL_ENABLED=false to omit them.
Project structure
| Directory | Purpose |
|---|---|
src/index.ts | createApp() entry point — registers tools and the resource, inits the registry service, and schedules the daily refresh under HTTP transport. |
src/config | Server-specific environment variable parsing and validation with Zod. |
src/mcp-server/tools | Tool definitions (*.tool.ts). |
src/mcp-server/resources | Resource definitions (*.resource.ts). |
src/services/registry | Registry service — the SQLite + FTS5 mirror, ingester, decode maps, N-number normalizer, and the owner-PII redaction gate. |
src/cli/ | Mirror lifecycle CLI — compiled to dist/cli/ for mirror:init, mirror:refresh, mirror:verify. |
skills/ | Published guide for agents using the FAA tools. |
tests/ | Unit and integration tests mirroring src/. |
Development guide
See CLAUDE.md/AGENTS.md for development guidelines and architectural rules. The short version:
- Handlers throw, framework catches — no
try/catchin tool logic - Use
ctx.logfor request-scoped logging,ctx.statefor tenant-scoped storage - Register new tools and resources via the barrels in
src/mcp-server/*/definitions/index.ts
Contributing
Issues are welcome. Run checks and tests before submitting:
bun run devcheck
bun run test
License
Apache-2.0 — see LICENSE for details.
The FAA Releasable Aircraft Database is a public-domain US Government work, published by the FAA Civil Aviation Registry. This project redistributes none of that data; operators download it directly from the FAA at install time.
Frequently asked questions
What is faa-aircraft-registry-mcp-server MCP Server?
Offline, keyless lookup of the US civil aircraft registry — decode N-numbers, search records.
How do I install faa-aircraft-registry-mcp-server MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. faa-aircraft-registry-mcp-server MCP Server runs locally from the npm package @cyanheads/faa-aircraft-registry-mcp-server with the command npx -y @cyanheads/faa-aircraft-registry-mcp-server@0.2.1.
Is faa-aircraft-registry-mcp-server MCP Server free and open source?
Yes. faa-aircraft-registry-mcp-server MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does faa-aircraft-registry-mcp-server MCP Server support remote (HTTP) connections?
Yes. faa-aircraft-registry-mcp-server MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does faa-aircraft-registry-mcp-server MCP Server provide?
faa-aircraft-registry-mcp-server MCP Server provides 6 tools, including ctx.log, faa_get_aircraft_type, faa_get_registration_status, and faa_lookup_registration. See the full tool list for descriptions and parameters.
How is faa-aircraft-registry-mcp-server MCP Server's trust score calculated?
faa-aircraft-registry-mcp-server MCP Server scores 73 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.