[Integrations](https://spiral.ai/integrations) › [Factory Droid](https://spiral.ai/integrations/factory-droid) › [FRED economic data values](https://spiral.ai/integrations/factory-droid/fred-economic-data-values)

# How to Use FRED economic data values in Factory Droid

Returns dated values for an economic series, with historical versions available through FRED's real-time periods. Use it for charts, calculations, and comparisons of what was known on different dates.

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

## Prompts to try with FRED economic data values in Factory Droid

- Use FRED economic data values for GNPCA to prepare a table of its available annual observations through 2020 for my research notes.
- Use FRED economic data values to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from FRED economic data values and tell me what changed since last week.
- Check FRED economic data values and summarize what you find in three bullet points.
- Pull the newest data from FRED economic data values and give me the result as a table.

## How to set up FRED economic data values in Factory Droid

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

### Use Spiral's MCP server

1. **Add the server**: Droid saves it to your user config, `~/.factory/mcp.json`, so it works in every project.

```bash
droid mcp add spiral https://api.spiral.ai/mcp --type http
```

2. **Sign in**: Start `droid`, type `/mcp`, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

3. **Check it**: Spiral shows as connected. needs authentication means the sign-in did not finish: run `/mcp` again.

```bash
droid mcp list
```

### Use the Spiral skill

1. **Send Factory Droid 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 data values**: 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/observations",
    "input": {
      "series_id": "<series_id>"
    }
  }'
```

Then paste one of the prompts above: Factory Droid finds FRED economic data values on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/factory-droid

## FRED economic data values tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | … to 100000 | 100000 | Observations to return. |
| units | lin, chg, ch1, pch, pc1, pca, cch, cca, log | lin | Value transformation: lin levels, chg change, ch1 change from a year ago, pch percent change, pc1 percent change from a year ago, pca compounded annual rate of change, cch continuously compounded rate of change, cca continuously compounded annual rate of change, log natural log. |
| offset |  | 0 | Observations to skip. |
| frequency | d, w, bw, m, q, sa, a, wef, weth, wew, wetu, wem, wesu, wesa, bwew, bwem | — | Aggregate down to a lower frequency. Asking for a frequency higher than the series' native one is an error rather than a no-op, and asking for the native one does nothing. Omit for no aggregation. |
| sort_order | asc, desc | asc | Sort by observation date. |
| output_type | 1, 2, 3, 4 | 1 | 1 observations by real-time period, 2 all observations by vintage date, 3 new and revised observations only, 4 initial release only. The fields described below are the shape of output_type 1; 2 and 3 replace the record entirely with one column per vintage date. |

## What can you do with FRED economic data values in Factory Droid?

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.

### Investigate economic data revisions

Check recent updates for indicators under review, identify their publications and definitions, and list available revision dates. Compare historical observation snapshots to show how the reported picture changed.

### Review a dashboard's latest evidence

Check which monitored indicators appear in recent updates. Review their definitions, publications, revision dates, and observation values before explaining a change in an economic dashboard.

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

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Factory Droid guides](https://spiral.ai/integrations/factory-droid)

## FRED economic data values in other agents

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

## More Factory Droid guides

- [FRED economic data tags](https://spiral.ai/integrations/factory-droid/fred-economic-data-tags)
- [FRED economic release calendar](https://spiral.ai/integrations/factory-droid/fred-economic-release-calendar)
- [FRED economic categories](https://spiral.ai/integrations/factory-droid/fred-economic-categories)
- [FRED economic release directory](https://spiral.ai/integrations/factory-droid/fred-economic-release-directory)
- [FRED data sources](https://spiral.ai/integrations/factory-droid/fred-data-sources)
- [FRED economic releases](https://spiral.ai/integrations/factory-droid/fred-economic-releases)

## Questions about FRED economic data values in Factory Droid

**Can Factory Droid use FRED economic data values?**

Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run FRED economic data values like any built-in tool.

**How much does FRED economic data values cost in Factory Droid?**

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

**Do I need an Alexandria account to use FRED economic data values in Factory Droid?**

No. Spiral runs FRED economic data values 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 data values in Factory Droid?**

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

**Does Factory Droid wait while FRED economic data values runs?**

FRED economic data values runs in the background. Factory Droid 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.

