federal-register-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
federal-register-mcp
Search and read the US Federal Register from Claude, Cursor, or ChatGPT.
Unofficial data source
This project is unofficial and is not affiliated with or endorsed by the National Archives and Records Administration (NARA), the Office of the Federal Register (OFR), or the Government Publishing Office (GPO). Do not use NARA, OFR, or GPO logos or seals.
Federal Register data are U.S. government works (public domain, 17 U.S.C. §105). This server adds trimmed fields, caching, and rate limiting as a convenience layer only. Tool output is not legal notice—verify against the official edition on govinfo.gov.
Not for directory submission; it is a showcase
This server wraps a third-party public API. It is not intended for Claude Connectors directory, ChatGPT Apps directory, or similar listings that require first-party or legitimately proxied APIs. Files like server.json and glama.json are prepared for your namespace when you self-host; nothing here is published to a registry by this repository.
Related MCP server: mcp-federal-register
Quickstart
Remote MCP URL (placeholder until you deploy):
https://YOUR-WORKER.example.com/mcp
Cursor
{
"mcpServers": {
"federal-register": {
"url": "https://YOUR-WORKER.example.com/mcp"
}
}
}Claude (remote MCP)
{
"mcpServers": {
"federal-register": {
"type": "http",
"url": "https://YOUR-WORKER.example.com/mcp"
}
}
}MCP Inspector
Point the inspector at http://localhost:8787/mcp when running locally, or your deployed /mcp URL.
Run locally
npm ci
npm run devNo API keys or .env are required. Optional overrides live in .dev.vars.example.
Tools (read-only)
Tool | Title | Annotations | Purpose |
| Search Federal Register documents |
| Keyword, type, agency slug, and date filters |
| Get a Federal Register document | same | Single document by |
| List agencies | same | Agency directory + slug discovery |
| List public inspection documents | same | Current public inspection desk |
Example prompts:
“List final rules from EPA in the last 30 days that mention PFAS.” — use
list_agencieswithenvironmental, thensearch_documentswithtypes: ["RULE"], agency slug,term: "PFAS", andpublished_from/published_to.“Summarize Federal Register document 2026-24346.” —
get_documentwith thatdocument_number.“What’s on public inspection today for banking regulators?” —
list_public_inspection_documents, then filter results client-side by agency names.
Every tool response includes a notes field repeating the unofficial / govinfo.gov disclaimer.
Design notes (tested, fixed-scope)
Transport: Stateless Cloudflare Worker using
createMcpHandlerfromagents/mcp/serverwith@modelcontextprotocol/server(McpServer) and Streamable HTTP at/mcp(no sessions, no deploy in this repo).Upstream:
https://www.federalregister.gov/api/v1withUser-Agent: federal-register-mcp (+https://github.com/konstantinbozukov/federal-register-mcp).Field trimming: Search results cap abstracts at 500 characters (
abstract_truncatedwhen shorter copy is returned). Lists are bounded by toollimitarguments.2,000-result cap: If
page × limitwould exceed 2,000, the tool returns an actionable error suggesting narrower date or agency filters.Caching: Workers Cache API — ~5 minutes for document search/detail/public inspection; ~1 hour for agencies.
Resilience: 10 s upstream timeout, one retry on HTTP 5xx, generic actionable errors (no raw upstream bodies).
Rate limit: Cloudflare
ratelimitsbinding (default 60 requests/minute per client IP), overridable viaRATE_LIMIT_PER_MINUTE.
Pre-flight results (--auth none)
Offline run against the in-process Worker handler (same checks as node scripts/preflight.mjs against wrangler dev):
CHECK LEVEL MESSAGE
-------------------------------------------- ----- -------
mcp.initialize pass initialize succeeded.
mcp.tools_list pass tools/list returned 4 tools.
tool.search_documents.schema pass search_documents: schema and annotations OK.
tool.get_document.schema pass get_document: schema and annotations OK.
tool.list_agencies.schema pass list_agencies: schema and annotations OK.
tool.list_public_inspection_documents.schema pass list_public_inspection_documents: schema and annotations OK.
tool.error_quality pass Invalid tool call returned actionable error.
tool.response_size pass Sample response within size budget.Reproduce:
npx tsx scripts/preflight-offline.ts
# or, with a running worker:
node scripts/preflight.mjs http://127.0.0.1:8787/mcp --auth none \
--sample '{"tool":"search_documents","arguments":{"term":"water","limit":1,"page":1,"order":"newest"}}'Deploy to your own Cloudflare account
Copy
wrangler.jsonc, set a uniquename, and choose aratelimits.namespace_idper Cloudflare docs.npm ci && npx wrangler deploy(requires your Cloudflare login and account — not run from this showcase build).Point clients at
https://<your-worker>.workers.dev/mcp.Update
server.jsonremotes[0].urlif you publish to the MCP Registry under your namespace (io.github.<you>/...).
Need a server like this for your API?
mcp.edge.report
Built with AI assistance and human review. Part of the mcp.edge.report showcase. MIT licensed.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
US Federal Register for AI agents: rules, notices, executive orders, agency lookup. No keys.
US Federal Register for AI agents: rules, notices, executive orders, agency lookup. No keys.
Federal Register proposed and final rules, notices, executive orders, and FAR cases. 8 tools.
Read a CFR or eCFR section, or search US federal regulations and the Federal Register.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to search and retrieve executive orders, presidential documents, rules, and agency information from the Federal Register API through natural language queries.12MIT
- AlicenseNot gradedqualityBmaintenanceEnables querying the US Federal Register API for federal register documents and data through natural language.81 npmMIT
- AlicenseAqualityBmaintenanceEnables AI agents to search and track US federal regulations, documents, and executive orders from the Federal Register, with no API keys required.5MIT
- AlicenseAqualityBmaintenanceEnables searching and reading the US Code of Federal Regulations through tools that return excerpts, full text, legal citations, and linked source URLs, with read-only, stateless access.3MIT