Govinfo Search Packages
govinfo_search_packagesFull-text + faceted search across GovInfo. Filter by one or more collection codes (BILLS, FR, CFR, USCODE, CHRG, CRPT, CREC, PLAW, USCOURTS...), date range, congress, and free-text query. Several codes search the union of those collections. Returns package IDs, titles, collection and issue dates.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "climate change"
},
"name": "govinfo_search_packages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Alias for page_size, 1-100. | |
| query | Yes | Free-text search | |
| date_to | No | YYYY-MM-DD | |
| congress | No | Congress number (e.g., 118), for BILLS/CHRG/CRPT | |
| date_from | No | YYYY-MM-DD | |
| page_size | No | Results per page, 1-100 (default 25). `limit` works as an alias. | |
| collections | No | Collection codes, comma- or space-separated (e.g. "CHRG" or "CHRG,CRPT"). Several codes return the union of those collections, "CHRG,CRPT" gives every package in either. Codes come from list_collections. | |
| offset_mark | No | Pagination cursor from previous response |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | Total matching packages | |
| results | Yes | Search result packages | |
| returned | Yes | Number of results returned in this response | |
| next_offset_mark | No | Pagination cursor for next results |