Skip to main content
Glama
eCFR Federal Regulations MCP

eCFR Federal Regulations MCP

README.md
# 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.

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

## Available tools

| Tool | Purpose |
| --- | --- |
| `search_cfr` | Full-text search across the U.S. Code of Federal Regulations with optional title and agency filters |
| `list_cfr_titles` | List all 50 CFR titles with latest amended dates, issue dates, and up-to-date status |
| `get_title_structure` | Retrieve the chapter, subchapter, and part hierarchy for a specific CFR title |
| `get_recent_corrections` | List recent eCFR editorial and regulatory corrections with Federal Register citations |
| `get_agency_cfr_chapters` | Map 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.

```json
{
  "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.

```bash
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.

- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.ecfr-federal-regulations-mcp) with hosted commercial servers and priority endpoints.