US Codex

org.uscodexPublished by uscodex.orgOfficial publisherv1.0.0Updated Oct 28, 2026

Federal law: US Code, CFR, public laws, bills and executive orders, cross-linked and versioned.

VerifiedStreamable HTTPWeb executableWeb Search & ScrapingKnowledge & Memory

Overview

AI-generated overview

Remote MCP server for US federal law: search, read, cross-reference and compare the US Code, CFR, public laws, bills and executive orders.

What you can do
  • Search full text across the US Code, Code of Federal Regulations, public laws, congressional bills and executive orders, ranked by relevance or narrowed to one corpus.
  • Read a document or site page as markdown: a code section with notes, a title or unit, a public law, a bill version or an executive order, plus corpus indexes and code releases.
  • Trace what cites a document, including the words that cite it and regulations issued under a statute, paged 50 at a time.
  • Follow a document's history: enacting and amending laws and releases for a code section, or legislative history and linked versions for a law or bill.
  • Compare a code section between two releases to see provisions added, removed…
When to use it
Useful when you need authoritative US federal legal text with citations, want to check how a statute or regulation changed over time, or need to trace citations and legislative history without browsing the site by hand.
Requirements
A remote streamable HTTP endpoint at uscodex.org; no package, account, API key or environment variable is declared. Network access to the endpoint is required.
Before you install
The tools are read-only lookups of public legal material; no credentials or writes are involved. Results are a research aid, not legal advice, and should be checked against the official source before being relied on.

Installation

In SourceWeft

  1. Open US Codex in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/org.uscodex%2Fuscodex/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "us-codex": {
      "type": "http",
      "url": "https://uscodex.org/mcp"
    }
  }
}

Tools

5

fetch

Read a document or page of the site as markdown: a code section with its notes, a title's or unit's contents, a public law, a bill (at any version), an executive order. Paths also reach the corpus indexes ("/usc", "/pl?congress=118", "/bills?congress=119", "/eo") and each code's releases ("/usc/releases"). Links in the markdown are paths this tool accepts.

Parameterspathnotesreleasecitationprovision

citations

What cites a document: each corpus's citations of a code section, law, bill or order, with the words that cite it, and for a statute the regulations issued under it. Lists come 50 at a time; `list` and `offset` page through one.

Parameterslistpathoffsetcitation

history

How a document came to be: for a code section, the laws that enacted and amended it and every release that changed its text; for a law or bill, its legislative history, each version linked to its text and to what changed from the one before.

Parameterspathcitation

compare

What changed in a code section between two releases: each provision added, removed, changed or renumbered, the edits marked <del> and <ins>. To compare versions of a bill, take the 'what changed' link from its history.

Parameterstofrompathcitationonly_edits

Version history

1
  1. v1.0.0LatestSep 25, 2026

Score

83% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.