How to Use World Bank country profile in Grok Build
Returns one economy's codes, region, income classification, lending category, and available capital details. Use it to check a country's identity and classification before comparing statistics.
Prompts to try with World Bank country profile in Grok Build
Copy an example into Grok Build, or ask in your own words.
Use World Bank country profile to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from World Bank country profile and tell me what changed since last week.
Check World Bank country profile and summarize what you find in three bullet points.
Pull the newest data from World Bank country profile and give me the result as a table.
Check World Bank country profile every morning and tell me only when something changed.
How to set up World Bank country profile 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 World Bank country profile
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": "data-worldbank-org/indicators/country", "input": { "country_code": "<country_code>" } }'
Then paste one of the prompts above: Grok Build finds World Bank country profile on Spiral, shows the price and runs it.
World Bank country profile providers and prices
Spiral runs World Bank country profile through Alexandria. Open a card for today's price, with every fee included.
What can you do with World Bank country profile in Grok Build?
Build a country research browser with World Bank classifications, indicator descriptions, and labeled statistical observations. A coding agent can use the returned records to populate selectors and connect each displayed measure to its statistical documentation.
Build a country market brief
Define a comparison set for Brazil, Mexico, and Chile, verify their classifications, select economic measures, and assemble a table with the selected indicators' definitions.
Check statistics for a published article
Verify Brazil's identity and a population measure's definition, inspect methodological notes, and compare indicator observations with observations labeled by database dimensions.
Compare an economy with a regional benchmark
Check Brazil's regional classification, identify the corresponding aggregate, and compare country and regional observations with their dimension labels.
Validate a population data import
Check India's country record and population definition, inspect source notes, and reconcile indicator observations with database observations after resolving their dimension labels.
More on World Bank country profile and Grok Build
Overview
World Bank country profile in other agents
Questions about World Bank country profile in Grok Build
Can Grok Build use World Bank country profile?
Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run World Bank country profile like any built-in tool.
How much does World Bank country profile 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 World Bank country profile in Grok Build?
No. Spiral runs World Bank country profile on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up World Bank country profile in Grok Build?
About two minutes: add the server, then sign in, then check it.
Does Grok Build wait while World Bank country profile runs?
World Bank country profile runs in the background. Grok Build starts the run, checks on it and gives you the json when it's ready.
How broad is World Bank development data coverage?
The World Bank's December 2024 selection guide describes World Development Indicators as covering over 1,400 indicators and 217 economies, with history reaching 1960. Those figures describe WDI, rather than every database available through the World Bank.
Does every country have a value for every year?
No. Some World Bank indicators come from sporadic surveys and are available only every few years, so country and year coverage varies by measure.
Can I get regional statistics as well as country statistics?
Yes. World Bank aggregate observations cover regions, income levels, and lending groups. Their codes can be used in the country position of a data request.
Does a single response contain all matching results?
Not necessarily. The upstream World Bank API defaults to 50 results per page, so larger selections require additional pages.
Where can I check what a statistic actually measures?
World Bank statistical metadata can include a long definition, sources, periodicity, and methodology. Indicator records also identify the source organization and source database.
Start using World Bank country profile 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


