Treasury Fiscal Data API — Treasury Operations

Treasury Fiscal Data API — Treasury Operations. 2 operations. Lead operation: Daily Treasury Statement - Operating Cash Balance. Self-contained Naftiko capability covering one Department Of The Treasury business surface.

Run with Naftiko Department Of The TreasuryTreasury Operations

What You Can Do

GET
Getoperatingcashbalance — Daily Treasury Statement - Operating Cash Balance
/v1/v1/accounting/dts/operating-cash-balance
GET
Getmonthlytreasurystatementtable1 — Monthly Treasury Statement - Summary of Receipts, Outlays, and Surplus or Deficit
/v1/v1/accounting/mts/mts-table-1

MCP Tools

daily-treasury-statement-operating-cash

Daily Treasury Statement - Operating Cash Balance

read-only idempotent
monthly-treasury-statement-summary-receipts

Monthly Treasury Statement - Summary of Receipts, Outlays, and Surplus or Deficit

read-only idempotent

Capability Spec

fiscal-data-treasury-operations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Treasury Fiscal Data API — Treasury Operations
  description: 'Treasury Fiscal Data API — Treasury Operations. 2 operations. Lead operation: Daily Treasury Statement - Operating
    Cash Balance. Self-contained Naftiko capability covering one Department Of The Treasury business surface.'
  tags:
  - Department Of The Treasury
  - Treasury Operations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DEPARTMENT_OF_THE_TREASURY_API_KEY: DEPARTMENT_OF_THE_TREASURY_API_KEY
capability:
  consumes:
  - type: http
    namespace: fiscal-data-treasury-operations
    baseUri: https://api.fiscaldata.treasury.gov/services/api/fiscal_service
    description: Treasury Fiscal Data API — Treasury Operations business capability. Self-contained, no shared references.
    resources:
    - name: v1-accounting-dts-operating_cash_balance
      path: /v1/accounting/dts/operating_cash_balance
      operations:
      - name: getoperatingcashbalance
        method: GET
        description: Daily Treasury Statement - Operating Cash Balance
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-accounting-mts-mts_table_1
      path: /v1/accounting/mts/mts_table_1
      operations:
      - name: getmonthlytreasurystatementtable1
        method: GET
        description: Monthly Treasury Statement - Summary of Receipts, Outlays, and Surplus or Deficit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: fiscal-data-treasury-operations-rest
    port: 8080
    description: REST adapter for Treasury Fiscal Data API — Treasury Operations. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v1/accounting/dts/operating-cash-balance
      name: v1-accounting-dts-operating-cash-balance
      description: REST surface for v1-accounting-dts-operating_cash_balance.
      operations:
      - method: GET
        name: getoperatingcashbalance
        description: Daily Treasury Statement - Operating Cash Balance
        call: fiscal-data-treasury-operations.getoperatingcashbalance
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/accounting/mts/mts-table-1
      name: v1-accounting-mts-mts-table-1
      description: REST surface for v1-accounting-mts-mts_table_1.
      operations:
      - method: GET
        name: getmonthlytreasurystatementtable1
        description: Monthly Treasury Statement - Summary of Receipts, Outlays, and Surplus or Deficit
        call: fiscal-data-treasury-operations.getmonthlytreasurystatementtable1
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: fiscal-data-treasury-operations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Treasury Fiscal Data API — Treasury Operations. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: daily-treasury-statement-operating-cash
      description: Daily Treasury Statement - Operating Cash Balance
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: fiscal-data-treasury-operations.getoperatingcashbalance
      outputParameters:
      - type: object
        mapping: $.
    - name: monthly-treasury-statement-summary-receipts
      description: Monthly Treasury Statement - Summary of Receipts, Outlays, and Surplus or Deficit
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: fiscal-data-treasury-operations.getmonthlytreasurystatementtable1
      outputParameters:
      - type: object
        mapping: $.