get_bill
Pack: congress · Endpoint: https://gateway.pipeworx.io/congress/mcp
Get full details for a congressional bill by its ID. Returns text, sponsors, cosponsors, committee assignments, actions, and vote history.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | number | yes | GovTrack bill ID (numeric) |
Example call
Arguments
{
"id": 3456789
}
curl
curl -X POST https://gateway.pipeworx.io/congress/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_bill","arguments":{"id":3456789}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_bill', {
"id": 3456789
});
Response shape
Always returns: id
| Field | Type | Description |
|---|---|---|
id | number | Bill ID |
bill_type | string | null | Bill type code |
bill_type_label | string | null | Bill type label |
number | number | null | Bill number |
congress | number | null | Congress number |
title | string | null | Full bill title |
title_without_number | string | null | Bill title without number prefix |
status | string | null | Current status code |
status_label | string | null | Current status label |
status_date | string | null | Date of current status |
introduced_date | string | null | Bill introduction date |
sponsor_name | string | null | Primary sponsor name |
link | string | null | GovTrack bill URL |
Full JSON Schema
{
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Bill ID"
},
"bill_type": {
"type": [
"string",
"null"
],
"description": "Bill type code"
},
"bill_type_label": {
"type": [
"string",
"null"
],
"description": "Bill type label"
},
"number": {
"type": [
"number",
"null"
],
"description": "Bill number"
},
"congress": {
"type": [
"number",
"null"
],
"description": "Congress number"
},
"title": {
"type": [
"string",
"null"
],
"description": "Full bill title"
},
"title_without_number": {
"type": [
"string",
"null"
],
"description": "Bill title without number prefix"
},
"status": {
"type": [
"string",
"null"
],
"description": "Current status code"
},
"status_label": {
"type": [
"string",
"null"
],
"description": "Current status label"
},
"status_date": {
"type": [
"string",
"null"
],
"description": "Date of current status"
},
"introduced_date": {
"type": [
"string",
"null"
],
"description": "Bill introduction date"
},
"sponsor_name": {
"type": [
"string",
"null"
],
"description": "Primary sponsor name"
},
"link": {
"type": [
"string",
"null"
],
"description": "GovTrack bill URL"
}
},
"required": [
"id"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"congress": {
"url": "https://gateway.pipeworx.io/congress/mcp"
}
}
}
See Getting Started for client-specific install steps.