search_regulations
Pack: ecfr · Endpoint: https://gateway.pipeworx.io/ecfr/mcp
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. “drone operation”, “food labeling”, “overtime pay”. Optionally restrict to one CFR title number. Keyless.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Search phrase, e.g. “drone operation”, “food labeling”, “overtime pay”, “hazardous waste”. |
title | number | no | Optional CFR title number (1–50) to restrict the search to. Use list_titles to see the title index, e.g. 14 = Aeronautics and Space, 21 = Food and Drugs, 29 = Labor. |
limit | number | no | Max results to return (default 10, max 20). |
page | number | no | Page number for pagination (default 1). |
Example call
Arguments
{
"query": "drone operation"
}
curl
curl -X POST https://gateway.pipeworx.io/ecfr/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_regulations","arguments":{"query":"drone operation"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search_regulations', {
"query": "drone operation"
});
More examples
{
"query": "food labeling",
"title": 21,
"limit": 15
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"ecfr": {
"url": "https://gateway.pipeworx.io/ecfr/mcp"
}
}
}
See Getting Started for client-specific install steps.