Documentation navigation
Government Context MCP
gc_list_bill_sections
List a bill's sections
The addressable sections of a bill's text — id, heading, its place in the title/division hierarchy, and size. Published only when every section in the official XML matched its rendered heading, so an id always addresses exactly that section; documents without enumerated sections return an empty list. Feed the ids to gc_get_bill_text.
Input
| Parameter | Type | Description |
|---|---|---|
| idRequired | string | Bill key "congress/type/number", e.g. "119/hr/3076". |
| version | string | Text version code. Defaults to the newest mirrored print. |
| cursor | string | Next page of sections. |
| limit | integer | Sections per page (default 25). |
Annotations
{
"readOnlyHint": true,
"openWorldHint": false
}Examples
A bill's addressable sections
Section ids, headings, and hierarchy — published only when every section in the source XML matched its rendered heading.
{
"id": "119/hr/3076",
"limit": 2
}{
"type": "bill_sections",
"id": "119/hr/3076",
"version": {
"code": "ih",
"name": "Introduced in House",
"date": "2026-03-01"
},
"items": [
{
"id": "sec-1",
"label": "SEC. 1. Short title",
"characters": 77
},
{
"id": "sec-2",
"label": "SEC. 2. Definitions",
"characters": 77
}
],
"total": 3,
"next_cursor": "eyJmIjoiODFkZjEwMDkiLCJwIjp7InN0YXJ0IjoyfX0",
"text_via": "gc_get_bill_text (sections: [\"<id>\"])",
"source": "congress.gov",
"links": {
"governmentcontext": "https://governmentcontext.com/bills/119/hr/3076"
}
}