F

U.S. Treasury Fiscal Data API

@Fiscaldata

OpenAPI for the Fiscal Data platform by the U.S. Department of the Treasury

📊 U.S. Treasury Fiscal Data MCP

The U.S. Treasury Fiscal Data API is one of the richest sources of open government financial data—covering national debt, spending, revenue, interest rates, and more. Now, thanks to XPack, this API is available as an MCP service so AI agents can query it directly in conversation. No authentication, no keys—just open, free data.

Key Features

  • Open Access: No tokens or registration needed.
  • Multiple Datasets: Debt, spending, revenue, interest rates, daily cash balance, savings bonds, and more.
  • Flexible Querying: Supports field selection, filters, sorting, pagination, and aggregations.
  • Multiple Formats: JSON (default), CSV, or XML.
  • Free License: Open for both commercial and non-commercial use.

Example Endpoints

  • 💱 Rates of Exchange:
    /v1/accounting/od/rates_of_exchange
    → Exchange rates for global currencies, by record date.

  • 💵 Debt to the Penny:
    /v2/accounting/od/debt_to_penny
    → Track total U.S. public debt outstanding.

  • 🏦 Daily Treasury Statement (Cash Balance):
    /v1/accounting/dts/operating_cash_balance
    → Treasury General Account balance and cash movements.

Use Cases

  • Financial journalism: embed live U.S. debt and revenue data into reports.
  • Investment dashboards: track interest rates and exchange rates in real-time.
  • Civic tech projects: provide transparency on federal spending and debt.
  • AI agents: answer natural queries like “What is the current U.S. debt to the penny?”

Powered by XPack

Normally, integrating such a broad API requires custom parsing and endpoint handling. With XPack, the Fiscal Data API is already MCP-ready, so any agent can call it natively.

And if you run your own API, XPack lets you:

  • 🚀 Convert OpenAPI → MCP in minutes
  • ⚡ Integrate with AI Agents instantly
  • 🌍 Join a growing ecosystem of AI-ready services

👉 Just like the U.S. Treasury’s Fiscal Data API became conversational with XPack, your own API could be the next to power global insights. Explore more at XPack.

Details

Monthly Tool Calls
312898
Remote
Yes
Published
8/20/2025
© 2025 XPack. All rights reserved.