congress_amendment_counts
Pack: congress · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/congress_amendment_counts for the schema, then POST the same URL with its arguments for the data.
ANSWERS “which bills drew the most Senate amendments” / “most amended bills in the 119th Congress” / “how many floor amendments did complete:false means the table is still filling and counts are lower bounds. Errors with stored_copy_unavailable while the table for that Congress and chamber is not loaded. Returns rank, bill, title, amendments.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
congress | number | no | Congress number (default 119). |
chamber | string | no | Which chamber’s amendments to count (default senate). |
limit | number | no | Bills to return (default 10, max 100). |
Example call
Arguments
{
"congress": 119,
"chamber": "senate",
"limit": 10
}
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":"congress_amendment_counts","arguments":{"congress":119,"chamber":"senate","limit":10}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('congress_amendment_counts', {
"congress": 119,
"chamber": "senate",
"limit": 10
});
Response shape
| Field | Type | Description |
|---|---|---|
source | string | |
data_as_of | string | |
congress | number | |
chamber | string | |
coverage | object | |
bills_with_amendments | number | |
amendments_without_a_bill | number | |
count | number | |
ranking | array |
Full JSON Schema
{
"type": "object",
"properties": {
"source": {
"type": "string"
},
"data_as_of": {
"type": "string"
},
"congress": {
"type": "number"
},
"chamber": {
"type": "string"
},
"coverage": {
"type": "object",
"properties": {
"amendments_loaded": {
"type": "number"
},
"amendments_listed": {
"type": "number"
},
"complete": {
"type": "boolean"
},
"note": {
"type": "string"
}
},
"additionalProperties": true
},
"bills_with_amendments": {
"type": "number"
},
"amendments_without_a_bill": {
"type": "number"
},
"count": {
"type": "number"
},
"ranking": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rank": {
"type": "number"
},
"bill": {
"type": "string"
},
"bill_type": {
"type": "string"
},
"bill_number": {
"type": "string"
},
"title": {
"type": [
"string",
"null"
]
},
"amendments": {
"type": "number"
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the congress pack
{
"mcpServers": {
"congress": {
"url": "https://gateway.pipeworx.io/congress/mcp"
}
}
}
See Getting Started for client-specific install steps.