How to Use Treasury buyback operation results in Claude Code
Returns Treasury buyback announcements and operation totals, including par amounts offered and accepted. Use it to compare whole operations before examining individual securities.
Prompts to try with Treasury buyback operation results in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use Treasury buyback operation results for May through December 2024 to add a monthly accepted-par chart to this project's reporting page.
Use Treasury buyback operation results for calendar year 2025 to build a report of offered par, accepted par, and the accepted-to-offered ratio for each completed operation.
Use Treasury buyback operation results to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Treasury buyback operation results and tell me what changed since last week.
Check Treasury buyback operation results and summarize what you find in three bullet points.
How to set up Treasury buyback operation results in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
This adds Spiral to the current project. Add --scope user to use it in every project.
claude mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.
Use the Spiral skill
- Send Claude Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Treasury buyback operation results
One request; the result comes back by polling or a webhook.
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/buybacks/operations", "input": { "sort": "<sort>" } }'
Then paste one of the prompts above: Claude Code finds Treasury buyback operation results on Spiral, shows the price and runs it.
Treasury buyback operation results providers and prices
Spiral runs Treasury buyback operation results through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Claude Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Page[size] | a number up 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] | a number | 1 | Page number, 1-indexed. |
Every API field of Treasury Fiscal Data · Buyback operations is on its tool page: open its card above.
What can you do with Treasury buyback operation results in Claude Code?
Build a Treasury buyback report that connects operation totals to the securities purchased. A coding agent can turn the returned amounts into numeric columns and add reconciliation checks to your project.
Write an operation results brief
Summarize total par offered and accepted for a completed operation, then identify the securities that account for the largest purchases.
Build a monthly buyback history
Calculate monthly accepted par from operation totals or security-level purchases. Use the results to compare Treasury's activity across months.
Reconcile purchases to published totals
Sum accepted par across securities for an operation and compare it with the reported operation total. Flag differences for review.
Compare individual operations
Rank completed operations by accepted par amount. Add security-level detail to explain which purchases drove the largest totals.
Maintain a buyback results dashboard
Show operation totals over time and let readers inspect the CUSIPs, maturities, and accepted amounts behind each result.
Check a market commentary claim
Verify a statement about Treasury's buyback volume against operation totals, then inspect security results when the statement names particular issues.
More on Treasury buyback operation results and Claude Code
Overview
Treasury buyback operation results in other agents
Questions about Treasury buyback operation results in Claude Code
Can Claude Code use Treasury buyback operation results?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Treasury buyback operation results like any built-in tool.
How much does Treasury buyback operation results cost in Claude Code?
$0.001746 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.
Do I need an Alexandria account to use Treasury buyback operation results in Claude Code?
No. Spiral runs Treasury buyback operation results 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 buyback operation results in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while Treasury buyback operation results runs?
Treasury buyback operation results runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.
How far back does Treasury's buyback archive go?
The archive begins on March 9, 2000. As checked on November 20, 2026, its latest listed operation date was November 19, 2026.
Why are there no buybacks between 2003 and 2013?
Treasury states that no buyback operations occurred during those years. That gap reflects the operation history.
How quickly are buyback results published?
Treasury says detailed information for each eligible security is published later on operation day. Fiscal Data lists updates as as needed, so the dataset does not promise a fixed publication delay.
Which Treasury securities does this cover?
Treasury identifies off-the-run nominal coupon securities and Treasury Inflation-Protected Securities as the securities it buys back. The archive describes Treasury buyback activity within that scope.
Can I reuse Treasury buyback data in a commercial report?
Yes. Fiscal Data explicitly permits copying, adapting, redistributing, and using its data for commercial and noncommercial purposes.
Start using Treasury buyback operation results in Claude Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Claude Code:
set up https://spiral.ai/SKILL.md


