How to Use FRED publisher directory in Gemini CLI
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 Gemini CLI
Copy an example into Gemini CLI, 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.
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 Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI 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 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: Gemini CLI 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.
Settings you can ask for
Ask Gemini CLI 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 | source_id, name, realtime_start, or realtime_end | source_id | Which source attribute to sort by. |
| Sort order | asc or desc | asc | 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 Gemini CLI?
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.
More on FRED publisher directory and Gemini CLI
Overview
FRED publisher directory in other agents
Questions about FRED publisher directory in Gemini CLI
Can Gemini CLI use FRED publisher directory?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run FRED publisher directory like any built-in tool.
How much does FRED publisher directory cost in Gemini CLI?
$0.013 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.
Do I need an Alexandria account to use FRED publisher directory in Gemini CLI?
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 Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while FRED publisher directory runs?
FRED publisher directory runs in the background. Gemini CLI 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.
Start using FRED publisher directory in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


