How to Use FRED data sources in Grok Build
Returns FRED's directory of data-producing institutions and their identifiers. Use it to find an agency or organization before exploring its publications.
Prompts to try with FRED data sources in Grok Build
Copy an example into Grok Build, or ask in your own words.
Use FRED data sources to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from FRED data sources and tell me what changed since last week.
Check FRED data sources and summarize what you find in three bullet points.
Pull the newest data from FRED data sources and give me the result as a table.
Check FRED data sources every morning and tell me only when something changed.
How to set up FRED data sources in Grok Build
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Add --scope project to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.
grok mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start grok and run /mcps. Select Spiral and press i. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.
- Check it
grok mcp doctor spiral
Use the Spiral skill
- Send Grok Build 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 data sources
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/sources", "input": { "page": 1 } }'
Then paste one of the prompts above: Grok Build finds FRED data sources on Spiral, shows the price and runs it.
FRED data sources providers and prices
Spiral runs FRED data sources through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Grok Build for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Page | 1 to 1000 | 1 | 1-based page (50 rows per page); pass |
Every API field of FRED (Federal Reserve Economic Data) · Sources is on its tool page: open its card above.
What can you do with FRED data sources in Grok Build?
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.
Procurement research report
Trace steel index results to the publishing agency and statistical release. Explain the selected measure's definition and historical changes alongside its source citation.
Publishing agency comparison
Compare the publications available from the Bureau of Economic Analysis and Bureau of Labor Statistics. Inspect the series in selected releases to understand which agency publishes the measure a research question needs.
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.
Inflation publication comparison
Find the agencies and publications behind consumer and producer inflation measures. Compare candidate series definitions discovered through releases, keywords, and tags before deciding which measure belongs in an explanation.
More on FRED data sources and Grok Build
Overview
FRED data sources in other agents
Questions about FRED data sources in Grok Build
Can Grok Build use FRED data sources?
Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run FRED data sources like any built-in tool.
How much does FRED data sources cost in Grok Build?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok Build plan is separate.
Do I need an Alexandria account to use FRED data sources in Grok Build?
No. Spiral runs FRED data sources 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 data sources in Grok Build?
About two minutes: add the server, then sign in, then check it.
Does Grok Build wait while FRED data sources runs?
FRED data sources runs in the background. Grok Build 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 data sources in Grok Build
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok Build:
set up https://spiral.ai/SKILL.md


