[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [FRED data sources](https://spiral.ai/integrations/muse-code/fred-data-sources)

# How to Use FRED data sources in Muse Code

Returns FRED's directory of data-producing institutions and their identifiers. Use it to find an agency or organization before exploring its publications.

|  |  |
| --- | --- |
| Model | FRED data sources |
| 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 data sources in Muse Code

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

## How to set up FRED data sources in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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 data sources**: 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/sources",
    "input": {
      "page": 1
    }
  }'
```

Then paste one of the prompts above: Muse Code finds FRED data sources on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## FRED data sources tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to 1000 | 1 | 1-based page (50 rows per page); pass `next_page` from the previous result. |

## What can you do with FRED data sources in Muse Code?

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.

### 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.

### Publishing agency comparison

Compare the publications available from the Bureau of Economic Analysis and Bureau of Labor Statistics. Inspect the series in selected releases to understand which agency publishes the measure a research question needs.

### 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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## FRED data sources in other agents

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

## More Muse Code guides

- [FRED child categories](https://spiral.ai/integrations/muse-code/fred-child-categories)
- [FRED economic categories](https://spiral.ai/integrations/muse-code/fred-economic-categories)
- [FRED category tags](https://spiral.ai/integrations/muse-code/fred-category-tags)
- [FRED economic data tags](https://spiral.ai/integrations/muse-code/fred-economic-data-tags)
- [FRED category series](https://spiral.ai/integrations/muse-code/fred-category-series)
- [FRED economic data values](https://spiral.ai/integrations/muse-code/fred-economic-data-values)

## Questions about FRED data sources in Muse Code

**Can Muse Code use FRED data sources?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run FRED data sources like any built-in tool.

**How much does FRED data sources cost in Muse Code?**

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

**Do I need an Alexandria account to use FRED data sources in Muse Code?**

No. Spiral runs FRED data sources 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 data sources in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while FRED data sources runs?**

FRED data sources runs in the background. Muse Code 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.

