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

# How to Use FRED economic series search in Muse Code

Returns economic series matching search words or a series ID fragment, with descriptive records for each result. Use it to find candidate indicators before choosing which values to analyze.

|  |  |
| --- | --- |
| Model | FRED economic series search |
| 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 economic series search in Muse Code

- Use FRED economic series search to find US mortgage rate indicators and summarize the returned descriptions for this project's research brief.
- Use FRED economic series search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from FRED economic series search and tell me what changed since last week.
- Check FRED economic series search and summarize what you find in three bullet points.
- Pull the newest data from FRED economic series search and give me the result as a table.

## How to set up FRED economic series search 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 economic series search**: 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/search",
    "input": {
      "search_text": "<search_text>"
    }
  }'
```

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

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

## FRED economic series search tools and prices

- [FRED · Series search](https://spiral.ai/tools/alexandria/fred/series/search) (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 | search_rank, series_id, title, units, frequency, seasonal_adjustment, realtime_start, realtime_end, last_updated, observation_start, observation_end, popularity, group_popularity | — | Which attribute to sort by. The default is conditional and cannot be stated here: `search_rank` when `search_type` is full_text, `series_id` when it is series_id. |
| tag_names |  | — | Semicolon-delimited tag names a series must carry all of, for example `usa;m2`. |
| sort_order | asc, desc | — | Sort direction. Also conditional: FRED defaults to desc when `order_by` is search_rank or popularity, asc otherwise. |
| search_type | full_text, series_id | full_text | `full_text` stems the words across title, units, frequency and tags. `series_id` is a substring match on ids with `*` as a wildcard, which is what a ticker-shaped query wants - passing one under the default gets stem-matched noise instead. |

## What can you do with FRED economic series search in Muse Code?

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.

### 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 Muse Code guides](https://spiral.ai/integrations/muse-code)

## FRED economic series search in other agents

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

## More Muse Code guides

- [FRED economic series by tag](https://spiral.ai/integrations/muse-code/fred-economic-series-by-tag)
- [FRED historical observations](https://spiral.ai/integrations/muse-code/fred-historical-observations)
- [FRED economic releases](https://spiral.ai/integrations/muse-code/fred-economic-releases)
- [FRED publication date history](https://spiral.ai/integrations/muse-code/fred-publication-date-history)
- [FRED economic release directory](https://spiral.ai/integrations/muse-code/fred-economic-release-directory)
- [FRED publisher details](https://spiral.ai/integrations/muse-code/fred-publisher-details)

## Questions about FRED economic series search in Muse Code

**Can Muse Code use FRED economic series search?**

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

**How much does FRED economic series search cost in Muse Code?**

$0.013 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 economic series search in Muse Code?**

No. Spiral runs FRED economic series search 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 series search 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 economic series search runs?**

FRED economic series search runs in the background. Muse Code 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.

