GovInfo adapter: wired but waiting on an upstream npm package

Gadoes adds the GovInfo adapter for federal publications (CFR, Federal Register, public laws), following the same template as CourtListener. The commit message flags it explicitly: the `govinfo-mcp` npm package hasn't been published yet, so the server config is scaffolding only.

integrationsearch

backend/src/lib/mcp/servers/govinfo.ts exports buildGovInfoConfig, isValidGovInfoKey, GOVINFO_TOOLS, and GOVINFO_SYSTEM_PROMPT. The config calls npx govinfo-mcp - the package that doesn't exist yet.

Fixtures cover three document types: a CFR entry for Clean Air Act regulations, a Federal Register final rule for PFAS reporting (EPA, 2023), and the Infrastructure Investment and Jobs Act (Pub. L. 117-58). The 21 tests cover config construction, key validation (null, empty, whitespace-only all return false), citation parsing, and the empty/malformed-input edge cases.

Everything testable without a live govinfo-mcp process works: the parser, the key validator, and the config shape. The mock-MCP integration test is there but can only verify the fixture-response path.

So what Worth importing as scaffolding if federal publication coverage is on your roadmap - the parser and config will be ready when the upstream package ships. Skip it if you need something that runs today.

View this fork on GitHub →

Spotted something wrong? Or know the PR text has fresher detail than the writeup above?

Commits in this thread

2 commits from Gadoes/dispumike, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
9aebb24a feat(mcp): Chunk 11 - GovInfo MCP server config + fixture tests Gadoes 2026-05-02 ↗ GitHub
commit body
Adds buildGovInfoConfig, isValidGovInfoKey, GOVINFO_TOOLS, and
GOVINFO_SYSTEM_PROMPT. Includes fixture-based citation parser tests and
mock MCP server integration tests (21 tests). Server stub ready for when
the govinfo-mcp npm package is published.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
955c5250 Merge chunk-11-govinfo into main Gadoes 2026-05-02 ↗ GitHub

Capture this thread into my fork

Download a single Markdown prompt that tells Claude how to port every commit above into your working tree — adapting paths and structure to match your repo. Run it via claude -p < capture-thread-24.md from inside the repo you want the changes in.

⬇ Download capture-thread-24.md