eCFR (Code of Federal Regulations)

live GovernmentLegalUS

eCFR: full-text search and browse all 50 titles of the US Code of Federal Regulations via the official eCFR API.

4 tools
0ms auth
free tier 50 calls/day

Tools

search_regulations

Full-text search across all 50 titles of the US Code of Federal Regulations (federal agency regulations) via the official eCFR API. Returns matching sections with citation, heading, and excerpt. e.g.

No parameters required.

Try it
list_titles

List all 50 titles of the US Code of Federal Regulations (Title 1 General Provisions … Title 50 Wildlife and Fisheries), with currency dates. This is the index for the `title` filter in search_regulat

No parameters required.

Try it
title_structure

Get the top-level structure (chapters/subtitles) of one CFR title — the agencies and major divisions within that title. Returns a summarized one-level view, not the full deep tree. Keyless.

No parameters required.

Try it
get_section_text

Get the actual REGULATION TEXT of a specific CFR section — the full rule, not just a search excerpt. PREFER for "what does 14 CFR 91.113 say", "read the text of <citation>", "the exact wording of <reg

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/ecfr/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/ecfr/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_regulations","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("search_regulations", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("ecfr: full-text search and browse all 50 titles of the us code of federal regulations via the official ecfr api");

Related packs

Other Pipeworx packs in the same categories (Government, Legal, US):