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

Windsurf · Finance

How to Use FRED publisher directory in Windsurf

Returns FRED's economic data publishers with IDs, names, real-time dates, and available websites or notes. Use it to discover publishers and find the IDs needed for publisher-specific research.

Prompts to try with FRED publisher directory in Windsurf

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

Use FRED publisher directory to find the Bureau of Economic Analysis and Bureau of Labor Statistics, then compare their returned names with the publisher labels in this project's charts.

FRED publisher directoryWindsurf
Try asking
  • Use FRED publisher directory to find the Bank of England and Bank of Japan, then show their returned names and available websites in your response.

  • Use FRED publisher directory to look this up and give me the result as a table. Save the result in ./assets.

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

  • Check FRED publisher directory and summarize what you find in three bullet points.

How to set up FRED publisher directory 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 publisher directory

    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/sources/sources",
        "input": {
          "limit": 1000
        }
      }'

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

FRED publisher directory providers and prices

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

AlexandriaFinance
FRED · Sources
fred/sources/sources

Settings you can ask for

Ask Windsurf for any of these in your prompt.

SettingAllowed valuesDefaultDescription
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 bysource_id, name, realtime_start, or realtime_endsource_id

Which source attribute to sort by.

Sort orderasc or descasc

Sort direction.

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

What can you do with FRED publisher directory in Windsurf?

Check the publisher attribution in an economic dashboard against FRED's publisher and release records. A coding agent can compare project labels with returned names, IDs, and available links.

Prepare an economic report's source appendix

Find the report's publishers in FRED, resolve their names and available websites, and identify the releases associated with each publisher.

Start research with a statistical agency

Find the Bureau of Economic Analysis in the directory, check its publisher record, and review its FRED-listed releases before selecting a dataset.

Review publisher attribution in a dashboard

Compare a dashboard's publisher labels with FRED's directory and publisher records. Check release names and available links to clarify which publication each label refers to.

Check historical source descriptions

Request publisher and release metadata for a past real-time period to examine the attribution information available then.

Compare international economic publishers

Identify overseas central banks in FRED's directory and inspect their publisher records to compare names and available institutional websites.

Questions about FRED publisher directory in Windsurf

Can Windsurf use FRED publisher directory?

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

How much does FRED publisher directory 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 publisher directory in Windsurf?

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

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

Does Windsurf wait while FRED publisher directory runs?

FRED publisher directory runs in the background. Windsurf starts the run, checks on it and gives you the json when it's ready.

Do these FRED tools return GDP, inflation, or interest-rate values?

They return publisher and release metadata, such as names, IDs, links, and real-time dates. FRED publisher releases identifies statistical releases; it does not return the observations within them.

Does FRED cover publishers outside the United States?

Yes. Its publisher directory includes the Bank of England, Bank of Italy, Bank of Japan, and Bank of Mexico.

Does a real-time date of today mean the publisher updated its data today?

No. FRED's usual real-time default means information available today about the past. Sources and releases also have historical real-time periods, so these dates describe FRED's information history rather than a publication schedule.

Does every FRED publisher record include a website and description?

No. FRED explicitly makes publisher links and notes optional, so a directory entry or publisher detail record can omit either.

How much of FRED's publisher catalog can one request return?

Publisher-directory and publisher-release list requests each allow up to 1,000 results. Both expose a total count and offset for pagination; publisher details retrieves a selected source instead of a catalog page.

Get started

Start using FRED publisher directory 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