@pipeworx/us-code

Connect: https://gateway.pipeworx.io/us-code/mcp · Install: one-click buttons

Tools: 3

The text of the United States Code. Give it 18 and 1343, get back the wire fraud statute.

Auth

None for retrieval. usc_section and usc_titles are keyless.

usc_search uses the GovInfo API, which needs a data.gov key — Pipeworx fronts one, or pass _apiKey. If you already have a citation, usc_section is keyless and more direct.

Why this pack exists when govinfo already reached the data

It’s a reachability fix, not a data one. The US Code has always been fetchable through the generic govinfo pack — but an agent asking “what does the wire fraud statute say” will never call search_packages({collections: 'USCODE'}). Tool selection is embedding similarity over descriptions, so a generic container matches nothing in particular. Obvious entry points beat generic ones.

The keyless path is GovInfo’s citation link service:

/link/uscode/18/1343  →  302 →  USCODE-2024-title18-partI-chap63-sec1343.htm

That matters more than it looks. The document id embeds part and chapter — partI-chap63 — which nobody knows from “18 U.S.C. § 1343”. The link service is the only path from the citation lawyers actually write to the document itself.

Tools

ToolKey neededReturns
usc_sectionnoFull statutory text for a citation
usc_titlesnoThe 54 titles and their subjects
usc_searchyesSection headings matching a subject

Caveats worth passing on

  • The Code is published by annual edition, so the text is current as of that edition and not as of today. A statute amended since is not reflected — check recent public laws for anything time-sensitive.
  • Section numbers are not contiguous. Many are repealed or reserved, so a missing section is normal rather than an error.
  • Subsections are not separate documents. Asking for 1343(a) returns all of § 1343, and the response says so rather than silently widening the request.
  • usc_search returns headings, not section numbers. GovInfo’s search does not expose them, so a heading identifies a statute but cannot be cited from directly. The response says this instead of implying otherwise.
  • court-listener — cases interpreting these statutes, with full opinion text
  • ecfr, federal-register — regulations made under them
  • congress — the bills that amend them

Data source

https://www.govinfo.gov/ — United States Code, US Government Publishing Office. Public domain.

Tools

  • usc_section — Get the FULL TEXT of a section of the United States Code — federal statutes — by citation. “18 U.S.C. 1343” is title 18, section 1343. Returns the statutory text, its title and chapter, and the editio
  • usc_titles — List the 54 titles of the United States Code with their subject names — title 18 is Crimes and Criminal Procedure, title 26 is the Internal Revenue Code, and so on. Keyless. Use when you know the subj
  • usc_search — Search the United States Code by subject to find which statutes are relevant — “wire fraud”, “endangered species take”. Returns matching section headings and their titles; call usc_section for the tex

Tools

  • usc_search — Search the United States Code by subject to find which statutes are relevant — wire fraud , endangered species take . Returns matching section headings and their titles; call usc_section for the text.
  • usc_section — Get the FULL TEXT of a section of the United States Code — federal statutes — by citation. 18 U.S.C. 1343 is title 18, section 1343. Returns the statutory text, its title and chapter, and the edition
  • usc_titles — List the 54 titles of the United States Code with their subject names — title 18 is Crimes and Criminal Procedure, title 26 is the Internal Revenue Code, and so on. Keyless. Use when you know the subj

Regenerated from source · build August 12, 2026