Search FCC radio licenses, find nearby transmitter sites, and see who is licensed on a frequency.
One address for any MCP client. No sign-in needed on this server.
5 read
Grouped by tool name. At most: only reads or looks up information.
Odel charges nothing per call. The publisher may charge for its own service.
Search FCC radio licenses, find nearby transmitter sites, and see who is licensed on a frequency via MCP. STDIO or Streamable HTTP.
Public Hosted Server: https://fcc-spectrum.caseyjhand.com/mcp
US radio spectrum licensing from the FCC Universal Licensing System (ULS), served from a local SQLite index of the FCC's weekly and daily bulk files. Look up a callsign, licensee, FCC Registration Number (FRN), or market code; read a license's sites, antennas, frequencies, power, and emission designators; find licensed transmitter sites near a point; and see who is authorized on a frequency or band, market-area spectrum blocks included. No API key, and no call to the FCC at request time. Runs as a stdio process, a local Streamable HTTP server, or the public hosted endpoint above.
The default index covers land mobile (private, commercial, and broadcast auxiliary), microwave, cellular, market-area wireless, paging, coast stations, broadband radio (BRS/EBS), and amateur licenses, plus spectrum leases. GMRS, ship, and aircraft licenses are opt-in. Broadcast stations (AM/FM/TV) and satellite earth stations are separate FCC systems and are not included.
| Tool | Description |
|---|---|
fcc_spectrum_search_licenses | Search licenses and spectrum leases by callsign, licensee name, FRN, market code, radio service, status, or licensee state. |
fcc_spectrum_get_license | Read one license or lease in full by callsign or USI: licensee, status and dates, locations, antennas, frequencies with emissions, market blocks, and lease links. |
fcc_spectrum_find_transmitters | Find licensed transmitter sites within a radius of a coordinate, nearest first, with the frequencies authorized at each. |
fcc_spectrum_search_frequencies | Find site assignments and market-area spectrum blocks whose occupied band overlaps a frequency or band. |
fcc_spectrum_list_reference | Decode ULS codes (radio services, statuses, location and antenna types, applicant types, operator classes) and report index coverage and freshness. |
| Resource | Description |
|---|---|
fcc-spectrum://license/{callsign} | One license or lease by callsign as JSON — the first page fcc_spectrum_get_license returns. |
Also reachable via fcc_spectrum_get_license.
fcc_spectrum_search_licenses toolcallsign, licensee (every word must match the start of a word in the name), frn, market_code (a geographic-area license's market, matched exactly: PEA016, CMA020, D06037, NW; pea16 reads as PEA016), radio_service, and state (the licensee's mailing state) — at least one required; status narrows to A (default), C, E, L, P, T, X, or anylimit 1–100 (default 25) with cursor paging; each row carries the usi to pass to fcc_spectrum_get_license, plus isLease, licenseeRedacted, and location and frequency countsno_criteria, unknown_radio_service, service_not_indexed, invalid_cursor, index_not_readyfcc_spectrum_get_license toolcallsign or usi (identifier_required otherwise); a callsign shared by several records returns the active one, else the most recent, and lists the others in otherCallsignRecordsmax_frequencies frequency rows (1–1000, default 100) per call; nextLocationOffset and nextLeaseOffset feed location_offset and lease_offset on the next calllocation_number starts the locations at a site's locationNumber from fcc_spectrum_find_transmitters or fcc_spectrum_search_frequencies, or at the next filed number when the record has no such location; with a nonzero location_offset it fails (location_start_conflict)found: false with guidance and up to 5 callsign-prefix candidates, not an error; technicalRetained: false marks a record whose status keeps no sites or frequenciesfcc_spectrum_find_transmitters toollatitude / longitude as decimal degrees or DMS strings, radius_km 0.1–100 (default 5); optional frequency_low / frequency_high in unit (kHz, MHz default, GHz), radio_service, location_type (one ULS location type code, case-insensitive: F keeps fixed sites only, M mobile and T temporary-fixed areas), and status (A default, L, X, or any for all three)limit 1–100 (default 25) with cursor paging; each site lists up to max_frequencies_per_site frequencies (1–50, default 10), with frequencyCount carrying the full countlocationTypeCode and locationTypeLabel when a type is filed, and radiusKm when a radius is; a mobile or temporary-fixed operating area is returned at its filed center, and distanceKm measures to that centerinvalid_frequency_range, unknown_radio_service, service_not_indexed, invalid_cursor, index_not_readyfcc_spectrum_search_frequencies toolfrequency_low required, frequency_high optional, in unit; a site assignment matches when its occupied band (widened by its emission bandwidth) overlaps the query, a market block when its filed edges do; kind is site, market, or both (default)state, radio_service, licensee, frn, market_code, and status (A default, L, X, any); limit 1–200 (default 50) with cursor paging, frequency ascending; each row's kind says whether it is a site assignment or a market blockmarket_code and frn test the license, so they filter site rows and market rows alike: cellular CMA licenses file sites, not blocks. With state, both apply. An frn search returns individual licensees redactedlocationTypeCode, locationTypeLabel, and, when filed, radiusKm; a row under a location number several sites share carries none of them, as it carries no coordinatesinvalid_frequency_range, unknown_radio_service, service_not_indexed, invalid_cursor, index_not_readyfcc_spectrum_list_reference tooltopic: radio_services, license_statuses, location_types, antenna_types, applicant_types, operator_classes, or coverage; filter narrows radio_services to entries containing every word givencoverage reports index.status (none, building, ready), per-group record, site, and frequency counts with snapshot times, and whether redaction is on; it works before the index is builtfcc-spectrum://license/{callsign} resourcefcc_spectrum_get_license (up to 100 frequency rows) as application/json, with dataAsOf, totals, and a notice naming the tool call that reads the rest; cached 1 hourindex_not_ready, license_not_foundBuilt 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.
FCC ULS-specific:
isLease marks them, the licensee shown is the lessee, and lease links are listed in both directionsstateFromCoordinatesAgent-friendly output:
dataAsOf, and search tools echo appliedFilterstruncated, shown, cap, and totalCount plus a notice naming the next call, so a partial page is never read as the wholecoordinatesDms)found, kind, isLease, licenseeRedacted, and technicalRetained let callers branch on data, not string parsingA public instance is available at https://fcc-spectrum.caseyjhand.com/mcp — no installation required. Point any MCP client at it via Streamable HTTP:
{
"mcpServers": {
"fcc-spectrum-mcp-server": {
"type": "streamable-http",
"url": "https://fcc-spectrum.caseyjhand.com/mcp"
}
}
}
The hosted index is rebuilt weekly and refreshed daily from the FCC bulk files, with individual licensees redacted.
The index must be built once before any search works — see First-run setup. The package does not ship FCC data; until
mirror:inithas run, data tools fail withindex_not_readyandfcc_spectrum_list_referencewith topiccoveragereports the build state.
Add the following to your MCP client configuration file:
{
"mcpServers": {
"fcc-spectrum-mcp-server": {
"type": "stdio",
"command": "bunx",
"args": ["@cyanheads/fcc-spectrum-mcp-server@latest"],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info",
"FCC_SPECTRUM_MIRROR_DIR": "/path/to/fcc-uls"
}
}
}
}
Or with npx (no Bun required):
{
"mcpServers": {
"fcc-spectrum-mcp-server": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@cyanheads/fcc-spectrum-mcp-server@latest"],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info",
"FCC_SPECTRUM_MIRROR_DIR": "/path/to/fcc-uls"
}
}
}
}
Or with Docker (mount a volume at /usr/src/app/.mirror so the index persists across containers):
{
"mcpServers": {
"fcc-spectrum-mcp-server": {
"type": "stdio",
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "MCP_TRANSPORT_TYPE=stdio",
"-v", "fcc-uls:/usr/src/app/.mirror",
"ghcr.io/cyanheads/fcc-spectrum-mcp-server:latest"
]
}
}
}
For Streamable HTTP, set the transport and start the server:
MCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 FCC_SPECTRUM_MIRROR_DIR=/path/to/fcc-uls bun run start:http
# Server listens at http://localhost:3010/mcp
FCC_SPECTRUM_MIRROR_DIR must name the directory mirror:init built. A relative path resolves against the process's working directory, which an MCP client chooses, so use an absolute path.
The index is built from the FCC's public ULS bulk files at data.fcc.gov — weekly full snapshots per service group, plus daily incrementals. On the default groups a build downloads about 1.1 GB of zips, one at a time; a measured build produced 3,270,502 license records and an index of about 1.8 GB in about 3 minutes.
Build it once from a source checkout (see Installation) or the Docker image:
# Download the weekly snapshots and build the index (resumable; skips when nothing is newer)
FCC_SPECTRUM_MIRROR_DIR=/path/to/fcc-uls bun run mirror:init
# Check it: SQLite integrity plus per-file line counts against the FCC's counts files
FCC_SPECTRUM_MIRROR_DIR=/path/to/fcc-uls bun run mirror:verify
# Apply the daily incrementals published since the last build
FCC_SPECTRUM_MIRROR_DIR=/path/to/fcc-uls bun run mirror:refresh
With Docker, run the same commands against the volume: docker run --rm -v fcc-uls:/usr/src/app/.mirror ghcr.io/cyanheads/fcc-spectrum-mcp-server:latest bun run mirror:init.
Keeping it current:
mirror:init has published a first index. Each job runs in a child process on the server's runtime, so queries and /healthz keep answering while it writes, and its log lines appear in the server log; on shutdown a running job is stopped and resumes at the next run.mirror:refresh daily and mirror:init weekly from cron or another scheduler; daily files never remove licenses, so removals arrive with the weekly rebuild.mirror:init, mirror:refresh, or scheduled job write at a time; an interrupted mirror:init resumes from its last completed step when rerun.bun:sqlite is built into Bun; under Node, install better-sqlite3 beside the server (declared as an optional peer dependency).FCC_SPECTRUM_MIRROR_DIR: about 1.8 GB on the default groups, plus rebuild room as above.data.fcc.gov when building or refreshing the index. Queries need none.For local development, or to build the index from source:
git clone https://github.com/cyanheads/fcc-spectrum-mcp-server.git
cd fcc-spectrum-mcp-server
bun install
FCC_SPECTRUM_MIRROR_DIR=/path/to/fcc-uls bun run mirror:init
| Variable | Description | Default |
|---|---|---|
FCC_SPECTRUM_MIRROR_DIR | Directory holding the index generations, current.json, the ingest lock, and temporary zips. Use an absolute path; a relative one resolves against the working directory. | .mirror/fcc-uls |
FCC_SPECTRUM_SERVICES | Comma-separated weekly service groups to index, case-insensitive. Opt-in: gmrs, ship, aircr. An unknown name fails startup and lists the valid set. | LMpriv,LMcomm,LMbcast,micro,cell,market,paging,coast,mdsitfs,amat |
FCC_SPECTRUM_REDACT_INDIVIDUALS | Redact individual licensees and trustee names, and exclude individuals from name search. Only false, 0, no, or off disables it; unset, empty, or anything else keeps it on. | true |
FCC_SPECTRUM_BASE_URL | ULS bulk file host root, read only when building or refreshing the index. | https://data.fcc.gov/download/pub/uls |
MCP_TRANSPORT_TYPE | Transport: stdio or http. | stdio |
MCP_SESSION_MODE | Session mode: auto (resolves to stateful), 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). | <project-root>/logs |
OTEL_ENABLED | Enable OpenTelemetry instrumentation (spans, metrics, completion logs). | false |
See .env.example for the full list of optional overrides.
The FCC splits its weekly snapshots into service groups. Adding a group takes effect at the next mirror:init; a removed group drops out at the next weekly rebuild.
| Group | Contents | Indexed |
|---|---|---|
LMpriv | Private land mobile (public safety, business, industrial) | default |
LMcomm | Commercial land mobile | default |
LMbcast | Broadcast auxiliary land mobile | default |
micro | Point-to-point microwave | default |
cell | Cellular | default |
market | Market-area wireless (PCS, AWS, 700 MHz, 3.45 and 3.7 GHz, and other auctioned blocks) | default |
paging | Paging | default |
coast | Coast stations | default |
mdsitfs | Broadband Radio Service and Educational Broadband Service (BRS/EBS) | default |
amat | Amateur radio | default |
gmrs | General Mobile Radio Service — licensee records only | opt-in |
ship | Ship stations — licensee records only | opt-in |
aircr | Aircraft stations — licensee records only | opt-in |
ULS records name the person behind many licenses, amateur and otherwise: individuals also hold land mobile, paging, and microwave licenses. FCC_SPECTRUM_REDACT_INDIVIDUALS is on by default and fails safe:
I, or blank in the amateur and GMRS services. A blank type or type H (Other) in any service also counts when the filing carries a person's name parts, or when the licensee name contains no organization word (Inc, County, Church, Wireless, …), so an organization named without one is redacted too. Its licensee name is then null with licenseeRedacted: true, and its licensee city, its sites' street addresses, and its site names are omitted, since some individuals file their own name as a site name.notice says so. A callsign, USI, or FRN lookup still returns the record, redacted.Licensee mailing street addresses, ZIP codes, PO boxes, attention lines, phone numbers, fax numbers, and email addresses are never ingested, for anyone.
fcc_spectrum_search_frequencies stops each call short. A page can hold fewer rows than limit and still carry nextCursor, and totalCount is then a lower bound (totalIsLowerBound: true). A sparse filter across a wide band can return several empty pages before its first rows; a state, radio_service, licensee, frn, or market_code filter narrow enough keeps the exact count.A active, L pending legal, X term pending). Expired, cancelled, and terminated records keep their licensee, status, dates, and lease links.state matches a market block when the FCC's market-area definitions place its market in that state (a multi-state market matches each of its states), when its market name carries the state code, or when its license files a site there; nothing maps a county or a coordinate to the markets covering it. Nationwide and Gulf of Mexico markets match no state, and Tribal land (TL) and MVDDS (MVD) markets with no state code in the name are skipped; market_code without state reaches any of them.fcc_spectrum_find_transmitters returns such an area at its center, with radiusKm, when the center lies within radius_km; it does not match an area because the search point falls inside it. Locations filed without coordinates, as most mobile, temporary, itinerant, and control-station locations are, are not returned.fcc_spectrum_search_licenses and radio_service PL.FB2, FXO, MO).Build and run:
# One-time build
bun run rebuild
# Build the 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 test suite
bun run lint:mcp # Validate MCP definitions against spec
docker build -t fcc-spectrum-mcp-server .
# Build the index once against the volume:
docker run --rm -v fcc-uls:/usr/src/app/.mirror fcc-spectrum-mcp-server bun run mirror:init
# Serve over HTTP:
docker run --rm -p 3010:3010 -v fcc-uls:/usr/src/app/.mirror fcc-spectrum-mcp-server
The image defaults to HTTP transport with stateless sessions, includes the mirror:* CLI, and logs to /var/log/fcc-spectrum-mcp-server. OpenTelemetry peer dependencies are installed by default; build with --build-arg OTEL_ENABLED=false to omit them.
| Directory | Purpose |
|---|---|
src/index.ts | createApp() entry point — registers the tools and resource, inits the index service, and starts the ingest schedule under HTTP transport. |
src/config | Server environment variable parsing and validation with Zod. |
src/mcp-server/tools | Tool definitions (*.tool.ts), shared input schemas, and format helpers. |
src/mcp-server/resources | Resource definitions (*.resource.ts). |
src/services/uls | ULS service — bulk client, record parsers, ingester, index generations, read path with redaction, and the ingest schedule with the job process it spawns. |
scripts/fcc-mirror-*.ts | Index lifecycle CLI — mirror:init, mirror:refresh, mirror:verify. |
tests/ | Unit and integration tests mirroring src/, with fixture ULS records. |
See CLAUDE.md/AGENTS.md for development guidelines and architectural rules. The short version:
try/catch in tool logicctx.log for request-scoped logging; data access goes through the ULS index servicesrc/mcp-server/*/definitions/index.tsIssues are welcome. Run checks and tests before submitting:
bun run devcheck
bun run test
Apache-2.0 — see LICENSE for details.
License data comes from the FCC Universal Licensing System (ULS), a US government work in the public domain (17 U.S.C. §105). Credit it as "FCC Universal Licensing System (ULS)" with the dataAsOf time each response carries. This project redistributes none of the license data; operators download it from the FCC when building the index. The package does bundle a market-to-state table (src/services/uls/data/market-states.json) derived from FCC area definitions — the FCC's county-to-market file FCCCNTY2K.txt, its Partial Economic Area county list, and 47 CFR 80.385(a)(3) — which records only the states each market reaches. Basic Trading Areas delineated by the Rand McNally 1992 Commercial Atlas & Marketing Guide, 123rd Edition, at pages 38-39; extended and revised by the Federal Communications Commission, 59 FR 46195 (September 7, 1994). Major Trading Areas delineated by the Rand McNally 1992 Commercial Atlas & Marketing Guide, 123rd Edition, at pages 38-39, extended and excepted by the Federal Communications Commission, 59 FR 14115 (March 25, 1994). This server is independent of the FCC and not endorsed by it.