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

# How to Use FRED category related tags in Codex

Returns tags attached to series that share selected tags within a FRED category. Use it to find further ways to narrow a topic, rather than collecting the category's full tag list.

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

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

## How to set up FRED category related 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 category related 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/categories/related-tags",
    "input": {
      "tag_names": "<tag_names>",
      "category_id": 1
    }
  }'
```

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

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

## FRED category related tags tools and prices

- [FRED · Category related tags](https://spiral.ai/tools/alexandria/fred/categories/related-tags) (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 | series_count, popularity, created, name, group_id | series_count | Which tag attribute to sort by. |
| sort_order | asc, desc | asc | Sort direction. |
| search_text |  | — | Free text the tag name must match. |
| realtime_end |  | — | End of the real-time period, YYYY-MM-DD. Defaults to today. Set 9999-12-31 for the full revision history. |

## What can you do with FRED category related tags in Codex?

Check an economic analysis project's topic choices against FRED's category catalog. A coding agent can inspect the project's terminology and explain which category paths, series descriptions, or tags warrant review, subject to FRED's reuse terms.

### Prepare an economic research outline

Identify a topic, examine its subtopics and cross-links, then inspect series descriptions and tags to decide which measures deserve further research.

### Plan a trade indicators briefing

Explore international transactions by category, inspect available series, and use tag combinations to narrow the briefing's scope.

### Teach economic data discovery

Walk students through category navigation, cross-links, series descriptions, and tag intersections before selecting indicators for a classroom exercise.

### Scope a regional economics study

Inspect regional categories and any cross-links, review candidate series, and examine geographic tags to define the study's coverage.

### Check indicator comparability

Compare series frequency, units, seasonal adjustment, and coverage dates before choosing measures for a comparison.

## Overview

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

## FRED category related tags in other agents

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

## More Codex guides

- [FRED category details](https://spiral.ai/integrations/codex/fred-category-details)
- [FRED category series](https://spiral.ai/integrations/codex/fred-category-series)
- [FRED Series metadata](https://spiral.ai/integrations/codex/fred-series-metadata)
- [FRED category tags](https://spiral.ai/integrations/codex/fred-category-tags)
- [FINRA most active bonds](https://spiral.ai/integrations/codex/finra-most-active-bonds)
- [FRED child categories](https://spiral.ai/integrations/codex/fred-child-categories)

## Questions about FRED category related tags in Codex

**Can Codex use FRED category related tags?**

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

**How much does FRED category related 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 category related tags in Codex?**

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

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

**Does Codex wait while FRED category related tags runs?**

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

**Does FRED cover only U.S. economic data?**

No. FRED includes economic series from national and international sources, including both public and private organizations.

**Who originally publishes the data in FRED?**

FRED aggregates data from many organizations. Its sources include the Bureau of Economic Analysis, Bureau of Labor Statistics, and U.S. Census Bureau.

**Do category lookups return economic measurements?**

These category tools return catalog information: categories, series descriptions, and tags. FRED provides observation values through a separate series observations request.

**How does FRED publish revisions?**

FRED displays a source's latest series version after validation. The version it replaces is archived in ALFRED.

**What checks does FRED perform before adding data?**

FRED checks downloads against existing series and verifies frequency, date formats, and value formats. Unexpected values are flagged for review and clarification with the source.

