US Code Federal Statutes
Search and read U.S. Code statutes with linked legal citations, no key needed
- Pricing
- Free
- Platforms
- API, CLI
- Runs
- Remotely
- Version
- 1.0.0
- Listing updated
- 2 days ago
About US Code Federal Statutes
US Code Federal Statutes is a free MCP server for legal and government. It runs as a hosted remote server, so there is nothing to install locally.
This hosted server mirrors the Office of the Law Revision Counsel's U.S. Code corpus at uscode.ecfr.io. It is an independent mirror, not a government service, and it does not check for amendments after its published release. Responses carry the release ID, label, source date and retrieval time so you can judge currency.
Three tools cover the work: search_uscode takes full text or a direct citation such as 5 USC 552, get_section returns section text in pages (20,000 characters by default, up to 60,000, following nextOffset), and list_titles lists titles. A citation-guide resource and a cite_statutes prompt help answers quote correctly. Search snippets are excerpts, so retrieve the section before quoting.
Results include inlineCitation and legalCitation fields with the site URL, which the docs ask users to include. A matching JSON API and a local stdio adapter under MIT licence are available.
Install
Run in a terminal
claude mcp add --transport http uscode https://uscode.ecfr.io/mcpAdd to Settings → Connectors → Add custom connector
https://uscode.ecfr.io/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"uscode": {
"url": "https://uscode.ecfr.io/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"uscode": {
"type": "http",
"url": "https://uscode.ecfr.io/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"uscode": {
"serverUrl": "https://uscode.ecfr.io/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"uscode": {
"type": "http",
"url": "https://uscode.ecfr.io/mcp"
}
}
}Tools this server provides (3)
Taken from the project documentation; the running server may differ.
- search_uscode
- Search the U.S. Code by text or citation.
- get_section
- Get section text in pages.
- list_titles
- List published titles.
What it does
- Citation-aware search
- Full-text or direct citations like 5 USC 552.
- Paged section text
- Follow nextOffset to read long sections completely.
- Linked citations
- Returns inline and legal citations with URLs.
- Release metadata
- Every response states the release and source date.
- Free JSON API
- Same data over REST with an OpenAPI spec.
Good for
- Quote a federal statute with a linked citation
- Find sections on freedom of information
- Check which U.S. Code release an answer came from
- List titles of the code
Pricing
Free
Free, read-only; MIT licensed adapter
Prices change. Check uscode.ecfr.io before you buy.
US Code Federal Statutes FAQ
Do I need an account?
No account or API key is required.
Is it official?
No, it is an independent mirror of the OLRC corpus.
How current is it?
It serves its published release and does not check later amendments in real time.
What are the tools?
search_uscode, get_section and list_titles.
Is US Code Federal Statutes free?
Yes. US Code Federal Statutes is free to use.
How do I add US Code Federal Statutes to Claude Code?
Run this command in your terminal: claude mcp add --transport http uscode https://uscode.ecfr.io/mcp
What are the best alternatives to US Code Federal Statutes?
The closest alternatives to US Code Federal Statutes are NY LLC Publication (FileMyPublication), TribuJus, SupplyClub Catalog, SynomosAI Governance MCP and MedXpert 标准检索连接器.
Alternatives to US Code Federal Statutes

NY LLC Publication (FileMyPublication)
MCP serverNew York LLC publication rules, deadline, county prices, clerks and notice text
- 8 tools
- Remote
- Free
- Legal and government
TribuJus
MCP serverRead-only access to UK bank accounts, cards and transactions via TrueLayer Open Banking
Not checked yet- 5 tools
- Remote
- Open source
- Legal and government

SupplyClub Catalog
MCP serverRussian statutes, Supreme Court guidance and court practice for AI assistants
- 3 tools
- Remote
- Free
- Legal and government
SynomosAI Governance MCP
MCP serverSelf-assess AI agent governance: A3 scorecard, ISO 42001 evidence and PII scan
Runs locally- 6 tools
- Open source
- Security
MedXpert 标准检索连接器
MCP serverRead-only local index of medical-device standards with official links, no standard text
Runs locally- 4 tools
- Free
- Legal and government

SigPen
MCP serverMCP server that drafts e-signature documents while you approve every send
Not checked yet- 13 tools
- Remote
- Freemium
- Files and documents