Documentation navigation
Government Context MCP
gc_get_legislator
Get a legislator
One member of Congress: chamber, party, state/district, current committee assignments, terms served, and sponsored-bill count. Id is the bioguide id (e.g. S000033) from gc_search.
Input
| Parameter | Type | Description |
|---|---|---|
| idRequired | string | Bioguide id (from gc_search). |
Annotations
{
"readOnlyHint": true,
"idempotentHint": true,
"openWorldHint": false
}Examples
One member of Congress
Profile, committee assignments, and sponsorship stats by bioguide id.
{
"id": "s000033"
}{
"type": "legislator",
"id": "S000033",
"name": "Bernie Sanders",
"sections": {
"profile": {
"chamber": "senate",
"party": "Independent",
"state": "VT",
"district": null,
"current": true,
"terms_served": 0
},
"committees": [
{
"system_code": "hsju00",
"name": "Judiciary Committee",
"role": "chair",
"congress": 119
}
],
"sponsorship": {
"sponsored_bills": 1,
"find_bills_via": "gc_search (query: \"Bernie Sanders\", types: [\"bill\"])"
},
"voting_record_via": "gc_list_activity (scope: {type: \"legislator\", id: \"S000033\"}, event_types: [\"legislator.voted\"]) — the complete roll-call record",
"activity_via": "gc_list_activity (scope: {type: \"legislator\", id: \"S000033\"})"
},
"followable": true,
"source": "congress.gov",
"links": {
"governmentcontext": "https://governmentcontext.com/people/bernie-sanders",
"source": "https://bioguide.congress.gov/search/bio/S000033"
}
}