Us Code
live GovernmentDeveloperResearchUS Code — the text of federal statutes, by citation.
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
No parameters required.
Try it
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
No parameters required.
Try it
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
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/us-code/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' curl -X POST https://gateway.pipeworx.io/us-code/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"usc_section","arguments":{}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("usc_section", {}); // Or ask in plain English:
const answer = await px.ask("us code — the text of federal statutes, by citation");