search_congressional_documents
Pack: congressional-documents · Endpoint: https://gateway.pipeworx.io/congressional-documents/mcp
Search the full text of official U.S. congressional documents — hearing transcripts,
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Free-text search over document full text, e.g. “opioid settlement” or “FTX collapse” |
doc_type | string | no | Which record to search: “hearings” (transcripts), “reports” (committee reports), |
congress | number | no | Congress number, e.g. 118 for 2023-2024 |
date_from | string | no | Earliest publication date, YYYY-MM-DD |
date_to | string | no | Latest publication date, YYYY-MM-DD |
limit | number | no | Results to return (default 10, max 50) |
_apiKey | string | no | data.gov API key (free at api.data.gov/signup) |
Example call
Arguments
{
"query": "opioid settlement"
}
curl
curl -X POST https://gateway.pipeworx.io/congressional-documents/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_congressional_documents","arguments":{"query":"opioid settlement"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search_congressional_documents', {
"query": "opioid settlement"
});
More examples
{
"query": "semiconductor export controls",
"doc_type": "hearings",
"congress": 118,
"limit": 20
}
{
"query": "flood insurance",
"doc_type": "reports",
"date_from": "2024-01-01",
"date_to": "2024-12-31"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"congressional-documents": {
"url": "https://gateway.pipeworx.io/congressional-documents/mcp"
}
}
}
See Getting Started for client-specific install steps.