[Integrations](https://spiral.ai/integrations) › [Windsurf](https://spiral.ai/integrations/windsurf) › [FRED category details](https://spiral.ai/integrations/windsurf/fred-category-details)

# How to Use FRED category details in Windsurf

Returns a FRED category's ID, name, and parent category ID. Use it to identify a topic or confirm where it sits before exploring its contents.

|  |  |
| --- | --- |
| Model | FRED category details |
| 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 details in Windsurf

- Use FRED category details for category 125 and explain its name and parent ID alongside the trade terminology in my README.
- Use FRED category details for category 0 and explain its role in the category navigation described in this project's documentation.
- Use FRED category details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from FRED category details and tell me what changed since last week.
- Check FRED category details and summarize what you find in three bullet points.

## How to set up FRED category details in Windsurf

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

### Use Spiral's MCP server

1. **Add the server**: Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: `~/.config/devin/mcp_config.json` on macOS and Linux, `%APPDATA%\devin\mcp_config.json` on Windows. Add this:

```json
{
  "mcpServers": {
    "spiral": {
      "url": "https://api.spiral.ai/mcp"
    }
  }
}
```

2. **Sign in**: Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

```bash
devin mcp login spiral
```

3. **Check it**: Spiral is listed under This computer in Customize › MCPs. From the terminal:

```bash
devin mcp list
```

### Use the Spiral skill

1. **Send Windsurf 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 details**: 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/category",
    "input": {
      "category_id": 0
    }
  }'
```

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

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

## FRED category details tools and prices

- [FRED · Category](https://spiral.ai/tools/alexandria/fred/categories/category) (Alexandria): $0.013 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| category_id |  | 0 | The category to read. 0 is the root of the tree. |

## What can you do with FRED category details in Windsurf?

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.

### Resolve a category reference

Confirm a category's name and parent, inspect its immediate children, and distinguish hierarchy links from directional related-category links.

## Overview

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

## FRED category details in other agents

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

## More Windsurf guides

- [FRED Series metadata](https://spiral.ai/integrations/windsurf/fred-series-metadata)
- [FRED category related tags](https://spiral.ai/integrations/windsurf/fred-category-related-tags)
- [FINRA most active bonds](https://spiral.ai/integrations/windsurf/finra-most-active-bonds)
- [FRED category series](https://spiral.ai/integrations/windsurf/fred-category-series)
- [FINRA bond trades](https://spiral.ai/integrations/windsurf/finra-bond-trades)
- [FRED category tags](https://spiral.ai/integrations/windsurf/fred-category-tags)

## Questions about FRED category details in Windsurf

**Can Windsurf use FRED category details?**

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

**How much does FRED category details cost in Windsurf?**

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

**Do I need an Alexandria account to use FRED category details in Windsurf?**

No. Spiral runs FRED category details 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 details in Windsurf?**

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

**Does Windsurf wait while FRED category details runs?**

FRED category details runs in the background. Windsurf 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.

