How to Use FRED economic categories in Claude Code
Returns topic categories, their subcategories, and associated economic series. Use it to explore a subject such as employment or production before choosing a specific measure.
Prompts to try with FRED economic categories in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use FRED economic categories to explore employment topics and show the categories most relevant to U.S. manufacturing employment.
Use FRED economic categories to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from FRED economic categories and tell me what changed since last week.
Check FRED economic categories and summarize what you find in three bullet points.
Pull the newest data from FRED economic categories and give me the result as a table.
How to set up FRED economic categories in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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
- 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
- Send Claude Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run FRED economic categories
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-stlouisfed-org/economic-data/category", "input": { "page": 1 } }'
Then paste one of the prompts above: Claude Code finds FRED economic categories on Spiral, shows the price and runs it.
FRED economic categories providers and prices
Spiral runs FRED economic categories through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Claude Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Page | 1 to 1000 | 1 | Series page within the category (50 series per page); pass |
| Category ID | a number from 0 | FRED category id (integer, e.g. 106 for GDP/GNP, 32991 for Money, Banking, & Finance; 0 or omitted for the root), a numeric string, or a pasted https://fred.stlouisfed.org/categories/{id} URL. |
Every API field of FRED (Federal Reserve Economic Data) · Category is on its tool page: open its card above.
What can you do with FRED economic categories in Claude Code?
Check the economic definitions behind an analysis before interpreting its results. A coding agent can inspect FRED series, reporting periods, and publishing agencies to explain whether the selected indicators answer the research question.
Manufacturing conditions briefing
Find production and employment indicators through topics, tags, publications, or publishing agencies. Compare their histories with steel producer price indexes, keeping each measure's units and reporting frequency visible.
Steel benchmark selection
Explore steel measures through keyword searches, product topics, tags, and the Producer Price Index release. Compare definitions and available histories before choosing a benchmark for cold-rolled sheet or another specific product.
Classroom comparison of economic measures
Find unemployment, output, and steel price indicators by topic, keywords, or tags. Use their definitions and observations to explain how a percentage, an output measure, and a producer price index answer different questions.
Economic reporting coverage audit
Check whether a proposed manufacturing brief has suitable indicators and sufficient history. Explore candidate series through FRED's discovery routes, inspect their definitions and observation boundaries, and identify steel indexes whose data stop before the report period.
More on FRED economic categories and Claude Code
Overview
FRED economic categories in other agents
Questions about FRED economic categories in Claude Code
Can Claude Code use FRED economic categories?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run FRED economic categories like any built-in tool.
How much does FRED economic categories cost in Claude Code?
$0.00873 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 economic categories in Claude Code?
No. Spiral runs FRED economic categories 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 economic categories in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while FRED economic categories runs?
FRED economic categories 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 the United States?
FRED includes international, national, and regional economic series. Its database draws from more than 100 public and proprietary sources.
How fresh is FRED's data?
FRED updates its database daily, but individual indicators follow their own reporting frequencies. For example, UNRATE is monthly, while GDPC1 is quarterly.
Can previously published values change?
Yes. FRED displays the latest version of a series, and replaced versions are archived in ALFRED, so today's historical values can differ from earlier publications.
Does every series continue through the latest reporting period?
No. For example, the hot-rolled steel sheet and strip index WPU10170301 has a final observation in February 2022, even though its page displays a future release date.
How does FRED check data accuracy?
When a release is added or updated, FRED compares it with data already published by the same source. Its checks also flag unexpected values and verify reported frequency and date formats.
Start using FRED economic categories 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 https://spiral.ai/SKILL.md


