[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [FRED economic release directory](https://spiral.ai/integrations/opencode/fred-economic-release-directory)

# How to Use FRED economic release directory in opencode

Returns FRED's economic release listings with IDs, names, press release flags, and available links. Use it to match a publication name such as Consumer Price Index to its release ID.

|  |  |
| --- | --- |
| Model | FRED economic release directory |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.013 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with FRED economic release directory in opencode

- Use FRED economic release directory to find Consumer Price Index, Employment Situation, and Gross Domestic Product, then populate our project's release selector with their returned IDs and names.
- Use FRED economic release directory to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from FRED economic release directory and tell me what changed since last week.
- Check FRED economic release directory and summarize what you find in three bullet points.
- Pull the newest data from FRED economic release directory and give me the result as a table.

## How to set up FRED economic release directory 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 FRED economic release directory**: 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": "fred/releases/releases",
    "input": {
      "limit": 1000
    }
  }'
```

Then paste one of the prompts above: opencode finds FRED economic release directory on Spiral, shows the price and runs it.

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

## FRED economic release directory tools and prices

- [FRED · Releases](https://spiral.ai/tools/alexandria/fred/releases/releases) (Alexandria): $0.013 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | … to 1000 | 1000 | Records to return. The default is the maximum, so a naive call is a large response rather than a page. |
| offset |  | 0 | Records to skip. Page by adding `limit` to it; `count` in the envelope is the full match total. |
| order_by | release_id, name, press_release, realtime_start, realtime_end | release_id | Which release attribute to sort by. |
| sort_order | asc, desc | asc | Sort direction. |
| realtime_end |  | — | End of the real-time period, YYYY-MM-DD. Defaults to today. Set 9999-12-31 for the full revision history. |
| realtime_start |  | — | Start of the real-time period, YYYY-MM-DD. Defaults to today, which means the current vintage only. Set 1776-07-04 for the full revision history. Setting one bound implies the other. |

## What can you do with FRED economic release directory in opencode?

Build a research interface that connects economic publications to their schedules, source organizations, and series definitions. A coding agent can use FRED's returned records to populate release selectors, indicator lists, and supported table views in your project.

### Prepare a weekly economic briefing

Identify CPI, GDP, and Employment Situation in the directory, confirm their publication details and publishers, and combine the broad calendar with each release's date history.

### Explore the GDP publication

Find Gross Domestic Product, identify its publisher, and browse its series through table headings. Use release tags and related tags to narrow the series inventory to a research topic.

### Choose comparable inflation indicators

Resolve Consumer Price Index in the directory, confirm the release, and inspect its tags. Find related concepts, then compare candidate series by units, frequency, seasonal adjustment, and observation coverage.

### Create a statistical publication worksheet

Prepare a worksheet for GDP and Employment Situation with publication names, source organizations, series definitions, and topic tags. Add table structure where available so readers can locate an indicator within the publication.

### Assemble a release-day research pack

For a selected GDP publication date, collect the release identity, publisher, calendar context, and date history. Add a topic-filtered series inventory and the available table hierarchy to guide the analyst's review.

### Compare publication schedules

Compare recorded dates for CPI, GDP, and Employment Situation across a chosen year. Include release names and publisher links so the schedule comparison points readers to the responsible organizations.

## Overview

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

## FRED economic release directory in other agents

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

## More opencode guides

- [FRED economic release calendar](https://spiral.ai/integrations/opencode/fred-economic-release-calendar)
- [FRED economic releases](https://spiral.ai/integrations/opencode/fred-economic-releases)
- [FRED economic data values](https://spiral.ai/integrations/opencode/fred-economic-data-values)
- [FRED economic series by tag](https://spiral.ai/integrations/opencode/fred-economic-series-by-tag)
- [FRED economic data tags](https://spiral.ai/integrations/opencode/fred-economic-data-tags)
- [FRED economic series search](https://spiral.ai/integrations/opencode/fred-economic-series-search)

## Questions about FRED economic release directory in opencode

**Can opencode use FRED economic release directory?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run FRED economic release directory like any built-in tool.

**How much does FRED economic release directory cost in opencode?**

$0.013 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 FRED economic release directory in opencode?**

No. Spiral runs FRED economic release directory on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up FRED economic release directory in opencode?**

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

**Does opencode wait while FRED economic release directory runs?**

FRED economic release directory runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**What does FRED mean by an economic release?**

A release is a named publication containing individual data series, such as Employment Situation. FRED organizes those series under the publication so you can investigate its contents together.

**Does a release date mean its data is already in FRED?**

No. FRED explicitly distinguishes dates published by data sources from the time the corresponding data becomes available in FRED or ALFRED.

**Are release tables available for every publication?**

FRED provides release tables for selected publications. Where available, they organize series in the format used by the original data source.

**How many release records can one request return?**

The calendar, directory, series metadata, tags, and related tags endpoints each allow up to 1,000 results per request. Publication date history allows up to 10,000; these lists support offset pagination.

**Does the release series list contain economic values?**

It returns series metadata, including units, frequency, seasonal adjustment, observation coverage, and update timestamps. Use it to identify the series needed for an analysis before retrieving observation values.

