Repository avatar
Search & Data Extraction
v1.0.1
active

ecfr-federal-regulations-mcp

io.github.theluckystrike/ecfr-federal-regulations-mcp

Live U.S. eCFR search, CFR titles, title structure, recent corrections, and agency CFR chapters.

Documentation

eCFR federal regulations MCP

Live U.S. Code of Federal Regulations search, title metadata, hierarchical structure, editorial corrections, and federal agency chapter mappings from ecfr.gov over Model Context Protocol (MCP). Legal teams, compliance officers, and regulatory analysts can query current federal rules with zero API keys and zero sign-up. It works right away.

Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

https://ecfr-federal-regulations-mcp.lipmichal.workers.dev/mcp

Available tools

ToolPurpose
search_cfrFull-text search across the U.S. Code of Federal Regulations with optional title and agency filters
list_cfr_titlesList all 50 CFR titles with latest amended dates, issue dates, and up-to-date status
get_title_structureRetrieve the chapter, subchapter, and part hierarchy for a specific CFR title
get_recent_correctionsList recent eCFR editorial and regulatory corrections with Federal Register citations
get_agency_cfr_chaptersMap U.S. federal agencies to the CFR titles and chapters they administer

Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

{
  "mcpServers": {
    "ecfr-federal-regulations": {
      "url": "https://ecfr-federal-regulations-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Run locally over stdio

You can also run this server locally on Node 20 or newer over stdio.

npm install
npm run build
npm start

Compliance and reliability

Every upstream call to ecfr.gov uses a clear User-Agent header (mcpstamp-ecfr/1.0 (hello@mcpstamp.com)). Cloudflare edge caching applies strictly to HTTP 2xx answers, so transient upstream errors don't get stuck in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates protocol version 2026-07-28 cleanly to 2025-11-25.

More MCP Servers and Readiness Check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.