get_recent_bills
Pack: congress · Endpoint: https://gateway.pipeworx.io/congress/mcp
List the most recent congressional bills — newest first by introduction date or by latest action. This tool takes NO subject or keyword: it returns whatever Congress touched most recently, so it can only answer OPEN-ENDED recency questions — “what bills were introduced this week”, “latest bills in Congress”, “what is Congress working on now”, “recent activity on bills”. PREFER OVER search_bills for exactly those (search_bills ranks by keyword relevance and surfaces older bills). If the question NAMES a bill, act, or subject — “status of the NDAA”, “the defense authorization bill”, “bills about crypto” — use search_bills instead, even when it asks for the CURRENT status: a named subject cannot be found in an unfiltered recency list, which is mostly routine post-office namings. Returns bill type, number, title, status, sponsor, and dates.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
by | string | no | Recency basis: “introduced” (default, newest introductions) or “activity” (most recent status change / latest action). |
congress | number | no | Congress number to filter by (e.g., 119 for 2025–2026). Omit for all. |
limit | number | no | Number of bills to return (default: 20, max: 100) |
Example call
Arguments
{
"by": "introduced"
}
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_recent_bills","arguments":{"by":"introduced"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_recent_bills', {
"by": "introduced"
});
More examples
{
"congress": 119,
"by": "activity",
"limit": 30
}
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.