US Congress member legislative record
us_get_member_voting
TW-specificMIT
**關鍵字 / Keywords**: 美國國會 議員 提案 附署 立法紀錄 投票 member sponsored cosponsored voting record legislation bioguide congress
Scope: US Congress member's legislative record (sponsored +
cosponsored bills across all their sessions).
IMPORTANT: Congress.gov's API does NOT expose per-member roll-call
votes indexed by member. Roll-call XMLs at clerk.house.gov /
senate.gov are unindexed by member. This tool returns the closest
structured proxy: which bills the member introduced (sponsored) or
cosponsored — the signal most commonly meant by "voting record".
Endpoints:
GET https://api.congress.gov/v3/member/{bid}/sponsored-legislation
GET https://api.congress.gov/v3/member/{bid}/cosponsored-legislation
Args:
bioguide_id: member's bioguide id (e.g. `S001176` for Rep.
Steve Scalise) — get from `us_search_members`.
Format: one letter + 6 digits.
include_cosponsored: also pull cosponsored bills (second call).
limit: max rows per endpoint (sponsored + cosponsored counted
separately; hard cap 250 each).
Returns dict with `sponsored_bills[]`, `cosponsored_bills[]`, plus
`sponsored_total_available` / `cosponsored_total_available` from
Congress.gov pagination so agents know if there's more to page.
Each bill row carries `title`, `latest_action_*`, `policy_area`,
`original_url` to www.congress.gov. License: US Public Domain.Input schema
{
"properties": {
"bioguide_id": {
"title": "Bioguide Id",
"type": "string"
},
"include_cosponsored": {
"default": true,
"title": "Include Cosponsored",
"type": "boolean"
},
"limit": {
"default": 20,
"title": "Limit",
"type": "integer"
}
},
"required": [
"bioguide_id"
],
"title": "us_get_member_votingArguments",
"type": "object"
}How to call
Once your Twinkle Hub MCP client is configured, your agent will see us_get_member_voting. Just ask it to call — example:
# Ask Claude / any MCP client: 請用 us_get_member_voting 處理 "…"。 # It will call: us_get_member_voting(input="…")
Haven't set up a client yet?
Claude Desktop in 3 minutes — download the .mcpb and double-click, or see docs for other clients.
See user docs