search_packages
Pack: govinfo · Endpoint: https://gateway.pipeworx.io/govinfo/mcp
Full-text + faceted search across GovInfo. Filter by collection codes (comma-separated), date range, congress, court (for USCOURTS), and free-text query. Returns package IDs and titles.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Free-text search |
collections | string | no | Comma-separated collection codes (e.g., “BILLS,FR”) |
congress | number | no | Congress number (e.g., 118) — for BILLS/CHRG/CRPT |
date_from | string | no | YYYY-MM-DD |
date_to | string | no | YYYY-MM-DD |
page_size | number | no | 1-100 (default 25) |
offset_mark | string | no | Pagination cursor from previous response |
Example call
curl -X POST https://gateway.pipeworx.io/govinfo/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_packages","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"govinfo": {
"url": "https://gateway.pipeworx.io/govinfo/mcp"
}
}
}
See Getting Started for client-specific install steps.