Congress.gov Bill Search
congressgov_search_billsKeyword-search U.S. bills by title and CRS summary text — the discovery path the Congress.gov API itself lacks (it has no keyword search). Backed by a local full-text index over a bounded congress window; title and summary are indexed, but policy area and full bill text are not. Returns BM25-ranked matches, each with the bill's derived id (congress/billType/billNumber) for follow-up congressgov_bill_lookup calls and a truncated summary preview. Narrow with the optional congress, billType, and originChamber filters. Searches the local mirror, not the live API — if the mirror has not finished its initial build it returns an empty result with a notice, not an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Results per page (1–100, default 20). | |
| query | Yes | Free-text keywords matched against bill titles and summaries (e.g. "semiconductor export controls"). Tokens are AND-combined. | |
| offset | No | Pagination offset. | |
| billType | No | Restrict to a bill type (hr, s, hjres, sjres, hconres, sconres, hres, sres). | |
| congress | No | Restrict to a single congress (e.g. 119). Omit to search the whole mirrored window. | |
| originChamber | No | Restrict to the originating chamber. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Result rows. Per-tool item shape is rendered in the markdown body. | |
| error | No | Present when the call failed. Absent on success. | |
| notice | No | Guidance when results are empty, a page is past the end, or a caveat applies. | |
| pagination | No | Pagination metadata: total count and next offset. | |
| totalCount | No | Total results across all pages. | |
| effectiveQuery | No | The browse scope and applied filters. |