# eCFR

> eCFR is an open-source MCP server for legal and government. Look up FAR and DFARS clauses and compare versions through the eCFR API. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, self-hosted
- **Website:** https://1102tools.com
- **Repository:** https://github.com/1102tools-dev/federal-contracting-mcps/tree/HEAD/servers/ecfr-mcp
- **MCP Registry name:** com.1102tools/ecfr-mcp
- **Categories:** legal and government
- **Listing updated:** 2026-11-14

## About

Thirteen tools sit on top of the public eCFR API, split into core endpoints and convenience tools for acquisition work. The core set returns regulatory text, a table of contents, amendment history, breadcrumb ancestry, full-text search, the agency list and editorial corrections. The README advises calling get_latest_date first for a title.

The convenience tools are the distinctive part. lookup_far_clause resolves the date itself, compare_versions shows text at two dates side by side, find_far_definition searches FAR 2.101 for a term, and find_recent_changes lists sections modified since a date. The README's example prompts include pulling FAR 15.305 and summarising it.

No key or registration is needed locally or hosted. It is one of nine servers from 1102tools, which says each is checked against its government source.

## Features

- **One-call clause lookup:** lookup_far_clause fetches FAR or DFARS clause text and resolves the date.
- **Version comparison:** Show a section's text at two dates side by side.
- **FAR definitions:** Search FAR 2.101 for the definition of a term.
- **Recent change finder:** List sections modified since a chosen date.
- **Full-text search:** Search CFR text with hierarchy filters.
- **Version history:** Amendment history for a section or part.

## Good for

- Pull the current text of a FAR clause into a proposal draft
- See what changed in a DFARS part since last quarter
- Check the definition of a term in FAR 2.101
- Browse a part's table of contents before reading sections

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http ecfr-mcp https://ecfr.1102tools.com/mcp
```

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

```sh
https://ecfr.1102tools.com/mcp
```

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

```json
{
  "mcpServers": {
    "ecfr-mcp": {
      "url": "https://ecfr.1102tools.com/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "ecfr-mcp": {
      "type": "http",
      "url": "https://ecfr.1102tools.com/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "ecfr-mcp": {
      "serverUrl": "https://ecfr.1102tools.com/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "ecfr-mcp": {
      "type": "http",
      "url": "https://ecfr.1102tools.com/mcp"
    }
  }
}
```

## Tools

- `get_latest_date`: Most recent available date for a CFR title
- `get_cfr_content`: Parsed regulatory text for a section, subpart or part
- `get_cfr_structure`: Hierarchical table of contents
- `get_version_history`: Amendment history for a section or part
- `get_ancestry`: Breadcrumb hierarchy path
- `search_cfr`: Full-text search with hierarchy filters
- `list_agencies`: All agencies with their CFR references
- `get_corrections`: Editorial corrections for a title
- `lookup_far_clause`: One-call FAR/DFARS clause text lookup
- `compare_versions`: Side-by-side text comparison at two dates
- `list_sections_in_part`: All sections in a FAR/DFARS part
- `find_far_definition`: Search FAR 2.101 for a term definition
- `find_recent_changes`: Sections modified since a given date

## FAQ

### Is an API key required?

No. The eCFR API is public and neither the local nor hosted server needs a key.

### How do I install it locally?

Run uvx --refresh-package ecfr-mcp --from ecfr-mcp ecfr-mcp, or pip install ecfr-mcp.

### Which regulations does it cover?

FAR, DFARS and agency FAR supplements, plus other CFR titles through the eCFR API.

### Why use --refresh-package?

It makes uv check PyPI for a newer release on each launch, at the cost of a little startup time.

### Is eCFR free?

Yes. eCFR is open source, so you can use and self-host it for free.

### How do I add eCFR to Claude Code?

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

### What are the best alternatives to eCFR?

The closest alternatives to eCFR 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
