US Codex

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

Should I use this

Quality & Safety

A
Description quality
90%
Schema completeness
92%
Naming quality
88%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (1)

  • LOWTool 'history' description lacks action verbin history

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~1,286Tokens (tool definitions)
~1.8 KBTypical response size
Moderate attention impact (1.00% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "uscodex": {
      "url": "https://uscodex.org/mcp"
    }
  }
}

Remote endpoints

https://uscodex.org/mcpstreamable-http
https://uscodex.org/mcp/ssesse

What it can do

Tool inventory

Tools (5)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢search(corpus, date, page, query, title)

Search the full text of federal law: United States Code, Code of Federal Regulations, Public Laws, Congressional Bills, Executive Orders. Results are ranked across every corpus unless `corpus` narrows them, each with its citation, a link and the matching words. A query that is only a citation returns that document instead.

Input Schema

{
  "type": "object",
  "properties": {
    "corpus": {
      "description": "Search one corpus only.",
      "enum": [
        "usc",
        "cfr",
        "pl",
        "bills",
        "eo"
      ],
      "type": "string"
    },
    "date": {
      "description": "For a code, search it as it stood on this date (YYYY-MM-DD).",
      "type": "string"
    },
    "page": {
      "default": 1,
      "description": "Page of results, 20 to a page.",
      "type": "integer"
    },
    "query": {
      "description": "Words, a \"quoted phrase\", NOT before a word to exclude it, or a citation.",
      "type": "string"
    },
    "title": {
      "description": "For a code, search one title (\"11\", \"40\").",
      "type": "string"
    }
  },
  "required": [
    "query"
  ]
}
🟢fetch(citation, notes, path, provision, release)

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.

Input Schema

{
  "type": "object",
  "properties": {
    "citation": {
      "description": "A citation (\"26 U.S.C. 61(a)\", \"40 CFR 60.1\", \"Pub. L. 119-21\", \"H.R. 1\", \"E.O. 14000\"). Give this or `path`.",
      "type": "string"
    },
    "notes": {
      "default": true,
      "description": "Include a section's source credit, notes and footnotes.",
      "type": "boolean"
    },
    "path": {
      "description": "A page of the site, as its path or full URL (\"/usc/26/61\", \"/pl/119/21\"). Give this or `citation`.",
      "type": "string"
    },
    "provision": {
      "description": "Part of the document: in a code section, a provision and everything under it (\"a-1\" for (a)(1)) or a run of them (\"a..c\"); in a law, bill or order, a heading's {#anchor} (\"tI-stA-s10101\") or a provision under it (\"tI-stA-s10101-a\").",
      "type": "string"
    },
    "release": {
      "description": "For a code, the release to read it at: a release point (\"119-21\") or a date (YYYY-MM-DD) for the release in force then. Defaults to the latest.",
      "type": "string"
    }
  }
}
⚪citations(citation, list, offset, path)

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.

Input Schema

{
  "type": "object",
  "properties": {
    "citation": {
      "description": "A citation (\"26 U.S.C. 61(a)\", \"40 CFR 60.1\", \"Pub. L. 119-21\", \"H.R. 1\", \"E.O. 14000\"). Give this or `path`.",
      "type": "string"
    },
    "list": {
      "description": "One list only, by the corpus that cites.",
      "enum": [
        "code",
        "cfr-citations",
        "laws",
        "bills",
        "orders"
      ],
      "type": "string"
    },
    "offset": {
      "default": 0,
      "description": "With `list`, where in it to start.",
      "type": "integer"
    },
    "path": {
      "description": "A page of the site, as its path or full URL (\"/usc/26/61\", \"/pl/119/21\"). Give this or `citation`.",
      "type": "string"
    }
  }
}
⚪history(citation, path)

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.

Input Schema

{
  "type": "object",
  "properties": {
    "citation": {
      "description": "A citation (\"26 U.S.C. 61(a)\", \"40 CFR 60.1\", \"Pub. L. 119-21\", \"H.R. 1\", \"E.O. 14000\"). Give this or `path`.",
      "type": "string"
    },
    "path": {
      "description": "A page of the site, as its path or full URL (\"/usc/26/61\", \"/pl/119/21\"). Give this or `citation`.",
      "type": "string"
    }
  }
}
⚪compare(citation, from, only_edits, path, to)

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.

Input Schema

{
  "type": "object",
  "properties": {
    "citation": {
      "description": "A citation (\"26 U.S.C. 61(a)\", \"40 CFR 60.1\", \"Pub. L. 119-21\", \"H.R. 1\", \"E.O. 14000\"). Give this or `path`.",
      "type": "string"
    },
    "from": {
      "description": "Release point or date to compare from. Defaults to the release before `to`.",
      "type": "string"
    },
    "only_edits": {
      "default": true,
      "description": "Only the provisions that changed, not the whole text.",
      "type": "boolean"
    },
    "path": {
      "description": "A page of the site, as its path or full URL (\"/usc/26/61\", \"/pl/119/21\"). Give this or `citation`.",
      "type": "string"
    },
    "to": {
      "description": "Release point or date to compare to. Defaults to the latest.",
      "type": "string"
    }
  }
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded5 tools
verifiedversion not recorded5 tools