treasury_outlays

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_outlays for the schema, then POST the same URL with its arguments for the data.

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.

Parameters

NameTypeRequiredDescription
fiscal_yearnumbernoFederal fiscal year (Oct-Sep), e.g. 2026 = Oct 2025 through Sep 2026. With no month, returns the fiscal-year-end (September) statement, or the latest statement released in that year if it is not over.
monthstringnoCalendar month of the statement: 1-12 or a name (“September”). With fiscal_year picks that month of that fiscal year; alone picks the most recent such month published.
functionstringnoBudget function to return, e.g. “Net Interest”, “National Defense”, “Medicare”. Case-insensitive substring match. Omit for all functions.

Example call

Arguments

{
  "fiscal_year": 2026,
  "function": "Net Interest"
}

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_outlays","arguments":{"fiscal_year":2026,"function":"Net Interest"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('treasury_outlays', {
  "fiscal_year": 2026,
  "function": "Net Interest"
});

More examples

{
  "fiscal_year": 2026,
  "month": "March",
  "function": "Net Interest"
}

Response shape

FieldTypeDescription
foundbooleanfalse when the period is not covered or not yet released; see reason
reasonstring
incompleteboolean
requestedstring
requested_functionstring
fiscal_yearnumber
latest_statement_availablestring | null
available_functionsarray
sourcestring
statement_datestring
periodstring
fiscal_year_completeboolean
notestring
basisstring
data_as_ofstring
as_ofstring
functionsarray
totalsobject
reconciliationobject
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean",
      "description": "false when the period is not covered or not yet released; see reason"
    },
    "reason": {
      "type": "string"
    },
    "incomplete": {
      "type": "boolean"
    },
    "requested": {
      "type": "string"
    },
    "requested_function": {
      "type": "string"
    },
    "fiscal_year": {
      "type": "number"
    },
    "latest_statement_available": {
      "type": [
        "string",
        "null"
      ]
    },
    "available_functions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "source": {
      "type": "string"
    },
    "statement_date": {
      "type": "string"
    },
    "period": {
      "type": "string"
    },
    "fiscal_year_complete": {
      "type": "boolean"
    },
    "note": {
      "type": "string"
    },
    "basis": {
      "type": "string"
    },
    "data_as_of": {
      "type": "string"
    },
    "as_of": {
      "type": "string"
    },
    "functions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "function": {
            "type": "string"
          },
          "month_usd": {
            "type": [
              "number",
              "null"
            ]
          },
          "fytd_usd": {
            "type": [
              "number",
              "null"
            ]
          },
          "prior_fytd_usd": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "additionalProperties": true
      }
    },
    "totals": {
      "type": "object",
      "properties": {
        "net_outlays": {
          "type": "object",
          "properties": {
            "month_usd": {
              "type": [
                "number",
                "null"
              ]
            },
            "fytd_usd": {
              "type": [
                "number",
                "null"
              ]
            },
            "prior_fytd_usd": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "additionalProperties": true
        },
        "receipts": {
          "type": "object",
          "properties": {
            "month_usd": {
              "type": [
                "number",
                "null"
              ]
            },
            "fytd_usd": {
              "type": [
                "number",
                "null"
              ]
            },
            "prior_fytd_usd": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "additionalProperties": true
        },
        "deficit": {
          "type": "object",
          "properties": {
            "month_usd": {
              "type": [
                "number",
                "null"
              ]
            },
            "fytd_usd": {
              "type": [
                "number",
                "null"
              ]
            },
            "prior_fytd_usd": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "additionalProperties": true
        }
      },
      "additionalProperties": true
    },
    "reconciliation": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "additionalProperties": true
}

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 October 23, 2026