How to Use OECD statistical observations in Grok Build
Returns OECD observations for a selected dataset, countries, and periods. Use it to build time series or compare measures such as tax revenue and social spending across economies.
Prompts to try with OECD statistical observations in Grok Build
Copy an example into Grok Build, or ask in your own words.
Use OECD statistical observations to retrieve matching annual tax revenue observations for Canada and France from 2015 through 2023, then build a comparison table in the project.
Use OECD statistical observations to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from OECD statistical observations and tell me what changed since last week.
Check OECD statistical observations and summarize what you find in three bullet points.
Pull the newest data from OECD statistical observations and give me the result as a table.
How to set up OECD statistical observations 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 OECD statistical observations
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": "sdmx-oecd-org/datasets/records_list", "input": { "dataflow": "<dataflow>" } }'
Then paste one of the prompts above: Grok Build finds OECD statistical observations on Spiral, shows the price and runs it.
OECD statistical observations providers and prices
Spiral runs OECD statistical observations 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 size | 1 to 5000 | 1000 | page_size |
Every API field of OECD Data Explorer SDMX API · Records list is on its tool page: open its card above.
What can you do with OECD statistical observations in Grok Build?
Build an OECD country comparison with readable classifications and checked statistical definitions. A coding agent can connect dataset discovery, structure inspection, observation retrieval, and update checks to the project's tables and reports.
Compare tax revenue across countries
Prepare a Canada, France, and Germany comparison: find the relevant dataset, inspect its dimensions, decode classifications, and retrieve matching observations. Check update status before refreshing the comparison and recheck individual figures selected for the report.
Maintain a trade briefing
Build a recurring United States and Japan trade briefing. Locate the dataset, check its definitions and classifications, retrieve comparable periods, inspect update status on later runs, and verify the observations quoted in the briefing.
Review social expenditure trends
Prepare a Sweden and Canada social expenditure comparison. Find the dataset, inspect available measures, explain classification labels, retrieve matching observations, check for updates, and recheck the figures used in the final table.
Refresh the evidence behind a policy report
Revisit OECD evidence used in a report on Australia and New Zealand. Confirm the dataset reference and structure, resolve classification labels, check update status, refresh the selected observations, and verify each headline figure individually.
More on OECD statistical observations and Grok Build
Overview
OECD statistical observations in other agents
Questions about OECD statistical observations in Grok Build
Can Grok Build use OECD statistical observations?
Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run OECD statistical observations like any built-in tool.
How much does OECD statistical observations 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 OECD statistical observations in Grok Build?
No. Spiral runs OECD statistical observations on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up OECD statistical observations in Grok Build?
About two minutes: add the server, then sign in, then check it.
Does Grok Build wait while OECD statistical observations runs?
OECD statistical observations runs in the background. Grok Build starts the run, checks on it and gives you the json when it's ready.
Does OECD data cover every country?
Coverage includes OECD countries and selected economies outside the OECD. Availability also depends on the dataset and the particular country, measure, and period combination.
How often does OECD data change?
Many datasets update annually, some monthly, and a few short-term economic datasets daily. OECD does not apply one update schedule to all its statistics.
Why can an OECD country or measure have no results?
OECD may have no observations for the selected combination of country, measure, and period. A country appearing elsewhere in the source does not establish coverage for that combination.
What download limit does OECD impose?
OECD currently permits 60 data downloads per hour and temporarily blocks requests above that limit. The restriction also covers CSV downloads from its browser interface.
Can an OECD dataset change its structure?
Yes. New dataflow versions can add, remove, or rename dimensions, so an older selection can require changes before it works with the new structure.
Start using OECD statistical observations 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


