How to Use FRED publisher details in opencode
Returns one economic data publisher's name, ID, real-time dates, and available website or notes. Use it to resolve a publisher reference and check its attribution.
Prompts to try with FRED publisher details in opencode
Copy an example into opencode, or ask in your own words.
Use FRED publisher details for the Board of Governors of the Federal Reserve System, source ID 1, and report discrepancies with the attribution text in this project's README.
Use FRED publisher details to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from FRED publisher details and tell me what changed since last week.
Check FRED publisher details and summarize what you find in three bullet points.
Pull the newest data from FRED publisher details and give me the result as a table.
How to set up FRED publisher details in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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 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/sources/source", "input": { "source_id": 1 } }'
Then paste one of the prompts above: opencode finds FRED publisher details on Spiral, shows the price and runs it.
FRED publisher details providers and prices
Spiral runs FRED publisher details through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Source ID | a number | The source agency to read, for example 1 for the Board of Governors. Find one with |
Every API field of FRED · Source is on its tool page: open its card above.
What can you do with FRED publisher details in opencode?
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.
Explain a publisher's statistical releases
Resolve the Board of Governors' publisher identity and organize its FRED-listed releases by name and press-release status for a research briefing.
More on FRED publisher details and opencode
Overview
FRED publisher details in other agents
Questions about FRED publisher details in opencode
Can opencode use FRED publisher details?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run FRED publisher details like any built-in tool.
How much does FRED publisher details cost in opencode?
$0.013 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use FRED publisher details in opencode?
No. Spiral runs FRED publisher 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 publisher details in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while FRED publisher details runs?
FRED publisher details runs in the background. opencode 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 details in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


