[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [FRED series details](https://spiral.ai/integrations/opencode/fred-series-details)

# How to Use FRED series details in opencode

Returns a series definition, units, frequency, seasonal adjustment, observation dates, and update information. Use it to confirm what an indicator measures before interpreting its values.

|  |  |
| --- | --- |
| Model | FRED series details |
| 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 FRED series details in opencode

- Use FRED series details to inspect UNRATE and GDPC1. Explain their units, reporting frequency, seasonal adjustment, and available observation dates.
- Use FRED series details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from FRED series details and tell me what changed since last week.
- Check FRED series details and summarize what you find in three bullet points.
- Pull the newest data from FRED series details and give me the result as a table.

## How to set up FRED series details 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 series details**: 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-stlouisfed-org/economic-data/series",
    "input": {
      "series_id": "<series_id>"
    }
  }'
```

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

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

## FRED series details tools and prices

- [FRED (Federal Reserve Economic Data) · Series](https://spiral.ai/tools/alexandria/fred-stlouisfed-org/economic-data/series) (Alexandria): $0.00873 per call.

## What can you do with FRED series details in opencode?

Check the economic definitions behind an analysis before interpreting its results. A coding agent can inspect FRED series, reporting periods, and publishing agencies to explain whether the selected indicators answer the research question.

### Manufacturing conditions briefing

Find production and employment indicators through topics, tags, publications, or publishing agencies. Compare their histories with steel producer price indexes, keeping each measure's units and reporting frequency visible.

### Steel benchmark selection

Explore steel measures through keyword searches, product topics, tags, and the Producer Price Index release. Compare definitions and available histories before choosing a benchmark for cold-rolled sheet or another specific product.

### Procurement research report

Trace steel index results to the publishing agency and statistical release. Explain the selected measure's definition and historical changes alongside its source citation.

### Classroom comparison of economic measures

Find unemployment, output, and steel price indicators by topic, keywords, or tags. Use their definitions and observations to explain how a percentage, an output measure, and a producer price index answer different questions.

### Economic reporting coverage audit

Check whether a proposed manufacturing brief has suitable indicators and sufficient history. Explore candidate series through FRED's discovery routes, inspect their definitions and observation boundaries, and identify steel indexes whose data stop before the report period.

### Inflation publication comparison

Find the agencies and publications behind consumer and producer inflation measures. Compare candidate series definitions discovered through releases, keywords, and tags before deciding which measure belongs in an explanation.

### Steel trend explanation

Compare a steel index summary with its historical observations and series definition. Explain the period covered and the change in the index without treating its level as a supplier quote.

## Overview

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

## FRED series details in other agents

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

## More opencode guides

- [FRED series categories](https://spiral.ai/integrations/opencode/fred-series-categories)
- [FRED series publication](https://spiral.ai/integrations/opencode/fred-series-publication)
- [FRED series by tag](https://spiral.ai/integrations/opencode/fred-series-by-tag)
- [FRED series revision dates](https://spiral.ai/integrations/opencode/fred-series-revision-dates)
- [FRED search topic tags](https://spiral.ai/integrations/opencode/fred-search-topic-tags)
- [FRED series search](https://spiral.ai/integrations/opencode/fred-series-search)

## Questions about FRED series details in opencode

**Can opencode use FRED series details?**

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

**How much does FRED series details 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 FRED series details in opencode?**

No. Spiral runs FRED series details 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 series details in opencode?**

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

**Does opencode wait while FRED series details runs?**

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

**Does FRED cover only the United States?**

FRED includes international, national, and regional economic series. Its database draws from more than 100 public and proprietary sources.

**How fresh is FRED's data?**

FRED updates its database daily, but individual indicators follow their own reporting frequencies. For example, UNRATE is monthly, while GDPC1 is quarterly.

**Can previously published values change?**

Yes. FRED displays the latest version of a series, and replaced versions are archived in ALFRED, so today's historical values can differ from earlier publications.

**Does every series continue through the latest reporting period?**

No. For example, the hot-rolled steel sheet and strip index WPU10170301 has a final observation in February 2022, even though its page displays a future release date.

**How does FRED check data accuracy?**

When a release is added or updated, FRED compares it with data already published by the same source. Its checks also flag unexpected values and verify reported frequency and date formats.

