How to Use World Bank statistical metadata in Gemini
Returns available country or series documentation, including definitions, sources, periodicity, and methodology. Use it to explain how a statistic was produced and whether comparisons need qualification.
Prompts to try with World Bank statistical metadata in Gemini
Copy an example into Gemini, or ask in your own words.
Use World Bank statistical metadata to explain the definition, sources, and methodology available for total population in World Development Indicators.
Use World Bank statistical metadata to look this up and give me the result as a table.
Pull the latest numbers from World Bank statistical metadata and tell me what changed since last week.
Check World Bank statistical metadata and summarize what you find in three bullet points.
Pull the newest data from World Bank statistical metadata and give me the result as a table.
How to set up World Bank statistical metadata in Gemini
Pick the way that suits you. Each takes about two minutes.
Use the Gemini connector
- Open Connected Apps
On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.
- Add Spiral as a custom app
Under Custom apps, click Add a custom app and paste this MCP server URL:
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.
Use the Spiral skill
- Send Gemini 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 statistical metadata
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/metadata", "input": { "id": "<id>", "concept": "series", "source_id": "<source_id>" } }'
Then paste one of the prompts above: Gemini finds World Bank statistical metadata on Spiral, shows the price and runs it.
World Bank statistical metadata providers and prices
Spiral runs World Bank statistical metadata through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Gemini for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Concept | series or country | Which dimension the id belongs to. |
Every API field of World Bank Data · Metadata is on its tool page: open its card above.
What can you do with World Bank statistical metadata in Gemini?
Prepare a country comparison whose measures and classifications are explained alongside the numbers. A chat agent can use World Bank records to identify economies, choose statistics, and explain the documentation behind a comparison.
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.
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.
Write an annotated research guide
Explain World Bank topic and classification labels alongside the available statistical documentation for measures students will use in a Brazil development report.
More on World Bank statistical metadata and Gemini
Overview
World Bank statistical metadata in other agents
Questions about World Bank statistical metadata in Gemini
Can Gemini use World Bank statistical metadata?
Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run World Bank statistical metadata like any built-in tool.
How much does World Bank statistical metadata cost in Gemini?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini plan is separate.
Do I need an Alexandria account to use World Bank statistical metadata in Gemini?
No. Spiral runs World Bank statistical metadata 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 statistical metadata in Gemini?
About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.
Does Gemini wait while World Bank statistical metadata runs?
World Bank statistical metadata runs in the background. Gemini 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 statistical metadata in Gemini
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini:
set up https://spiral.ai/SKILL.md


