treasury_federal_net_cost
Pack: treasury-fiscal · Endpoint: https://gateway.pipeworx.io/treasury-fiscal/mcp
US federal government net cost / spending by agency (gross cost, earned revenue, net cost) from the Treasury statement_net_cost dataset. Returns recent records; optionally filter by fiscal_year.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
fiscal_year | string | no | Four-digit fiscal year to filter by (e.g., “2024”). Omit for most recent. |
limit | number | no | Number of records to return (default 20) |
Example call
curl -X POST https://gateway.pipeworx.io/treasury-fiscal/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"treasury_federal_net_cost","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"treasury-fiscal": {
"url": "https://gateway.pipeworx.io/treasury-fiscal/mcp"
}
}
}
See Getting Started for client-specific install steps.