Official US government fiscal data. Check the current national debt (down to the penny), browse Treasury average interest rates by security type, and analyze federal spending by category and fiscal year.
ToolDescriptionget_national_debtCurrent US national debt — total public debt outstandingget_treasury_ratesAverage interest rates on Treasury securities by type and dateget_federal_spendingFederal spending breakdown by budget function and fiscal year
bash
curl -s -X POST https://gateway.pipeworx.io/treasury/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_national_debt","arguments":{}}}'
Returns the total public debt outstanding with the record date.
json
{
"mcpServers": {
"pipeworx-treasury": {
"command": "npx",
"args": ["-y", "mcp-remote@latest", "https://gateway.pipeworx.io/treasury/mcp"]
}
}
}