
Docket Lens
com.blackswancausallabs由 blackswancausallabs.com 发布v0.1.0更新于 Oct 29, 2026
Retrieve FDA docket comments, attachments and draft/final guidance for reviewable analysis.
发布方自己的服务:docket
概览
检索 FDA regulations.gov 案卷的评论、附件与指南文件,并对草案与最终指南做差异比对,供本地分析使用。
- 可以做什么
- 搜索案卷,读取案卷元数据与评论总数
- 列出文件(通知、草案与最终指南、会议材料)及其文件链接
- 列出并读取评论,包括提交人信息、附件与提取出的附件文本
- 将评论与附件抓取到本地缓存(可续传),并导出为 JSONL
- 把指南拆分为编号章节,并对草案与最终版做段落级差异比对,识别移动的段落
- 适用场景
- 适合需要审阅 FDA 规则制定案卷的场景:谁提交了评论、提出了什么诉求,以及草案指南在最终版中如何变化。面向监管研究与分析流程,而非通用网页搜索。
- 运行要求
- 以本地 Python 进程运行(需 Python 3.11 或更高版本;MCP 打包版还需 uv),并需要可写的工作目录。需要免费的 regulations.gov API 密钥,通过 REGULATIONS_GOV_API_KEY 提供;DEMO_KEY 可用于单次查询但限流严重。缓存未命中或使用 refresh=true 时需要网络访问。
安装
在 SourceWeft 中
- 打开 控制台中的 Docket Lens,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
regintel-mcp
Regulatory intelligence from FDA regulations.gov dockets: who commented, what they asked for, and what changed between the draft and final guidance.
Black Swan Causal Labs · blackswancausallabs.com
Retrieval lives in the MCP server. Judgment lives in skills. Humans sit at the checkpoints.
Install
Python 3.11 or later.
API key: get a free key at https://open.gsa.gov/api/regulationsgov/ and put it in .env as REGULATIONS_GOV_API_KEY=.... .env is gitignored. The key is sent only as the X-Api-Key header and never appears in logs, the cache or any output. DEMO_KEY is fine for single lookups but too rate-limited for a full corpus pull. Personal keys allow 1,000 requests/hour.
Register with an MCP client. MCP is an open standard, so the server works with any compatible assistant (Claude, OpenAI Codex, others). For Claude Code, from the repo directory:
When installed as a Claude plugin, .mcp.json starts the server from the plugin root.
Tools
Every tool reads the local SQLite cache (data/cache.sqlite) first. It only touches the network on a cache miss or when called with refresh=true.
For long pulls outside a chat: .venv/bin/python -m regintel_mcp build-corpus FDA-2020-D-2307.
How the diff works: the text layer is extracted with pdfplumber. Running headers, draft line numbers, footnotes and the table of contents are removed. Sections are split on the guidance's own Roman, letter and number headings, then matched draft→final by heading (parent-qualified first) and then by heading plus text similarity. Paragraphs are diffed within each matched section, and paragraphs that moved to a different section are labelled. Everything is deterministic: there are no model calls in the server.
API behaviour verified against the live service is recorded in docs/api-notes.md.
Docket Lens (the explorer)
Docket Lens (explorer/template.html) is a single page that reads one analysis.json and shows three linked views: who spoke, what they asked for (a themes × submitter-type heatmap that opens the verbatim requests), and what changed (draft vs final by section, with each request's call). Build a docket's copy with:
Then open explorer/FDA-2020-D-2307/index.html through any static server, e.g. python3 -m http.server --directory explorer/FDA-2020-D-2307. The explorer is licensed separately under PolyForm Noncommercial 1.0.0 (explorer/LICENSE, explorer/NOTICE).
Hosting a Docket Lens demo (Cloudflare Pages, password-protected)
site/functions/_middleware.js puts HTTP Basic Auth in front of every request, including analysis.json. Credentials are Pages secrets, never files: npx wrangler pages secret put DEMO_USER --project-name docket-lens, and the same for DEMO_PASS. If either secret is missing, the site serves nothing (it fails closed). It is a demo gate, not access control for sensitive data.
Status (3 Oct 2026)
- First full run: FDA-2020-D-2307 (60 comments, 1,211 requests, 4 checkpoints, human spot-check agreement 91% on 55 calls). Outputs in
output/FDA-2020-D-2307/, decisions indecisions/. - Second-docket smoke test: FDA-2021-D-0548. Retrieval and the draft/final comparison passed without changes; see
docs/smoke-test-FDA-2021-D-0548.md.
The concordance caveat
This tool measures concordance, not impact. Changes between draft and final guidance also come from FDA's internal review, ICH M14, other guidances and the evolving science. When the final text moves in the direction a commenter asked for, that does not show the comment caused the change. Every output from this project carries that caveat.
License
Server: MIT (see LICENSE). The Explorer template is licensed separately under PolyForm Noncommercial 1.0.0.
© 2026 Black Swan Causal Labs · https://blackswancausallabs.com
Official MCP Registry packaging
The Docket Lens retrieval server has an MCP bundle for Registry distribution.
See Registry installation and release instructions.
The bundle requires uv, your Regulations.gov API key, and a writable working folder.
来源:README.md,提交 b10fd0b
工具
0版本历史
1- v0.1.0最新Oct 29, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Docket 集成
docket
rocks.docket官方发布者
面向代理机构的项目、工单、时间与预算管理:查看你的一周、登记工时、处理工单。AI 翻译

Docket SEO
由 GitHub 账号 mattkerr09 发布
在本机运行网站 SEO 审计,让助手读取评分、问题、修复建议和审计对比结果。

Docket Room
由 GitHub 账号 makinglyai 发布
托管型 MCP 服务器,让助手检索美国立法记录——法案、投票、听证会、议员和联邦法规——并跟踪变化。

Eclipse Docket MCP
由 GitHub 账号 CYAN-ECLIPSE-TECHNOLOGIES-LLC 发布
Agent-to-agent dispute process — structured claims, evidence packs, recorded determinations. Not a

Docket Alarm
由 GitHub 账号 pipeworx-io 发布
Pipeworx 网关上的 Docket Alarm 数据包,可检索美国州、县和联邦法院案卷,并通过路由访问更广的数据目录。