How to Use FRED economic release calendar in opencode
Returns publication dates, release IDs, and release names across FRED's economic releases. Use it to build a calendar spanning several publications before investigating one release.
Prompts to try with FRED economic release calendar in opencode
Copy an example into opencode, or ask in your own words.
Use FRED economic release calendar to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from FRED economic release calendar and tell me what changed since last week.
Check FRED economic release calendar and summarize what you find in three bullet points.
Pull the newest data from FRED economic release calendar and give me the result as a table.
Check FRED economic release calendar every morning and tell me only when something changed.
How to set up FRED economic release calendar 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 economic release calendar
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/releases/dates", "input": { "limit": 1000 } }'
Then paste one of the prompts above: opencode finds FRED economic release calendar on Spiral, shows the price and runs it.
FRED economic release calendar providers and prices
Spiral runs FRED economic release calendar 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 |
|---|---|---|---|
| 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 | release_date, release_id, or release_name | release_date | Which attribute to sort by. |
| Sort order | asc or desc | desc | Sort direction. Defaults to desc here - the only endpoint in this provider that does - so the newest dates come first. |
| Include release dates with no data | true or false | false | Include scheduled dates that have no data yet. The default of false silently drops the future, so |
Every API field of FRED · All release dates is on its tool page: open its card above.
What can you do with FRED economic release calendar in opencode?
Build a research interface that connects economic publications to their schedules, source organizations, and series definitions. A coding agent can use FRED's returned records to populate release selectors, indicator lists, and supported table views in your project.
Prepare a weekly economic briefing
Identify CPI, GDP, and Employment Situation in the directory, confirm their publication details and publishers, and combine the broad calendar with each release's date history.
Assemble a release-day research pack
For a selected GDP publication date, collect the release identity, publisher, calendar context, and date history. Add a topic-filtered series inventory and the available table hierarchy to guide the analyst's review.
Compare publication schedules
Compare recorded dates for CPI, GDP, and Employment Situation across a chosen year. Include release names and publisher links so the schedule comparison points readers to the responsible organizations.
Teach how a release becomes a dataset
Use GDP to connect calendar entries and publication history to source organizations, series metadata, and table rows. Let students explore tags and related tags to explain how they would choose a narrower dataset.
More on FRED economic release calendar and opencode
Overview
FRED economic release calendar in other agents
Questions about FRED economic release calendar in opencode
Can opencode use FRED economic release calendar?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run FRED economic release calendar like any built-in tool.
How much does FRED economic release calendar 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 economic release calendar in opencode?
No. Spiral runs FRED economic release calendar 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 release calendar in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while FRED economic release calendar runs?
FRED economic release calendar runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
What does FRED mean by an economic release?
A release is a named publication containing individual data series, such as Employment Situation. FRED organizes those series under the publication so you can investigate its contents together.
Does a release date mean its data is already in FRED?
No. FRED explicitly distinguishes dates published by data sources from the time the corresponding data becomes available in FRED or ALFRED.
Are release tables available for every publication?
FRED provides release tables for selected publications. Where available, they organize series in the format used by the original data source.
How many release records can one request return?
The calendar, directory, series metadata, tags, and related tags endpoints each allow up to 1,000 results per request. Publication date history allows up to 10,000; these lists support offset pagination.
Does the release series list contain economic values?
It returns series metadata, including units, frequency, seasonal adjustment, observation coverage, and update timestamps. Use it to identify the series needed for an analysis before retrieving observation values.
Start using FRED economic release calendar 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


