Skip to content
MCP server

eCFR

Look up FAR and DFARS clauses and compare versions through the eCFR API

Pricing
Open source
Platforms
CLI, API, self-hosted
Runs
Locally or Remotely
Version
1.1.15
Listing updated
3 days ago

About eCFR

eCFR is an open-source MCP server for legal and government. It can run locally on your machine or as a hosted remote server.

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.

Install

Run in a terminal

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

Add to Settings → Connectors → Add custom connector

https://ecfr.1102tools.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "ecfr-mcp": {
      "url": "https://ecfr.1102tools.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Tools this server provides (13)

Taken from the project documentation; the running server may differ.

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

What it does

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

Pricing

Open source

Free and MIT licensed; no key required

Prices change. Check 1102tools.com before you buy.

eCFR 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 to eCFR

  1. New York LLC publication rules, deadline, county prices, clerks and notice text

    • 8 tools
    • Remote
    • Free
    • Legal and government
  2. TribuJus

    MCP server

    Read-only access to UK bank accounts, cards and transactions via TrueLayer Open Banking

    Not checked yet
    • 5 tools
    • Remote
    • Open source
    • Legal and government
  3. Russian statutes, Supreme Court guidance and court practice for AI assistants

    • 3 tools
    • Remote
    • Free
    • Legal and government
  4. Self-assess AI agent governance: A3 scorecard, ISO 42001 evidence and PII scan

    Runs locally
    • 6 tools
    • Open source
    • Security
  5. Read-only local index of medical-device standards with official links, no standard text

    Runs locally
    • 4 tools
    • Free
    • Legal and government
  6. SigPen

    MCP server

    MCP server that drafts e-signature documents while you approve every send

    Not checked yet
    • 13 tools
    • Remote
    • Freemium
    • Files and documents