Fedregister

io.github.CloudCorpRecords由 GitHub 帳號 CloudCorpRecords 發布v0.1.0更新於 Nov 7, 2026

搜尋《聯邦公報》:規則、通知、行政命令、留言截止日期、FAR案例。

AI 翻譯由 AI 模型根據下方的原文描述翻譯,可能有誤。

原文描述

Search the Federal Register: rules, notices, executive orders, comment deadlines, FAR cases.

已驗證STDIO僅桌面

概覽

Fedregister 的本機 MCP 服務;無需登入;STDIO;8 個工具。

暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Fedregister,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

fedregister

The Federal Register is where the United States government publishes what it is about to do and what it has done: final rules, proposed rules open for public comment, notices, and presidential documents. fedregister wraps the Register's public API v1 in a small CLI and a stdio MCP server, so a person — or an agent — can search that record, watch comment deadlines, and pull the history of a rulemaking without scraping web pages. The API is public and keyless; no account or token is needed.

What the eight tools do:

  • search_documents — search everything published since 1994. Flat arguments (term, document types, agencies, docket id, regulation id number, CFR title/part, sections, topics, significance, publication and effective date bounds, paging, ordering, field selection) are translated into the API's conditions[...] query parameters.
  • get_document — fetch one document by its document number.
  • get_documents_batch — fetch up to 20 documents in a single call.
  • get_facet_counts — counts of matching documents grouped by a facet: a document field such as type, agency, or topic, or a time bucket from daily through yearly.
  • get_public_inspection — search the pre-publication filings currently on public inspection, including the available_on date and the special_filing flag.
  • list_agencies — every agency that publishes in the Register.
  • open_comment_periods — a labelled composition: it pages through recent documents (a scan window reaching 120 days back, at most 5 pages of 1000), keeps the ones whose comment period is still open, and returns them sorted by deadline as {results, complete, truncated}, where complete says whether the whole scan window was read and truncated whether the limit (default 50) cut the list.
  • far_case_history — a labelled composition: the full document history of a FAR/DFARS case, searched by case number in chronological order, from the proposed rule through the final rule.

Two behaviours are worth knowing about:

  • Client-side comment-date filters (labelled). The API publishes no comment-date search condition, so search_documents' optional comment_date_gte / comment_date_lte arguments are applied locally, after the response arrives: documents whose comments_close_on is null or outside the range are dropped from the returned page, and the rest of the response envelope is returned unchanged. Every other search result is the upstream JSON verbatim.
  • Pacing. Requests are polite by design: at least 300 ms pass between request starts, and if the API answers HTTP 429 the client waits the Retry-After interval (60 seconds by default) and retries the same request once before reporting an error.

The API base URL defaults to https://www.federalregister.gov/api/v1 and can be overridden with the FEDERAL_REGISTER_API_BASE environment variable.

CLI

Each tool is a subcommand taking one JSON argument string (list_agencies takes none):

bash
npx @reneturcios/fedregister search_documents '{"term":"endangered species","type":["PRORULE"],"comment_date_gte":"2026-11-01"}'npx @reneturcios/fedregister get_document '{"document_number":"2026-12345"}'npx @reneturcios/fedregister get_documents_batch '{"document_numbers":["2026-12345","2026-12346"]}'npx @reneturcios/fedregister get_facet_counts '{"facet":"monthly","term":"climate"}'npx @reneturcios/fedregister get_public_inspection '{"special_filing":true}'npx @reneturcios/fedregister list_agenciesnpx @reneturcios/fedregister open_comment_periods '{"limit":10}'npx @reneturcios/fedregister far_case_history '{"case_number":"FAR Case 2023-008"}'npx @reneturcios/fedregister --version

Output is the tool's result text (the upstream JSON, or a composition's JSON). Exit codes: 0 on success, 1 on a runtime error (including a validation or upstream failure), 2 on a usage error.

MCP server

bash
npx -y @reneturcios/fedregister mcp

MCP client config:

json
{  "mcpServers": {    "fedregister": {      "command": "npx",      "args": ["-y", "@reneturcios/fedregister", "mcp"]    }  }}

Docker

bash
docker run -i ghcr.io/cloudcorprecords/fedregisterdocker run --rm ghcr.io/cloudcorprecords/fedregister list_agencies

Development

bash
npm installnpm run build   # tsc -> dist/npm test        # tsx --test test/*.test.ts (fake fetch + fake clock + fake sleep, no network)npm run dev     # run the CLI from source

License

MIT — Copyright (c) 2026 Rene Turcios

來源:README.md,提交 f75a3dd

工具

8

search_documents

Search Federal Register documents published since 1994: rules, proposed rules, notices, presidential documents.

輸入參數pagetermtypeorderfieldstopicsagenciescfr_partper_pagesectionscfr_titledocket_id另有 12 個

get_document

Fetch a single Federal Register document by document number.

輸入參數fieldsdocument_number必填

get_documents_batch

Fetch multiple Federal Register documents in one call (up to 20 document numbers).

輸入參數document_numbers必填

get_facet_counts

Counts of matching documents grouped by a facet (a document field or a time bucket).

輸入參數termtypefacet必填agenciescfr_partcfr_titledocket_idsignificantpublication_date_gtepublication_date_lteregulation_id_number

get_public_inspection

Search documents currently on public inspection (pre-publication).

輸入參數pagetermtypefieldsagenciesper_pagedocket_idavailable_onspecial_filing

list_agencies

All Federal Register agencies.

無需輸入參數。

open_comment_periods

Proposed rules and notices whose comment period is still open, sorted by deadline.

輸入參數termlimitagencies

far_case_history

The full document history of a FAR/DFARS case, from the proposed rule to the final rule.

輸入參數case_number必填

版本歷史

1
  1. v0.1.0最新Nov 3, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分