How to Use World Bank database observations in OpenClaw
Returns numerical observations with the database dimensions that identify each value. Use it when you need explicit country, series, and time labels in the source's multidimensional response.
Prompts to try with World Bank database observations in OpenClaw
Copy an example into OpenClaw, or ask in your own words.
Every Monday at 9am: use World Bank database observations to look this up and give me the result as a table.
Pull the latest numbers from World Bank database observations and tell me what changed since last week.
Check World Bank database observations and summarize what you find in three bullet points.
Pull the newest data from World Bank database observations and give me the result as a table.
Check World Bank database observations every morning and tell me only when something changed.
How to set up World Bank database observations in OpenClaw
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send OpenClaw 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 Spiral's MCP server
- Add the server
On the machine that runs OpenClaw's Gateway:
openclaw mcp add spiral \ --url https://api.spiral.ai/mcp \ --transport streamable-http \ --auth oauth
- Sign in
In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.
openclaw mcp login spiral
- Reload and check
A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.
openclaw mcp reload openclaw mcp doctor spiral --probe
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 database 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": "data-worldbank-org/indicators/source_data", "input": { "source_id": "<source_id>", "series_ids": [ "<series_ids>" ] } }'
Then paste one of the prompts above: OpenClaw finds World Bank database observations on Spiral, shows the price and runs it.
World Bank database observations providers and prices
Spiral runs World Bank database observations through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask OpenClaw for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Page | 1 to 10000 | 1 | 1-based page number; pass |
| Per page | 1 to 1000 | 50 | Rows per page (upstream |
Every API field of World Bank Data · Source data is on its tool page: open its card above.
What can you do with World Bank database observations in OpenClaw?
Keep a World Bank country research brief current as returned classifications, indicator records, and observations change. A scheduled agent can compare each retrieval with its previous results and report changes to the statistical records or their documentation.
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.
Prepare an education comparison
Choose economies and education measures, inspect their definitions and methodology, then discover the database dimensions and values needed to retrieve labeled observations.
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 database observations and OpenClaw
Overview
World Bank database observations in other agents
Questions about World Bank database observations in OpenClaw
Can OpenClaw use World Bank database observations?
Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run World Bank database observations like any built-in tool.
How much does World Bank database observations cost in OpenClaw?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your OpenClaw plan is separate.
Do I need an Alexandria account to use World Bank database observations in OpenClaw?
No. Spiral runs World Bank database 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 World Bank database observations in OpenClaw?
About two minutes: add the server, then sign in, then reload and check.
Does OpenClaw wait while World Bank database observations runs?
World Bank database observations runs in the background. OpenClaw 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 database observations in OpenClaw
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into OpenClaw:
set up https://spiral.ai/SKILL.md


