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

Windsurf · Finance

How to Use FRED Series metadata in Windsurf

Returns a series description, including its title, units, frequency, seasonal adjustment, observation coverage, and update timestamp. Use it to check definitions and comparability before interpreting values.

Prompts to try with FRED Series metadata in Windsurf

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

Use FRED series details for GNPCA and compare its units and frequency with the labels in this project's economic report.

FRED Series metadataWindsurf
Try asking
  • Use FRED Series metadata to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from FRED Series metadata and tell me what changed since last week.

  • Check FRED Series metadata and summarize what you find in three bullet points.

  • Pull the newest data from FRED Series metadata and give me the result as a table.

How to set up FRED Series metadata 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 Series metadata

    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/series/series",
        "input": {
          "series_id": "<series_id>"
        }
      }'

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

FRED Series metadata providers and prices

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

AlexandriaFinance
FRED · Series metadata
fred/series/series

What can you do with FRED Series metadata in Windsurf?

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.

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.

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.

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.

Questions about FRED Series metadata in Windsurf

Can Windsurf use FRED Series metadata?

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

How much does FRED Series metadata cost in Windsurf?

$0.001746 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 Series metadata in Windsurf?

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

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

Does Windsurf wait while FRED Series metadata runs?

FRED Series metadata runs in the background. Windsurf 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.

Get started

Start using FRED Series metadata 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