[Integrations](https://spiral.ai/integrations) › [Perplexity](https://spiral.ai/integrations/perplexity) › [Treasury monthly budget summary](https://spiral.ai/integrations/perplexity/treasury-monthly-budget-summary)

# How to Use Treasury monthly budget summary in Perplexity

Returns U.S. federal receipts, outlays, and deficit or surplus by month, plus fiscal year totals to date. Use it to compare budget results across fiscal years or separate changes in revenue from changes in spending.

|  |  |
| --- | --- |
| Model | Treasury monthly budget summary |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.001746 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Treasury monthly budget summary in Perplexity

- Use Treasury monthly budget summary to compare U.S. federal receipts, outlays, and deficit or surplus in February 2025 with February 2024. Show the amounts in billions.
- Use Treasury monthly budget summary to show U.S. federal receipts, outlays, and the budget balance for each month of fiscal year 2025 through August. Put the year-to-date total beneath the table.
- Use Treasury monthly budget summary to compare April 2024 with April 2025. Calculate the change in receipts and spending and explain their contributions to the change in the budget balance.
- Use Treasury monthly budget summary to report U.S. federal results through February 2025. Clearly separate February's amounts from fiscal year totals to date.
- Use Treasury monthly budget summary to compare July 2025 and July 2024. Give me a three-sentence budget brief with the receipts, outlays, and deficit or surplus.

## How to set up Treasury monthly budget summary in Perplexity

Pick the way that suits you. Each takes about two minutes.

### Use the Perplexity connector

1. **Add a remote connector**: In Perplexity, open Plugins in the sidebar (or Customize › Connectors if you don't see Plugins yet). Choose Add custom › Add MCP connector, then Remote. Name it Spiral and paste this MCP server URL:

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Select the Spiral card on the Plugins page to start sign-in. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Perplexity this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Treasury monthly budget summary**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "treasury-fiscal-data/monthly-statement/receipts-and-outlays",
    "input": {
      "sort": "<sort>"
    }
  }'
```

Then paste one of the prompts above: Perplexity finds Treasury monthly budget summary on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/perplexity

## Treasury monthly budget summary tools and prices

- [Treasury Fiscal Data · Receipts, outlays and deficit](https://spiral.ai/tools/alexandria/treasury-fiscal-data/monthly-statement/receipts-and-outlays) (Alexandria): $0.001746 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| sort |  | — | Sort column, prefixed with `-` for descending: `-record_date` puts the latest first. Comma-separated for several. Unsorted results come back oldest first. |
| fields |  | — | Columns to return, comma-separated, in place of all of them. Rows come back distinct over the chosen columns, so `fields=security_type` on auction results answers three rows, not eleven thousand; keep every column that identifies a row in the list before counting or summing (for buybacks, `operation_date` and `operation_start_time_est`, plus `cusip_nbr` on securities). A column not in the declared list answers HTTP 400 naming it. |
| filter |  | — | Filter, as `column:operator:value`, several joined by commas: `record_date:gte:2026-01-01`, `security_type:eq:Bill,auction_date:gte:2026-08-01`. Operators: eq, lt, lte, gt, gte, and in with a parenthesised list `security_type:in:(Bill,Note)`. An unknown column answers HTTP 400. |
| page[size] | … to 10000 | 100 | Rows per page, 1 to 10,000. The default of 100 is fine for a summary series and far too small for a full auction history. |
| page[number] |  | 1 | Page number, 1-indexed. `meta.total-pages` in the response says how many there are. |

## What can you do with Treasury monthly budget summary in Perplexity?

Get a budget comparison that shows whether federal revenue or spending changed more. A chat app can turn Treasury's monthly and year-to-date figures into a table and a short explanation.

### Write a monthly budget brief

Summarize the latest month's receipts, outlays, and deficit or surplus, then compare each amount with the same month in the preceding fiscal year.

### Compare fiscal year progress

Compare receipts, spending, and the budget balance through the same reporting month in two fiscal years.

### Explain a change in the deficit

Calculate how changes in total receipts and total outlays contributed to the difference between two monthly budget balances.

### Chart monthly budget patterns

Plot receipts, outlays, and the budget balance across a fiscal year, keeping the year-to-date total outside the monthly series.

### Check a published budget claim

Retrieve the relevant month and fiscal year to check a claim about federal revenue, spending, or the deficit against Treasury's summary.

### Refresh a federal finance dashboard

Update a dashboard after each monthly statement with the latest monthly results and fiscal year totals to date.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Perplexity guides](https://spiral.ai/integrations/perplexity)

## Treasury monthly budget summary in other agents

- [Amp](https://spiral.ai/integrations/amp/treasury-monthly-budget-summary)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/treasury-monthly-budget-summary)
- [Claude](https://spiral.ai/integrations/claude-desktop/treasury-monthly-budget-summary)
- [Claude Code](https://spiral.ai/integrations/claude-code/treasury-monthly-budget-summary)
- [Cline](https://spiral.ai/integrations/cline/treasury-monthly-budget-summary)
- [Codex](https://spiral.ai/integrations/codex/treasury-monthly-budget-summary)
- [Cursor](https://spiral.ai/integrations/cursor/treasury-monthly-budget-summary)
- [Devin](https://spiral.ai/integrations/devin/treasury-monthly-budget-summary)
- [dots](https://spiral.ai/integrations/dots/treasury-monthly-budget-summary)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/treasury-monthly-budget-summary)
- [Gemini](https://spiral.ai/integrations/gemini/treasury-monthly-budget-summary)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/treasury-monthly-budget-summary)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/treasury-monthly-budget-summary)
- [goose](https://spiral.ai/integrations/goose/treasury-monthly-budget-summary)
- [Grok](https://spiral.ai/integrations/grok/treasury-monthly-budget-summary)
- [Grok Build](https://spiral.ai/integrations/grok-build/treasury-monthly-budget-summary)
- [Hermes](https://spiral.ai/integrations/hermes/treasury-monthly-budget-summary)
- [Instinct](https://spiral.ai/integrations/instinct/treasury-monthly-budget-summary)
- [Manus](https://spiral.ai/integrations/manus/treasury-monthly-budget-summary)
- [Muse](https://spiral.ai/integrations/muse/treasury-monthly-budget-summary)
- [Muse Code](https://spiral.ai/integrations/muse-code/treasury-monthly-budget-summary)
- [n8n](https://spiral.ai/integrations/n8n/treasury-monthly-budget-summary)
- [Notion](https://spiral.ai/integrations/notion/treasury-monthly-budget-summary)
- [OpenClaw](https://spiral.ai/integrations/openclaw/treasury-monthly-budget-summary)
- [opencode](https://spiral.ai/integrations/opencode/treasury-monthly-budget-summary)
- [Raycast](https://spiral.ai/integrations/raycast/treasury-monthly-budget-summary)
- [VS Code](https://spiral.ai/integrations/vscode/treasury-monthly-budget-summary)
- [Windsurf](https://spiral.ai/integrations/windsurf/treasury-monthly-budget-summary)
- [Zapier](https://spiral.ai/integrations/zapier/treasury-monthly-budget-summary)

## More Perplexity guides

- [Treasury buyback security details](https://spiral.ai/integrations/perplexity/treasury-buyback-security-details)
- [Treasury reporting exchange rates](https://spiral.ai/integrations/perplexity/treasury-reporting-exchange-rates)
- [Treasury buyback operation results](https://spiral.ai/integrations/perplexity/treasury-buyback-operation-results)
- [Twelve Data historical prices](https://spiral.ai/integrations/perplexity/twelve-data-historical-prices)
- [Treasury Fiscal Data table records](https://spiral.ai/integrations/perplexity/treasury-fiscal-data-table-records)
- [Twelve Data latest price](https://spiral.ai/integrations/perplexity/twelve-data-latest-price)

## Questions about Treasury monthly budget summary in Perplexity

**Can Perplexity use Treasury monthly budget summary?**

Yes. Add Spiral to Perplexity as an MCP server, and Perplexity can find and run Treasury monthly budget summary like any built-in tool.

**How much does Treasury monthly budget summary cost in Perplexity?**

$0.001746 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Perplexity plan is separate.

**Do I need an Alexandria account to use Treasury monthly budget summary in Perplexity?**

No. Spiral runs Treasury monthly budget summary on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Treasury monthly budget summary in Perplexity?**

About two minutes: add a remote connector, then sign in to Spiral and approve.

**Does Perplexity wait while Treasury monthly budget summary runs?**

Treasury monthly budget summary runs in the background. Perplexity starts the run, checks on it and gives you the json when it's ready.

**What does the Treasury monthly budget summary cover?**

It covers U.S. federal receipts, outlays, and deficit or surplus. The summary presents monthly results for the reporting fiscal year and the preceding fiscal year, with year-to-date rows.

**How soon after month-end are results published?**

Treasury normally releases the Monthly Treasury Statement on the eighth workday of the following month. That is a publication schedule, not a daily update of budget results.

**What units do the amounts use?**

Amounts are in millions of U.S. dollars. Multiply by one million to express them in dollars, or divide by 1,000 to express them in billions.

**Why can the same month appear more than once?**

The summary contains two fiscal years, so a month name can appear under each year. Match the month to its fiscal year before making a comparison.

**Can I sum every returned row?**

Treasury warns that MTS includes totals and subtotals that should be excluded when aggregating. Keep monthly rows separate from year-to-date rows when calculating a period total.

