# Docket Lens

Docket Lens is an MCP server that retrieves FDA docket comments and attachment text, then compares draft and final guidance to trace submitter requests and document changes.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: Black-Swan-Causal-Labs
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Black-Swan-Causal-Labs/regintel-mcp
- Updated: 2026-10-28
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/docket-lens

## What it does

Docket Lens searches FDA dockets and returns metadata, documents, comments, and extracted attachment text. Results are kept in a local SQLite cache; the server reaches the network on a cache miss or when `refresh=true`. You can gather comments into a resumable corpus and export it as JSONL.

For guidance comparisons, the server splits documents into sections, matches the draft against the final version, and marks paragraph edits and moves. It uses no model calls for this work. The comparison measures alignment, not impact, so it cannot establish that a comment caused a change. Setup requires Python 3.11 or later and a Regulations.gov API key; `DEMO_KEY` is too rate-limited for a full corpus pull.

The repository also includes analysis scripts and a web explorer with linked views of submitters, requests, and document changes. The server uses the MIT license; the explorer has a separate PolyForm Noncommercial 1.0.0 license.

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- search FDA dockets by keyword
- retrieve docket comments and extracted attachment text
- build a resumable comment corpus
- compare draft and final guidance section by section
- export docket data as JSONL for skills and subagents

## Example prompts
- Find FDA dockets about risk assessment and show the comment count.
- Build a corpus for `FDA-2020-D-2307`, including attachments.
- Compare the draft and final guidance for this docket and show the changed sections.

## Similar
- [docket](https://affpapa.org/en/nevibecode/mcp/docket.md) — MCP server · ★ 10 repo stars
- [docket-watcher](https://affpapa.org/en/nevibecode/agents/docket-watcher.md) — subagent · ★ 10060 repo stars
- [argent-lens](https://affpapa.org/en/nevibecode/skills/argent-lens.md) — skill · 28700 installs
- [Google Lens](https://affpapa.org/en/nevibecode/mcp/google-lens.md) — MCP server · 387 installs
- [Sunex-lens-mcp](https://affpapa.org/en/nevibecode/mcp/sunex-lens-mcp.md) — MCP server · 312 installs
- [product-lens](https://affpapa.org/en/nevibecode/skills/product-lens.md) — skill · 6200 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
