Docketwatch

io.github.CloudCorpRecords由 GitHub 账号 CloudCorpRecords 发布v0.1.0更新于 Nov 7, 2026

Track Regulations.gov dockets, documents and public comments; open comment periods, FAR cases.

已验证STDIO仅桌面

概览

Docketwatch 的本地 MCP 服务;无需登录;STDIO;9 个工具。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Docketwatch,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

docketwatch

Follow the federal rulemaking record without living in a browser tab. docketwatch talks to the Regulations.gov API v4 — the public record of dockets, documents and public comments behind rules published by US agencies — and answers with the API's own JSON, so a search result here is the same payload you would get from the API directly.

You will need a free api.data.gov key:

bash
export REGULATIONS_GOV_API_KEY="<your key>"

Get one at https://api.data.gov/signup. The key goes out as the X-Api-Key header on every data call. If the variable is unset the server still starts and lists its tools, but every data tool replies with setup instructions and makes no request at all — handy for checking that a client is wired up before a key exists. get_access_status is the exception: it never calls out and reports only {"configured": true} or {"configured": false}, never the key itself. The base URL defaults to https://api.regulations.gov/v4 and can be overridden with REGULATIONS_GOV_API_BASE.

The nine tools:

  • search_documents — find documents (proposed rules, rules, notices, supporting material) by keyword, agency, docket and posted/modified date windows.
  • get_document_detail — one document in full; pass include_attachments: true to ask the API to include its attachments.
  • search_comments — search the public comments by keyword, agency, docket, or the document commented on.
  • get_comment_detail — one comment's full text and submitter information.
  • search_dockets — search rulemaking and nonrulemaking dockets by keyword or agency.
  • get_docket_detail — one docket's metadata, abstract and RIN.
  • open_comment_periods — composition (labelled): not a single API call. It pages through documents posted in the last 180 days (the scan window is a local choice), keeps those whose comment period ends today or later, and returns them soonest-closing first alongside complete and truncated flags.
  • far_case_history — composition (labelled): fetches a FAR/DFARS case docket (for example FAR-2023-0008) together with every page of that docket's documents, concatenated, plus a complete flag saying whether all pages were read.
  • get_access_status — the key check described above.

Search arguments are flat names that map onto the API's documented filter[...] parameters, with sort, page[number] and page[size] for ordering and paging. Filter values are case-sensitive — the API treats EPA and epa differently — and docketwatch passes them through unchanged.

One honest gap: the API documentation used for this build does not pin a document-type or docket-type filter parameter name, so no type filter argument is exposed. Keyword, agency, docket and date filters cover the documented surface.

CLI

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

bash
npx @reneturcios/docketwatch search_documents '{"agency_id":"EPA","search_term":"emissions"}'npx @reneturcios/docketwatch get_document_detail '{"document_id":"EPA-HQ-OAR-2020-0001-0001","include_attachments":true}'npx @reneturcios/docketwatch search_comments '{"docket_id":"EPA-HQ-OAR-2020-0001"}'npx @reneturcios/docketwatch open_comment_periods '{"agency_id":"EPA","limit":20}'npx @reneturcios/docketwatch far_case_history '{"case_number":"FAR-2023-0008"}'npx @reneturcios/docketwatch get_access_statusnpx @reneturcios/docketwatch --version

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

MCP server

bash
npx -y @reneturcios/docketwatch mcp

MCP client config:

json
{  "mcpServers": {    "docketwatch": {      "command": "npx",      "args": ["-y", "@reneturcios/docketwatch", "mcp"],      "env": {        "REGULATIONS_GOV_API_KEY": "<your key>"      }    }  }}

Docker

bash
docker run -i -e REGULATIONS_GOV_API_KEY="<your key>" ghcr.io/cloudcorprecords/docketwatchdocker run --rm -e REGULATIONS_GOV_API_KEY="<your key>" ghcr.io/cloudcorprecords/docketwatch get_access_status

Development

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

License

MIT — Copyright (c) 2026 Rene Turcios

来源:README.md,提交 bd97379

工具

9

search_documents

Search Regulations.gov documents: proposed rules, rules, notices and supporting material.

输入参数sortagency_iddocket_idpage_sizepage_numberposted_datesearch_termposted_date_gteposted_date_ltelast_modified_date_gte

get_document_detail

Full details of one Regulations.gov document, optionally with attachments.

输入参数document_id必填include_attachments

search_comments

Search public comments by docket, document or keyword.

输入参数sortagency_iddocket_idpage_sizepage_numbersearch_termcomment_on_idposted_date_gteposted_date_lte

get_comment_detail

Full text and submitter info of one public comment.

输入参数comment_id必填

search_dockets

Search rulemaking and nonrulemaking dockets.

输入参数sortagency_idpage_sizepage_numbersearch_term

get_docket_detail

Docket metadata, abstract and RIN.

输入参数docket_id必填

open_comment_periods

Currently open comment periods across procurement agencies.

输入参数limitagency_idsearch_term

far_case_history

A FAR/DFARS rulemaking case: its docket and documents, paged.

输入参数case_number必填

get_access_status

Check whether a Regulations.gov API key is configured, without revealing it.

无需输入参数。

版本历史

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

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分