Treasury Fiscal

live GovernmentData

Treasury Fiscal MCP — US Treasury Fiscal Data API

4 tools
0ms auth
free tier 50 calls/day

Tools

treasury_customs_revenue

Get monthly US customs duty revenue collections from the Treasury. Useful for tracking tariff revenue impact over time.

No parameters required.

Try it
treasury_receipts

Get total US government receipts broken down by source (individual income tax, corporate tax, excise taxes, customs duties, etc.).

No parameters required.

Try it
treasury_debt

Get the current US national debt (debt to the penny). Returns total public debt outstanding with historical data points.

No parameters required.

Try it
treasury_exchange_rates

Get Treasury exchange rates for a specific country. Shows the official rates used by the US government for currency conversion.

No parameters required.

Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/treasury-fiscal/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/treasury-fiscal/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"treasury_customs_revenue","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("treasury_customs_revenue", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("treasury fiscal mcp — us treasury fiscal data api");

Related compound tools

These combine Treasury Fiscal with other data sources in a single call:

Trade Intel MCP — Compound tools that chain Comtrade, Census, Treasury,

3 tools — trade_bilateral_analysis, trade_country_profile, trade_macro_dashboard