MCP server exposing 3 tools for treasury.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/treasury/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
get_national_debt — Get the current US national debt (debt to the penny). Returns the most recent total public debt outstanding figure from the US Treasury.get_treasury_rates — Get US Treasury bond yields and note interest rates (the yield curve) from 1-month through 30-year maturities — yields on government debt securities used for tracking macro liquidity and risk-free rates. Returns the 10 most recent yield records, optionally filtered by date (YYYY-MM-DD).get_federal_spending — Get federal net cost / spending data. Returns the 20 most recent records, optionally filtered by a specific fiscal year (e.g., "2023").Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/treasury/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io