fcc-ecfs-mcp
This MCP server lets you search, inspect, and download FCC ECFS filings and proceedings through the public API.
Search filings by free text, docket/proceeding number, filer name, submission type, or date received.
Fetch a single filing by its ECFS submission ID.
Search proceedings/dockets, e.g. by docket number.
Generate a download plan with date-bucketed queries for exhaustively paging large dockets.
List document/attachment metadata for one or more filings (filename, page count, byte size, OCR status).
Download a filing's document PDF via headless Chrome to disk, returning path, size, and SHA-256.
List available inboxes for non-docketed filings.
Make raw ECFS API requests as an escape hatch for endpoints/params not covered by other tools.
Provides access to the FCC's Electronic Comment Filing System (ECFS) public API, enabling searches and retrieval of filings, proceedings, document metadata, non-docketed inboxes, and download plans for exhaustively paging large dockets.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@fcc-ecfs-mcp Search for filings in docket 24-123"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
fcc-ecfs-mcp
An MCP server for the FCC's Electronic Comment Filing System (ECFS) public API. Implements every endpoint in ECFS's public OpenAPI spec — filings, a single filing, proceedings, a filing's documents, and non-docketed filing inboxes — plus an escape hatch for anything else. Lets an MCP client (Claude Desktop, Claude Code, etc.) search and fetch across all of them.
Tools
Tool | ECFS endpoint | Description |
|
| Search filings by free text, proceeding/docket number, filer name, submission type, or date received. |
|
| Fetch a single filing by its submission ID. |
|
| Search proceedings (dockets), e.g. by docket number. |
|
| Get date-bucketed queries safe for exhaustively paging a large docket (e.g. a heavily-commented NPRM) — plain offset/limit paging over a big result set can return duplicate or missing filings. |
|
| List a filing's document/attachment metadata (filename, page count, byte size, OCR status) by submission ID. Does not return file contents — ECFS's public API is metadata-only. |
| ECFS website (headless Chrome) | Download a filing's document (PDF) and save it inside your download folder; returns the saved path, size, and SHA-256. See Downloading documents. |
|
| List the available inboxes for non-docketed filings. |
| any | Escape hatch: call any ECFS path/query params not covered above. |
Related MCP server: mcp-fcc-ecfs
Setup
Option A: Claude Code plugin (recommended)
This repo is a Claude Code plugin — it bundles the MCP server and the slash commands
below into a single install, and works from any directory (no manual config editing,
no cd-ing into this repo first).
Get a free API key at https://www.fcc.gov/ecfs/help/public_api.
Install the plugin directly from this repo:
/plugin install Reid-n0rc/fcc-ecfs-mcpClaude Code will prompt for your FCC ECFS API key (stored securely, not pasted into a config file) and an optional download folder for
ecfs_download_document(default~/Downloads/ecfs), and register both thefcc-ecfsMCP server and the/fcc-ecfs:*slash commands automatically.To download documents, have Google Chrome installed.
Option B: Manual MCP server config
For non-Claude-Code MCP clients (Claude Desktop, etc.), or if you'd rather manage the server yourself:
Install dependencies and build:
npm install npm run buildProvide the key via the
ECFS_API_KEYenvironment variable — never commit it or pass it as a tool argument. For local development, copy.env.exampleto.env(git-ignored) and fill it in. The server reads.envfrom the root of this checkout, not from the client's working directory, and values in the client'senvblock always win. If you installed the server with npm or npx instead of cloning it, no.envis read: set everything in the client'senvblock.Add to your client's MCP config:
{ "mcpServers": { "fcc-ecfs": { "command": "node", "args": ["/absolute/path/to/fcc-ecfs-mcp/dist/index.js"], "env": { "ECFS_API_KEY": "your-api-key-here", "ECFS_DOWNLOAD_DIR": "~/Downloads/ecfs" } } } }Prefer sourcing
ECFS_API_KEYfrom your OS keychain or a secrets manager (e.g. 1Password,gpg-encrypted dotfiles) rather than pasting it into a config file where possible.ECFS_DOWNLOAD_DIRis optional (default~/Downloads/ecfs).
Slash commands
commands/ ships Claude Code slash commands that wrap the tools above. Installed as
a plugin, they're namespaced under fcc-ecfs:
Command | Description |
| General dispatcher — picks the right ECFS tool for the request. |
| Search filings by docket, filer, type, date, or text. |
| Look up a proceeding/docket by number or name. |
| Fetch a single filing by its submission ID. |
| List document/attachment metadata for one or more filings. |
| Get a download plan for exhaustively paging a large docket. |
| Download a filing's document (PDF) to the download folder. |
Development
npm run dev # run the server directly with tsx
npm test # run the unit test suite (vitest)
npm run test:live # run live tests against the real ECFS API (needs ECFS_API_KEY)
npm run test:download # download a real document via headless Chrome (local only)
npm run typecheck # type-check without emittingCI (.github/workflows/ci.yml) runs the unit tests and the live tests on every push to
main and every PR, plus weekly and on manual dispatch; docs-only changes skip the test
jobs. Live tests use the ECFS_API_KEY secret (gh secret set ECFS_API_KEY, and again
with --app dependabot for Dependabot PRs). Fork PRs can't read secrets, so they skip the
live tests.
Changes to main go through a pull request that needs an approving review from the
repo owner (.github/CODEOWNERS) and a passing ci-ok check, which rolls up every CI job.
See CONTRIBUTING.md for the full workflow.
To test the plugin locally before publishing a change, rebuild and point Claude Code at the working tree:
npm run build
claude --plugin-dir .Note that the plugin loader never runs npm run build on install — it only runs
npm ci to fetch dependencies. dist/ must be committed and up to date before pushing.
Downloading documents
The ECFS public API is metadata-only: no endpoint returns a document's file bytes or
text. A document's location (or a filing's documents[].src) points at
https://www.fcc.gov/ecfs/document/{id_submission}/{n} on the ECFS website, which
refuses non-browser HTTP clients such as curl with 403 Forbidden.
ecfs_download_document therefore opens that page in headless Google Chrome (via
playwright-core, using your installed Chrome — no bundled browser download) and saves
the PDF the page loads. Headless Chrome is presented under its regular Chrome user agent,
since the site refuses the default HeadlessChrome one. No window is shown.
Files are always saved inside
ECFS_DOWNLOAD_DIR(plugin setting "Download folder"; default~/Downloads/ecfs), named{id_submission}_{ECFS filename}and always with a.pdfextension. The model can put a file in a subfolder (output_dir, e.g. one per docket), but can't save outside the download folder. To save elsewhere, change the setting.Re-downloading an identical file reuses the existing copy; a different file with the same name gets a numeric suffix rather than overwriting.
Each download takes a few seconds. The tool fetches one document per call; it isn't meant for bulk-downloading whole dockets.
Security notes
The API key is read only from
process.env.ECFS_API_KEY— it is never accepted as a tool input, so it cannot be echoed back into a model's context or transcript.Error messages and thrown errors redact the
api_keyquery parameter before they are ever logged or returned to a client. Response bodies are also scrubbed of the literal key value before being returned — some ECFS response types (e.g.type=downloadplan) echo the key back verbatim in generated URLs, so URL-only redaction isn't sufficient..envis git-ignored; only.env.example(no real key) is committed.The server never reads a
.envfrom its working directory, only the checkout's own.env, so it can't pick up unrelated secrets from the project an MCP client was launched in.DOTENV_*variables don't affect it.ecfs_download_documentonly writes inside the download folder (ECFS_DOWNLOAD_DIR), checked both on the requested path and on its real path after resolving symlinks, and every saved file ends in.pdf. Tool arguments can be influenced by filing text the model has read, so the server doesn't trustoutput_dirto point anywhere else.
To report a vulnerability, see SECURITY.md.
License
MIT
Available Tools
8 toolsecfs_download_documentDownload an ECFS documentA
Download one document (usually a PDF) from an ECFS filing and save it to disk, returning the saved file path. Identify it by the filing's submission ID and the document's position in the filing — the {n} in its https://www.fcc.gov/ecfs/document/{id_submission}/{n} location/src URL. Fetches the file through a headless Chrome browser (Google Chrome must be installed), so it takes a few seconds per document. Files are always saved as .pdf inside the user's configured download folder (ECFS_DOWNLOAD_DIR, default ~/Downloads/ecfs).
Inputs: id_submission (required), output_dir, document_number.
ecfs_get_download_planGet an ECFS download plan for a filings queryA
Get a download plan for a filings search — the same filters as ecfs_search_filings, but instead of a page of results, returns date_submission-range buckets each with a suggested_api_call safe to run to exhaustively page a large docket. Use this before ecfs_search_filings for dockets with thousands of filings (e.g. a heavily-commented NPRM): plain offset/limit paging over a large result set can return duplicate or missing filings, which the download plan's date-bucketed queries avoid.
Inputs: q, sort, filers_name, proceedings_name, +3 more.
ecfs_get_filingGet an ECFS filing by IDB
Fetch a single ECFS filing by its submission ID.
Inputs: id_submission (required).
ecfs_list_inboxesList ECFS non-docketed filing inboxesA
List the available inboxes for non-docketed filings in ECFS.
Inputs: no named parameters.
ecfs_raw_requestRaw ECFS API requestA
Escape hatch for calling any ECFS public API path/query parameters not covered by the other tools. The api_key is added automatically; do not include it yourself.
Inputs: path (required), params.
ecfs_search_documentsList documents for an ECFS filingA
List the documents (attachments) associated with one or more ECFS filings, by submission ID. Returns document metadata (filename, page count, byte size, OCR status, and its viewer location) — not the document's file contents. Use ecfs_download_document to save a document's PDF.
Inputs: id_submission (required).
ecfs_search_filingsSearch ECFS filingsB
Search filings submitted to the FCC's Electronic Comment Filing System (ECFS). Filter by proceeding/docket number, filer name, submission type, and date received.
Inputs: q, sort, limit, offset, +5 more.
ecfs_search_proceedingsSearch ECFS proceedingsC
Search proceedings (dockets) registered in the FCC ECFS system, e.g. by docket number.
Inputs: name, limit, offset.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Most tools have clearly distinct purposes: filing lookup, document download, document listing, proceeding search, and inbox listing. Minor overlap comes from ecfs_raw_request being a universal escape hatch and from ecfs_get_download_plan sharing filters with ecfs_search_filings, though both descriptions clarify when to use them.
All tools use a consistent ecfs_ snake_case prefix and mostly follow a verb_noun pattern such as ecfs_get_filing, ecfs_search_documents, and ecfs_list_inboxes. The main deviation is ecfs_raw_request, which is still readable but does not follow the same action-verb style.
Eight tools is well within the expected range for a focused ECFS API server. Each tool covers a meaningful operation, and the set is not padded with redundant endpoints.
For a read-only ECFS research server, the surface covers the core lifecycle: searching proceedings, searching filings, fetching a filing, listing documents, downloading documents, and handling non-docketed inboxes. The raw request tool also provides an escape hatch for any uncovered API paths.
Maintenance
Related MCP Connectors
FCC Electronic Comment Filing System public search and retrieval.
EDGAR MCP — SEC EDGAR public APIs (free, no auth)
Access U.S. congressional data (bills, votes, members, committees) via MCP.
SEC MCP — SEC EDGAR public APIs (free, no auth)
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceQuery SEC EDGAR filings, XBRL financials, and company data through MCP.839 npm12Apache 2.0
- AlicenseNot gradedqualityBmaintenanceMCP server for searching and retrieving FCC ECFS filings, dockets, and proceedings via the public API.171 npmMIT
- AlicenseNot gradedqualityBmaintenanceSearch and trace US federal rules across the Federal Register (proposed/final rules and notices), the eCFR (codified, point-in-time CFR full text, locally mirrored), and Regulations.gov (rulemaking dockets and public comments) via MCP.200 npm2Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables querying and exploring FCC Open Data datasets via Socrata SoQL, including dataset search, metadata retrieval, and data querying.143 npmMIT