How to Use FRED tag directory in Claude Code
Look up FRED's tag vocabulary, including tag names, groups, notes, popularity, and series counts. Use it to find the labels FRED actually assigns before narrowing an economic data search.
Prompts to try with FRED tag directory in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use FRED tag directory to look up employment-related tags, then add the returned names and notes to a live topic selector in this project's research interface.
Use FRED tag directory to find geography tags matching Slovenia, then update this project's geography selector to display the returned labels and notes.
Use FRED tag directory to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from FRED tag directory and tell me what changed since last week.
Check FRED tag directory and summarize what you find in three bullet points.
How to set up FRED tag directory 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 tag 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/tags/tags", "input": { "limit": 1000 } }'
Then paste one of the prompts above: Claude Code finds FRED tag directory on Spiral, shows the price and runs it.
FRED tag directory providers and prices
Spiral runs FRED tag directory 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 |
|---|---|---|---|
| Limit | a number up to 1000 | 1000 | Records to return. The default is the maximum, so a naive call is a large response rather than a page. |
| Offset | a number | 0 | Records to skip. Page by adding |
| Order by | series_count, popularity, created, name, or group_id | series_count | Which tag attribute to sort by. |
| Sort order | asc or desc | asc | Sort direction. |
| Tag group ID | freq, gen, geo, geot, rls, seas, src, or cc | Narrow to one kind of tag: freq frequency, gen general concept, geo geography, geot geography type, rls release, seas seasonal adjustment, src source, cc citation and copyright. |
Every API field of FRED · Tags is on its tool page: open its card above.
What can you do with FRED tag directory in Claude Code?
Build an economic indicator picker that uses FRED's own vocabulary and series descriptions. An agent can connect topic filters to matching series IDs and show units, frequency, and coverage dates before a user chooses an indicator.
Choose indicators for a US economic briefing
Find FRED's labels for GDP and employment, inspect related geography and frequency tags, and shortlist matching series with their units and coverage dates.
Scope a country comparison
Look up geography tags for Slovenia and the United States, inspect available topic combinations, and identify candidate series before comparing their definitions.
Find monthly labor market indicators
Discover employment and unemployment labels, check which related tags support monthly research, and review the matching series descriptions.
Separate seasonal adjustment choices
Identify seasonal adjustment labels, inspect their relationship to a chosen economic topic, and find series whose adjustment descriptions fit the analysis.
Prepare a food inflation reading list
Find food-related vocabulary, inspect associated geography and source tags, and assemble a shortlist of series descriptions for a Slovenia research assignment.
Investigate weekly monetary indicators
Look up monetary aggregates terminology, explore tags associated with weekly series, and identify series IDs and definitions for further research.
More on FRED tag directory and Claude Code
Overview
FRED tag directory in other agents
Questions about FRED tag directory in Claude Code
Can Claude Code use FRED tag directory?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run FRED tag directory like any built-in tool.
How much does FRED tag directory 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 tag directory in Claude Code?
No. Spiral runs FRED tag 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 tag directory in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while FRED tag directory runs?
FRED tag directory 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 US economic data?
No. FRED includes national and international economic series from public and private sources. Geography tags help identify which places are represented in a search.
Will these results include GDP, inflation, or employment values?
These requests return tags or series descriptions. Numerical observations require FRED's separate series observations request.
How many results can one request return?
Each of these FRED requests returns at most 1,000 records. Responses include a total count and offset, so a larger result set requires additional pages.
Why does adding another tag reduce the results?
FRED requires series to match every included tag. A search combining Slovenia and food therefore targets series carrying both labels.
What kinds of distinctions do FRED tags describe?
FRED has eight filter sections, including geography, frequency, source, release, seasonal adjustment, and citation and copyright. These distinctions help separate otherwise similar economic series.
Start using FRED tag directory 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


