Us Code

live GovernmentDeveloperResearch

US Code — the text of federal statutes, by citation.

3 tools
0ms auth
free tier 50 calls/day

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

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/us-code/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
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.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("usc_section", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("us code — the text of federal statutes, by citation");