Congressional Documents
v0.2.1Congressional Documents — full-text search and retrieval over the official record of Congress…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_congressional_documents
Search the full text of official U.S. congressional documents — hearing transcripts, committee reports, committee prints, House/Senate documents, and the Congressional Record. Use for "what was said in the congressional hearing about X", "the committee report on Y", "congressional testimony on Z", "what did Congress publish about ...". Returns matching documents with their official citation, date, congress number and a govinfo.gov link; pass the returned ids to get_congressional_document_text to read the actual wording. Searches PUBLISHED documents only — a hearing transcript appears month…
| Parameter | Type | Description |
|---|---|---|
query * | string | Free-text search over document full text, e.g. "opioid settlement" or "FTX collapse" |
_apiKey | string | data.gov API key (free at api.data.gov/signup) |
congress | number | Congress number, e.g. 118 for 2023-2024 |
date_from | string | Earliest publication date, YYYY-MM-DD |
date_to | string | Latest publication date, YYYY-MM-DD |
doc_type | string | Which record to search: "hearings" (transcripts), "reports" (committee reports), "prints", "documents" (House/Senate documents), "record" (Congressional Record), or "all" (default). |
limit | number | Results to return (default 10, max 50) |
get_congressional_document_text
Read the actual text of a congressional document — the full transcript, report or Congressional Record entry — so an answer can quote the source instead of paraphrasing from memory. Pass the package_id (and granule_id where the search returned one) from search_congressional_documents. Returns the document text, its official citation, the page range where the source prints one, and the govinfo.gov URL. Hearing transcripts run to hundreds of pages, so text is truncated by default — raise max_chars or use the offset to page through it.
| Parameter | Type | Description |
|---|---|---|
package_id * | string | GovInfo package id, e.g. "CHRG-116shrg42133" or "CREC-2025-09-10" |
_apiKey | string | data.gov API key (free at api.data.gov/signup) |
granule_id | string | Optional granule id for one item within a package, e.g. "CREC-2025-09-10-pt1-PgS6557-4" |
max_chars | number | Characters of text to return (default 20000, max 200000) |
offset | number | Character offset to start from, for paging long transcripts |
list_congressional_document_types
List the kinds of congressional documents that can be searched (hearings, committee reports, committee prints, House/Senate documents, Congressional Record), what each contains, and what this source does and does not cover. Call this when unsure which doc_type answers a question.