[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Federal Reserve statistical data](https://spiral.ai/integrations/opencode/federal-reserve-statistical-data)

# How to Use Federal Reserve statistical data in opencode

Returns observations from Federal Reserve statistical packages, including interest rates and exchange rates. Use it for numerical context alongside policy announcements and speeches.

|  |  |
| --- | --- |
| Model | Federal Reserve statistical data |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Federal Reserve statistical data in opencode

- Use Federal Reserve statistical data to retrieve the last five observations from H10 package 122e3bcb627e8e53f1bf72a1a09cfb81 and create a table in this project that preserves each series' units and currency.
- Use Federal Reserve statistical data to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Federal Reserve statistical data and tell me what changed since last week.
- Check Federal Reserve statistical data and summarize what you find in three bullet points.
- Pull the newest data from Federal Reserve statistical data and give me the result as a table.

## How to set up Federal Reserve statistical data in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 Federal Reserve statistical data**: 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": "federalreserve-gov/central-bank-communications/data_series",
    "input": {
      "rel": "<rel>",
      "series": "<series>"
    }
  }'
```

Then paste one of the prompts above: opencode finds Federal Reserve statistical data on Spiral, shows the price and runs it.

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

## Federal Reserve statistical data tools and prices

- [Federal Reserve Board · Data series](https://spiral.ai/tools/alexandria/federalreserve-gov/central-bank-communications/data_series) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| to |  | — | Latest period, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| from |  | — | Earliest period, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| lastobs | 1 to 100000 | — | Return only the last N observations (mutually exclusive with from/to). |

## What can you do with Federal Reserve statistical data in opencode?

Build a dated Federal Reserve research view in your project using official events, documents, or statistical observations. Add source links so readers can inspect the material behind each summary.

### Prepare an FOMC meeting brief

Combine the meeting schedule, previous decision documents, recent announcements and remarks, and interest-rate observations into a briefing for the next meeting.

### Build a monetary policy timeline

Place scheduled events, published decisions, official remarks, and statistical observations on a dated timeline to study how policy communication developed.

### Write a treasury committee briefing

Summarize recent Fed decisions and remarks, show interest-rate and exchange-rate observations, and identify the next scheduled events for a corporate treasury discussion.

### Add Fed context to a currency report

Pair H.10 exchange-rate observations with relevant announcements and official remarks. Separate changes in the data from explanations offered in published communications.

### Create a policy research reading pack

Assemble meeting documents, announcement text, published speeches, and supporting statistical observations for a classroom discussion or research review.

## Overview

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

## Federal Reserve statistical data in other agents

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

## More opencode guides

- [Federal Reserve speech and testimony text](https://spiral.ai/integrations/opencode/federal-reserve-speech-and-testimony-text)
- [Finnhub company news](https://spiral.ai/integrations/opencode/finnhub-company-news)
- [Federal Reserve speech and testimony search](https://spiral.ai/integrations/opencode/federal-reserve-speech-and-testimony-search)
- [Finnhub company profile](https://spiral.ai/integrations/opencode/finnhub-company-profile)
- [Federal Reserve event calendar](https://spiral.ai/integrations/opencode/federal-reserve-event-calendar)
- [Finnhub stock symbol lookup](https://spiral.ai/integrations/opencode/finnhub-stock-symbol-lookup)

## Questions about Federal Reserve statistical data in opencode

**Can opencode use Federal Reserve statistical data?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Federal Reserve statistical data like any built-in tool.

**How much does Federal Reserve statistical data cost in opencode?**

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

**Do I need an Alexandria account to use Federal Reserve statistical data in opencode?**

No. Spiral runs Federal Reserve statistical data on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Federal Reserve statistical data in opencode?**

About two minutes: add the server, then sign in, then check it.

**Does opencode wait while Federal Reserve statistical data runs?**

Federal Reserve statistical data runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Are future FOMC meeting dates final?**

Each date remains tentative until confirmed at the immediately preceding FOMC meeting. The published calendar is a schedule that can change.

**How soon are FOMC minutes public?**

Minutes are released three weeks after regularly scheduled meetings. They summarize the discussion and decisions rather than providing an immediate transcript.

**Can I read a complete transcript of the latest FOMC meeting?**

Complete transcripts are released after approximately five years. Recent statements and minutes provide the public record available much sooner.

**What does an FOMC statement tell me?**

It reports the policy decision and rationale, records the vote, and briefly explains dissenting votes. That makes it useful for distinguishing the committee's decision from an individual official's remarks.

**Which numerical releases are covered?**

The provider documents Federal Reserve statistical packages including H.15 interest rates and H.10 exchange rates. These complement the Board's announcements and published remarks.

