
Lets your agent search and read the United States Code, with linked citations, from an independent mirror at uscode.ecfr.io.
by Ecfr· Legal & complianceUnclaimed · Yours? Claim it
About
US Code Federal Statutes is a free, hosted MCP server for reading the United States Code on uscode.ecfr.io. It's a third-party service, not a US government one: uscode.ecfr.io is an independent mirror of the public US Code text published by the Office of the Law Revision Counsel (OLRC), maintained by an independent developer (lrehmann on GitHub). Despite the name, ecfr.io isn't the government's eCFR site. What you can do with it - Search the Code by full text, or by a citation such as 5 USC 552 - Read a whole section, page by page for long ones - List the Code's titles - Get an inline citation and a legal citation for each section, both linking to it on uscode.ecfr.io - Use its citation guide and its statute research prompt in agents that support MCP resources and prompts How it connects It's hosted at https://uscode.ecfr.io/mcp. There's no account, key or sign-in, and every tool is read-only. You can also run it yourself from the GitHub repository (Node.js 20 or newer, built from source; there's no npm package). Good to know - The text comes from the site's latest published OLRC release, and each answer names the release and its date. The maintainer says it isn't a real-time check for later amendments, so confirm current law against the OLRC's own site (uscode.house.gov). - It gives you statutory text, not legal advice. Search snippets are excerpts; the maintainer advises reading the full section before quoting it. - The maintainer asks that citations include the uscode.ecfr.io link the tools return. - The site's privacy policy says operational logs may be kept, and the website itself is supported by advertising.
Plugins people install alongside US Code Federal Statutes.
4 images
Once it’s added
“Find 5 USC 552 and show me the full text.”
“Search the US Code for freedom of information.”
“List the titles of the US Code.”
“Read 17 USC 107 and cite it with its link.”
“Which OLRC release is this section's text from?”
Before you add it
Reads only
United States Code section text · Search results with snippets and citations · The list of Code titles · Which OLRC release the text comes from
From people who use it
Step by step
Nothing new reaches your agent until a person has looked at it.
Scanned on every change, and again when our rules improve.
A hosted server: nothing runs on your machine.
A hosted server: nothing runs on your machine.
A hosted server: nothing runs on your machine.
A hosted server: nothing runs on your machine.
A hosted server: nothing runs on your machine.
A hosted server: nothing runs on your machine.
A hosted server: nothing runs on your machine.
Add to VS Codecopilot mcp add --transport http us-code-federal-statutes https://uscode.ecfr.io/mcp
A hosted server: nothing runs on your machine.
Add to Cursor.cursor/mcp.json{
"mcpServers": {
"us-code-federal-statutes": {
"url": "https://uscode.ecfr.io/mcp"
}
}
}A hosted server: nothing runs on your machine.
claude mcp add --transport http us-code-federal-statutes https://uscode.ecfr.io/mcp
A hosted server: nothing runs on your machine.
codex mcp add us-code-federal-statutes --url https://uscode.ecfr.io/mcp
A hosted server: nothing runs on your machine.
~/.gemini/config/mcp_config.json{
"mcpServers": {
"us-code-federal-statutes": {
"url": "https://uscode.ecfr.io/mcp"
}
}
}A hosted server: nothing runs on your machine.
gemini mcp add --transport http us-code-federal-statutes https://uscode.ecfr.io/mcp
A hosted server: nothing runs on your machine.
A hosted server: nothing runs on your machine.
openclaw mcp add us-code-federal-statutes --url https://uscode.ecfr.io/mcp --transport streamable-http
A hosted server: nothing runs on your machine.
opencode mcp add us-code-federal-statutes --url https://uscode.ecfr.io/mcp
A hosted server: nothing runs on your machine.
hermes mcp add us-code-federal-statutes --url https://uscode.ecfr.io/mcp
~/.hermes/config.yaml{
"mcp_servers": {
"us-code-federal-statutes": {
"url": "https://uscode.ecfr.io/mcp"
}
}
}Scanned and passed · checked 5 h ago
No reviews yet. Used US Code Federal Statutes? Say how it went.
Write a reviewNobody has shared how they use US Code Federal Statutes yet.
Security scan
Passed
Safe to install in every agent it supports. Runs remotely on uscode.ecfr.io · answering.
Plugins people install alongside US Code Federal Statutes.
Prepare for ISO/IEC 42001 AI management system audits: score clause gaps, build an AI risk register and plan internal audits.
Search Korean statutes, court precedents, ordinances and legal interpretations from your agent, and check its legal citations. In Korean.
German AI-contract pre-check: reviews contracts with legal-AI providers against German professional secrecy rules (§ 43e BRAO, § 203 StGB).