MCP server exposing 8 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 used for government currency conversions. Pass a country name for one country's rate; omit it for the most recent rates across all countries.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.treasury_outlays — US federal outlays by budget function (Net Interest, National Defense, Social Security, Medicare, Health, ...) plus total net outlays, total receipts and the deficit, from the U.S. Treasury Monthly Treasury Statement. Every row carries current-month, fiscal-year-to-date and prior-year-to-date dollars, the statement date it came from, and its basis (net outlays, nominal dollars, fiscal year Oct-Sep). Use for "net interest outlays FY2026", "federal spending on defense through August", "total outlays and deficit". Covers fiscal years 2015 onward; earlier years or statements not yet released return found:false with the reason, never an empty list. Omit fiscal_year/month for the latest statement.treasury_auction_results — US Treasury auction results: high yield/rate, bid-to-cover ratio, and offering/accepted amounts for recently settled bills, notes, bonds, TIPS, and floating-rate notes (FRNs), with CUSIP, from the Treasury Fiscal Data auctions dataset. A reopening (e.g. a "9-Year 10-Month" auction reopening an original 10-year note) is matched by its ORIGINAL nominal term, so term:"10-Year" finds both new 10-year note auctions and reopenings of one. Only settled auctions (with a published rate) are returned; upcoming announced-but-unsettled auctions are excluded.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