mcp-treasury-fiscal
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-treasury-fiscalWhat is the current national debt?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
US Treasury Fiscal Data
The U.S. Department of Treasury's Fiscal Data API. Daily Treasury cash, public debt outstanding, federal receipts and outlays, customs revenue, exchange rates, and savings bonds redemption data. The actual numbers behind "the federal deficit" and "the national debt." Free, no auth.
Part of Pipeworx — an MCP gateway connecting AI agents to 1394+ live data sources.
Why this matters for AI agents
For macro questions about the US fiscal stance — debt level, daily cash position, monthly receipts, customs revenue — Treasury Fiscal Data is the authoritative live source. Where FRED publishes monthly aggregates, Treasury publishes the underlying daily ledger.
Common flows:
National debt. "What's the public debt right now?" →
treasury_debt→ outstanding total broken into intragovernmental vs. public-held.Customs revenue. "How much tariff revenue did Treasury collect in 2024?" →
treasury_customs_revenue({year: 2024}).Receipts / outlays. Daily Treasury cash position (deposits vs. withdrawals) by source.
Exchange rates. Treasury reporting rate for foreign-currency transactions (used by federal contractors and grant recipients).
Used by the trade_bilateral_analysis compound for tariff context.
Related MCP server: Tesouro Direto MCP Server
Auth
None. Treasury Fiscal Data is fully public, free, no key.
Datasets worth knowing
Dataset | Cadence | Use |
Daily Treasury Statement | Daily | Cash position, deposits, withdrawals |
Monthly Treasury Statement | Monthly | Receipts, outlays, deficit |
Public Debt Outstanding | Daily | Total debt, intragovernmental vs. public-held |
Customs Revenue | Monthly | Tariff collections |
Treasury Reporting Rates of Exchange | Quarterly | Official rates for federal accounting |
Savings Bond Securities | Monthly | Issuance, redemption |
Update cadence
Daily Treasury Statement: ~3 PM Eastern, T+1 (next business day)
Monthly statements: ~mid-month, for prior month
Public debt: daily
Exchange rates: quarterly (recalibrated; not real-time market rates — use FX/forex packs for live rates)
Pipeworx caches with TTLs matching these.
Common pitfalls
Public debt vs. gross debt. "Public-held debt" excludes intragovernmental holdings (Social Security trust fund, etc.). Headlines usually quote the gross debt; analysts care about public-held. Both are in the data.
Customs revenue ≠ tariffs only. Includes anti-dumping, countervailing duties, fees. For pure tariff revenue, filter by item code in the call response.
Treasury exchange rates aren't market rates. They're quarterly-recalibrated rates used for federal accounting. For real-time FX, use the dedicated
exchange-rateorfrankfurterpacks.Daily cash position is not GDP. The Treasury's cash position is a stock measure; GDP is a flow. Don't confuse.
Fiscal year vs. calendar year. Federal fiscal year is October 1 – September 30. Receipts and outlays default to fiscal-year reporting. Filter explicitly if you need calendar-year numbers.
Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"treasury-fiscal": {
"url": "https://gateway.pipeworx.io/treasury-fiscal/mcp"
}
}
}Or connect to the full Pipeworx gateway for access to all 1394+ data sources:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English:
ask_pipeworx({ question: "your question about Treasury Fiscal data" })The gateway picks the right tool and fills the arguments automatically.
More
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceConnects to the US Treasury's Fiscal Data API, enabling users to fetch specific treasury statements, access historical data, and generate formatted reports.1820
- Alicense-qualityDmaintenanceEnables natural language access to Brazilian treasury bond data through the Tesouro Direto API. Query market data, bond details, and search bonds by type, maturity, and other criteria.295AGPL 3.0
- AlicenseAqualityDmaintenanceEnables AI agents to access SEC EDGAR filings, US Treasury rates, BLS labor statistics, and economic indicators without API keys.610MIT
- Alicense-qualityCmaintenanceEnables querying U.S. Treasury fiscal data including debt, interest rates, auctions, and more via natural language, with no API key required.MIT
Related MCP Connectors
Query US Treasury national debt, interest rates, exchange rates, and fiscal datasets via MCP.
Access US federal award, recipient, agency, and spending analytics data from USAspending.gov.
Treasury MCP — US Treasury Fiscal Data public API (free, no auth)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pipeworx-io/mcp-treasury-fiscal'
If you have feedback or need assistance with the MCP directory API, please join our Discord server