MCP server exposing 6 tools for treasury-fiscal.
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-fiscal/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
treasury_customs_revenue — Track monthly US customs duty revenue. Returns monthly collection amounts to analyze tariff impact trends.treasury_receipts — Get US government receipts by source: individual income tax, corporate tax, excise taxes, customs duties, and more.treasury_debt — Check current US national debt with historical data points. Returns total public debt outstanding over time.treasury_exchange_rates — Get official US Treasury exchange rates for any currency (e.g., 'EUR', 'GBP', 'JPY'). Returns rates used for government conversions.treasury_avg_interest_rates — Average interest rates on US Treasury securities by security type (bills, notes, bonds, TIPS, total marketable / non-marketable) from the Treasury Fiscal Data avg_interest_rates dataset. Returns recent monthly records.treasury_federal_net_cost — 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.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/treasury-fiscal/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io