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

Claude Code · Finance

How to Use FRED category details in Claude Code

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.

Prompts to try with FRED category details in Claude Code

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

Use FRED category details for category 125 and explain its name and parent ID alongside the trade terminology in my README.

FRED category detailsClaude Code
Try asking
  • 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 Claude Code

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

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude 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.

    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.

    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: Claude Code finds FRED category details on Spiral, shows the price and runs it.

FRED category details providers and prices

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

AlexandriaFinance
FRED · Category
fred/categories/category

Settings you can ask for

Ask Claude Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Category IDa number0

The category to read. 0 is the root of the tree.

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

What can you do with FRED category details in Claude Code?

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.

Questions about FRED category details in Claude Code

Can Claude Code use FRED category details?

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

How much does FRED category details cost in Claude 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 Claude Code plan is separate.

Do I need an Alexandria account to use FRED category details in Claude Code?

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 Claude Code?

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

Does Claude Code wait while FRED category details runs?

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

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

Paste this into Claude Code:

Set up Claude Code

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