treasury_cash_balance

Pack: treasury-fiscal · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/treasury_cash_balance for the schema, then POST the same URL with its arguments for the data.

US Treasury General Account (TGA) cash balance from the U.S. Treasury Daily Treasury Statement, operating cash balance table: opening and closing balance for each business day, with the day’s total deposits and withdrawals, in millions of US dollars.

Parameters

NameTypeRequiredDescription
datestringnoOne business date, YYYY-MM-DD, e.g. “2025-11-24”.
start_datestringnoRange start, YYYY-MM-DD (use with end_date; end_date defaults to the latest statement).
end_datestringnoRange end, YYYY-MM-DD.

Example call

Arguments

{
  "date": "2025-11-24"
}

curl

curl -X POST https://gateway.pipeworx.io/treasury-fiscal/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"treasury_cash_balance","arguments":{"date":"2025-11-24"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('treasury_cash_balance', {
  "date": "2025-11-24"
});

More examples

{
  "start_date": "2025-11-20",
  "end_date": "2025-11-26"
}

Response shape

Always returns: found

FieldTypeDescription
foundbooleanfalse when no statement exists for the request; see reason
reasonstring
requestedstring
previous_statement_datestring | null
next_statement_datestring | null
unitstring
countnumber
data_as_ofstring
statementsarray
sourcestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean",
      "description": "false when no statement exists for the request; see reason"
    },
    "reason": {
      "type": "string"
    },
    "requested": {
      "type": "string"
    },
    "previous_statement_date": {
      "type": [
        "string",
        "null"
      ]
    },
    "next_statement_date": {
      "type": [
        "string",
        "null"
      ]
    },
    "unit": {
      "type": "string"
    },
    "count": {
      "type": "number"
    },
    "data_as_of": {
      "type": "string"
    },
    "statements": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string"
          },
          "opening_balance": {
            "type": [
              "number",
              "null"
            ]
          },
          "closing_balance": {
            "type": [
              "number",
              "null"
            ]
          },
          "total_deposits": {
            "type": [
              "number",
              "null"
            ]
          },
          "total_withdrawals": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "date"
        ]
      }
    },
    "source": {
      "type": "string"
    }
  },
  "required": [
    "found"
  ]
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the treasury-fiscal pack
{
  "mcpServers": {
    "treasury-fiscal": {
      "url": "https://gateway.pipeworx.io/treasury-fiscal/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 29, 2026