# eCFR.io Federal Regulations

> eCFR.io Federal Regulations is a free MCP server for legal and government. Search and read US federal regulations with linked legal citations. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** API, self-hosted
- **Website:** https://ecfr.io/developers
- **Repository:** https://github.com/lrehmann/ecfr-mcp
- **MCP Registry name:** io.ecfr/ecfr
- **Categories:** legal and government
- **Listing updated:** 2026-11-16

## About

This server mirrors the current Code of Federal Regulations from eCFR.io and returns each answer with a legal citation and an inline Markdown citation that links back to the site. Results report four date fields, including sourceDate, currentAsOf, bodyAsOf and a stale flag, and the docs tell agents to check them before describing a rule as current.

Search accepts citations such as 31 CFR 10.1 or full-text queries and returns up to 25 matches, citations first, as excerpts to be followed by fetching the regulation. Documents are paged at 20,000 characters by default and up to 60,000, with a nextOffset to continue. The same data is available from a free JSON API.

The site is candid that eCFR.io is an independent mirror and the daily eCFR is an unofficial editorial compilation, so verify official sources where legal reliance matters. No account or key is needed, and it is meant for interactive research rather than bulk replication.

## Features

- **Citation search:** Match citations or full text, with up to 25 results.
- **Paged reading:** Fetch regulation text in chunks with offset and nextOffset.
- **Linked citations:** Every result includes legal and inline citations with a site link.
- **Freshness fields:** sourceDate, currentAsOf, bodyAsOf and stale show how current text is.
- **Stdio adapter:** A Node.js adapter is available for local stdio clients.
- **Companion API:** Free JSON endpoints for titles, search and documents.

## Good for

- Look up the text of a specific CFR section
- Draft a memo with properly cited regulations
- Browse CFR titles and their source dates
- Verify whether returned text is stale

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http ecfr https://ecfr.io/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://ecfr.io/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "ecfr": {
      "url": "https://ecfr.io/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "ecfr": {
      "type": "http",
      "url": "https://ecfr.io/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "ecfr": {
      "serverUrl": "https://ecfr.io/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "ecfr": {
      "type": "http",
      "url": "https://ecfr.io/mcp"
    }
  }
}
```

## Tools

- `search_regulations`: Search by citation or full text, returning excerpts and citations.
- `get_regulation`: Read regulation text with dates, citations and child navigation.
- `list_titles`: List CFR titles with dates and links.

## FAQ

### Does it need an API key?

No, the read-only server requires no account or key.

### Is it the official legal edition?

No. eCFR.io is an independent mirror and the daily eCFR is an unofficial compilation.

### How big can a document response be?

20,000 characters by default and up to 60,000 per request.

### Can I run it locally?

Yes, a stdio adapter needing Node.js 20 or later is on GitHub.

### Is eCFR.io Federal Regulations free?

Yes. eCFR.io Federal Regulations is free to use.

### How do I add eCFR.io Federal Regulations to Claude Code?

Run this command in your terminal: claude mcp add --transport http ecfr https://ecfr.io/mcp

### What are the best alternatives to eCFR.io Federal Regulations?

The closest alternatives to eCFR.io Federal Regulations are NY LLC Publication (FileMyPublication), TribuJus, SupplyClub Catalog, SynomosAI Governance MCP and MedXpert 标准检索连接器.

## Alternatives

- [NY LLC Publication (FileMyPublication)](https://ai-powered.com/mcp/ny-llc-publication-filemypublication): NY LLC Publication (FileMyPublication) is a free MCP server for legal and government.
- [TribuJus](https://ai-powered.com/mcp/tribujus): TribuJus is an open-source MCP server for legal and government.
- [SupplyClub Catalog](https://ai-powered.com/mcp/supplyclub-catalog): SupplyClub Catalog is a free MCP server for legal and government.
- [SynomosAI Governance MCP](https://ai-powered.com/mcp/synomosai-governance-mcp-2): SynomosAI Governance MCP is an open-source MCP server for security.
- [MedXpert 标准检索连接器](https://ai-powered.com/mcp/medxpert-2): MedXpert 标准检索连接器 is a free MCP server for legal and government.
- [SigPen](https://ai-powered.com/mcp/sigpen): SigPen is a freemium MCP server for files and documents.
- [SOMMON Office](https://ai-powered.com/mcp/sommon-office): SOMMON Office is a paid MCP server for communication.
- [MedXpert 全球法规连接器 (reg-connector)](https://ai-powered.com/mcp/medxpert-reg-connector): MedXpert 全球法规连接器 (reg-connector) is a free MCP server for legal and government.

---
Source: https://ai-powered.com/mcp/ecfr-io-federal-regulations
