MCP.Market

US Code of Federal Regulations MCP server

by mccallar·io.github.mccallar/cfr-mcp·v0.2.2·1 stars

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

A88/100grade A
What users say
No reviews yet
Be the first
Safety scan
A88/100

full report

Adoption
New

1 stars20 downloads/wk

Reviews

Write one

Nobody has reviewed US Code of Federal Regulations yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

US Code of Federal Regulations tools (7)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • browse_structure

    Return the CFR hierarchy for a title (or one part) without any text.

  • compare_versions

    Show how a citation's text differs between two dates, as a diff.

  • list_agencies

    List federal agencies and the CFR titles/chapters they administer.

  • lookup_citation

    Retrieve the text of a specific CFR citation.

  • search_regulations

    Full-text search across the CFR.

  • what_changed

    List amendment dates for a citation, plus any published corrections.

  • where_does_term_appear

    Show which titles/chapters/parts contain a term, with hit counts.

Public scan report

scanner v0.1.10 · 2026-10-30 · same rubric, same numbers if you re-run it

no findings
  • Code scan8 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 61 days ago12/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 88/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How US Code of Federal Regulations compares

Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
88/100
higher than 80% of 3,471 Web search servers
Tools
7
the typical Web search server has 5
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
1
more than 55% of 1,788 Web search servers
Downloads a week
20
more than 7% of 837 Web search servers with a package

What its tools let an agent do: 7 read

Install US Code of Federal Regulations in Claude Code, Cursor or VS Code

claude mcp add cfr-mcp -- uvx cfr-mcp
Add to Cursor

What the publisher says

From the US Code of Federal Regulations repository's README, as published. We do not edit it. Read it on GitHub

cfr-mcp

An MCP server that gives AI assistants access to the US Code of Federal Regulations.

Ask "what does 21 CFR 101.9 require?" or "has 40 CFR 261 changed since 2023?" and get the actual regulation text, with citations, instead of a plausible-sounding guess.

Unofficial community project. Not affiliated with or endorsed by the Office of the Federal Register, NARA, or GPO, and uses no government seals or logos.

Maintained by one person as a personal project and provided as-is (MIT). Issues and pull requests are welcome but may not get a quick response. To report a security issue, see SECURITY.md.

<!-- mcp-name: io.github.mccallar/cfr-mcp -->

Install

Requires Python 3.11+. No API key — the eCFR and Federal Register APIs are open.

Claude Code:

claude mcp add cfr -- uvx cfr-mcp

Any other MCP client:

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

Tools

Point-in-time works throughout: pass date as YYYY-MM-DD to read the CFR as it stood.

Design notes

Context budget is the whole game. The eCFR full endpoint returns an entire downloadable XML document for a title-level request. Every tool here caps output and degrades to an outline rather than dumping text into the model's context. Title-level XML requests are refused outright.

Dates must be resolved, not assumed. Versioner routes 404 on dates that aren't valid issue dates for a title, so the client resolves through titles.json first rather than passing today's date blindly.

Caching is courtesy. The eCFR publishes no rate limit and has no key to identify callers politely, so the client caches to disk (historical dates forever, since point-in-time content is immutable) and self-limits concurrency. The cache lives in ~/.cache/cfr-mcp (respects XDGCACHEHOME); set CFRMCPCACHE_DIR to relocate it.

Legal

Regulation text is free to reproduce. 1 CFR 2.6 states that any person may reproduce or republish material appearing in the Federal Register, with no restrictions on what is reproduced, who reproduces it, or where. Federal government works are also outside copyright under 17 U.S.C. §105.

Incorporation by reference. Some CFR sections incorporate private standards (ASTM, NFPA, ASHRAE) whose copyright status after incorporation remains unsettled. The eCFR does not contain the text of those standards and neither does this server — it returns the citation only. Obtain standards from the issuing organization or the Office of the Federal Register reading room.

Status of the text. The eCFR is authoritative but unofficial. Anyone relying on it for legal research should verify against the current official CFR, the daily Federal Register, and the List of CFR Sections Affected (LSA).

Not legal advice. This is a retrieval tool. It returns the text of regulations; it does not tell you whether you are compliant with them.

Development

uv sync --extra dev
uv run pytest

MIT licensed.

Nothing above is checked by us. What we check is on the safety report.

US Code of Federal Regulations: common questions

Is US Code of Federal Regulations MCP server safe?
Yes, by our scan: it is graded A (88/100). Read the US Code of Federal Regulations safety report
How do I install US Code of Federal Regulations?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does US Code of Federal Regulations need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is US Code of Federal Regulations maintained?
The last commit was 68 days ago (2026-08-29). The latest release is v0.2.2.
What can I use instead of US Code of Federal Regulations?
Servers from other publishers that do the same job: GEO Tracker by DigestSEO MCP server and freehire MCP server.
How does US Code of Federal Regulations compare with other Web search MCP servers?
safety score 88/100 (higher than 80% of 3,471 Web search servers); tools 7 (the typical Web search server has 5); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to US Code of Federal Regulations

Same job from other publishers: the closest match first, then the best rated.

  • GEO Tracker by DigestSEO
    Track brand citations across seven AI search surfaces. Free OSS; optional EUR 99 client-ready audit.
    B
  • freehire
    freehire.me: search 3.3M+ IT jobs from 294K company boards, track applications, tailor CVs.
    A