# US Code of Federal Regulations

> US Code of Federal Regulations is an open-source MCP server for legal and government. Look up, search, and track changes to the US Code of Federal Regulations (eCFR). It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/mccallar/cfr-mcp
- **MCP Registry name:** io.github.mccallar/cfr-mcp
- **Categories:** [legal and government](https://ai-powered.com/categories/legal-and-government)
- **Listing updated:** 2026-11-13

## About

Look up, search, and track changes to the US Code of Federal Regulations (eCFR).

## Install

### Claude Code (Terminal)

```sh
claude mcp add cfr-mcp -- uvx cfr-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "cfr-mcp": {
      "command": "uvx",
      "args": [
        "cfr-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "cfr-mcp": {
      "command": "uvx",
      "args": [
        "cfr-mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "cfr-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "cfr-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "cfr-mcp": {
      "command": "uvx",
      "args": [
        "cfr-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "cfr-mcp": {
      "command": "uvx",
      "args": [
        "cfr-mcp"
      ]
    }
  }
}
```

## FAQ

### Is US Code of Federal Regulations free?

Yes. US Code of Federal Regulations is open source, so you can use and self-host it for free.

### How do I add US Code of Federal Regulations to Claude Code?

Run this command in your terminal: claude mcp add cfr-mcp -- uvx cfr-mcp

### What are the best alternatives to US Code of Federal Regulations?

The closest alternatives to US Code of Federal Regulations are eCFR.io Federal Regulations, eCFR, US Federal Regulations (CFR), US Code Federal Statutes and Federal Register.

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [eCFR.io Federal Regulations](https://ai-powered.com/mcp/ecfr-io-federal-regulations): eCFR.io Federal Regulations is a free MCP server for legal and government.
- [eCFR](https://ai-powered.com/mcp/ecfr): eCFR is an open-source MCP server for legal and government.
- [US Federal Regulations (CFR)](https://ai-powered.com/mcp/us-federal-regulations-cfr): US Federal Regulations (CFR) is a free MCP server for legal and government.
- [US Code Federal Statutes](https://ai-powered.com/mcp/us-code-federal-statutes): US Code Federal Statutes is a free MCP server for legal and government.
- [Federal Register](https://ai-powered.com/mcp/federal-register): Federal Register is an open-source MCP server for legal and government.

---
Source: https://ai-powered.com/mcp/us-code-of-federal-regulations
