[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [FRED series tags](https://spiral.ai/integrations/codex/fred-series-tags)

# How to Use FRED series tags in Codex

Returns the labels assigned to one economic series, including subject, geography, source, and frequency tags where present. Use it to describe a known indicator and identify useful search labels.

|  |  |
| --- | --- |
| Model | FRED series tags |
| 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 series tags in Codex

- Use FRED series tags to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from FRED series tags and tell me what changed since last week.
- Check FRED series tags and summarize what you find in three bullet points.
- Pull the newest data from FRED series tags and give me the result as a table.
- Check FRED series tags every morning and tell me only when something changed.

## How to set up FRED series tags in Codex

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

### Use Spiral's MCP server

1. **Add the hosted server**

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

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex 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 tags**: 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/series/tags",
    "input": {
      "series_id": "<series_id>"
    }
  }'
```

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

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

## FRED series tags tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| order_by | series_count, popularity, created, name, group_id | series_count | Which tag 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 series tags in Codex?

Produce an economic evidence review for the charts and indicator references in your project. Use FRED's series descriptions, discovery records, and historical data to check what those references mean.

### Prepare an economic research brief

Find indicators for US inflation, inspect search tags and related tags, and document their categories, labels, definitions, and publications. Add values, recent update information, and revision dates to explain both the evidence and its timing.

### Compare regional indicators

Search for unemployment indicators for California and Texas. Use search tags, related tags, categories, and series labels to identify the intended geography, then check definitions before comparing the returned values.

### Explain the publication behind an indicator

Find candidate mortgage rate series, inspect broad and related search tags, and use categories and series labels to describe their context. Read the series details and associated publication to explain precisely which measure a report uses.

### Choose indicators for a research question

Turn a broad question about US housing into a shortlist of series. Examine search tags and their relationships, categories, individual labels, definitions, and publications to distinguish measures that answer different questions.

### Reproduce a historical economic comparison

Document an indicator's categories, labels, definition, and publication. Select available historical snapshots and compare their observation values to reconstruct the evidence available at different points in time.

### Review developments within an economic topic

Use search results, broad tags, related tags, categories, and individual series labels to define a topic such as mortgage rates. Review recent updates for series relevant to that topic.

## Overview

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

## FRED series tags in other agents

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

## More Codex guides

- [FRED series search](https://spiral.ai/integrations/codex/fred-series-search)
- [FRED source releases](https://spiral.ai/integrations/codex/fred-source-releases)
- [FRED series revision dates](https://spiral.ai/integrations/codex/fred-series-revision-dates)
- [FRED steel producer price indexes](https://spiral.ai/integrations/codex/fred-steel-producer-price-indexes)
- [FRED series publication](https://spiral.ai/integrations/codex/fred-series-publication)
- [FRED tag directory](https://spiral.ai/integrations/codex/fred-tag-directory)

## Questions about FRED series tags in Codex

**Can Codex use FRED series tags?**

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

**How much does FRED series tags cost in Codex?**

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

**Do I need an Alexandria account to use FRED series tags in Codex?**

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

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

**Does Codex wait while FRED series tags runs?**

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

**Where does FRED's data come from?**

FRED combines economic data from more than 100 public and proprietary sources. Most of its sources are US government agencies, so a FRED series can originate outside the Federal Reserve.

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

The database is updated daily, but that does not mean every series receives a new value each day. FRED publishes a new version after validation and keeps the replaced version in ALFRED.

**How does FRED check incoming data?**

FRED compares each new download with the existing series. Unexpected values are reviewed, and FRED contacts the originating source for clarification.

**How many observation values can one request return?**

The observations response is capped at 100,000 results per request. Larger results require subsequent requests using an offset.

**Does searching for a series ID require an exact match?**

FRED's series ID search uses substring matching. A fragment can return multiple identifiers, so compare the returned descriptions before selecting a series.

