Spiral gives your agent every tool with one account. Browse the tools →

Windsurf · Finance

How to Use FRED category tags in Windsurf

Returns the tags associated with series in a FRED category, including tag descriptions and series counts. Use it to inspect the available vocabulary before narrowing a series search.

Prompts to try with FRED category tags in Windsurf

Copy an example into Windsurf, or ask in your own words.

Use FRED category tags to look this up and give me the result as a table. Save the result in ./assets.

FRED category tagsWindsurf
Try asking
  • Pull the latest numbers from FRED category tags and tell me what changed since last week.

  • Check FRED category tags and summarize what you find in three bullet points.

  • Pull the newest data from FRED category tags and give me the result as a table.

  • Check FRED category tags every morning and tell me only when something changed.

How to set up FRED category tags 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:

    {
      "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.

    devin mcp login spiral
  3. Check it

    Spiral is listed under This computer in Customize › MCPs. From the terminal:

    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.

    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 tags

    One request; the result comes back by polling or a webhook.

    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/tags",
        "input": {
          "category_id": 1
        }
      }'

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

FRED category tags providers and prices

Spiral runs FRED category tags through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
FRED · Category tags
fred/categories/tags

Settings you can ask for

Ask Windsurf for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Category IDa number

The category to read. Required here, though the identical-looking parameter defaults to the root on categories/category and categories/children.

Limita number up to 10001000

Records to return. The default is the maximum, so a naive call is a large response rather than a page.

Offseta number0

Records to skip. Page by adding limit to it; count in the envelope is the full match total.

Order byseries_count, popularity, created, name, or group_idseries_count

Which tag attribute to sort by.

Sort orderasc or descasc

Sort direction.

Tag group IDfreq, gen, geo, geot, rls, seas, or src

Narrow to one kind of tag: freq frequency, gen general concept, geo geography, geot geography type, rls release, seas seasonal adjustment, src source.

Every API field of FRED · Category tags is on its tool page: open its card above.

What can you do with FRED category tags 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.

Check indicator comparability

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

Questions about FRED category tags in Windsurf

Can Windsurf use FRED category tags?

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

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

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

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

Does Windsurf wait while FRED category tags runs?

FRED category tags 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.

Get started

Start using FRED category tags in Windsurf

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Windsurf:

Set up Windsurf

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options