[Integrations](https://spiral.ai/integrations) › [Gemini](https://spiral.ai/integrations/gemini) › [World Bank database dimensions](https://spiral.ai/integrations/gemini/world-bank-database-dimensions)

# How to Use World Bank database dimensions in Gemini

Returns the dimensions available in a source database, with their IDs and names. Use it to understand a database's structure before looking up dimension values or observations.

|  |  |
| --- | --- |
| Model | World Bank database dimensions |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with World Bank database dimensions in Gemini

- Use World Bank database dimensions to look this up and give me the result as a table.
- Pull the latest numbers from World Bank database dimensions and tell me what changed since last week.
- Check World Bank database dimensions and summarize what you find in three bullet points.
- Pull the newest data from World Bank database dimensions and give me the result as a table.
- Check World Bank database dimensions every morning and tell me only when something changed.

## How to set up World Bank database dimensions in Gemini

Pick the way that suits you. Each takes about two minutes.

### Use the Gemini connector

1. **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.

2. **Add Spiral as a custom app**: Under Custom apps, click Add a custom app and paste this MCP server URL:

```text
https://api.spiral.ai/mcp
```

3. **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

1. **Send Gemini this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run World Bank database dimensions**: One request; the result comes back by polling or a webhook.

```bash
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_concepts",
    "input": {
      "source_id": "<source_id>"
    }
  }'
```

Then paste one of the prompts above: Gemini finds World Bank database dimensions on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini

## World Bank database dimensions tools and prices

- [World Bank Data · Source concepts](https://spiral.ai/tools/alexandria/data-worldbank-org/indicators/source_concepts) (Alexandria): $0.00873 per call.

## What can you do with World Bank database dimensions 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.

### Document a database before analysis

Create a research inventory for World Development Indicators that lists its dimensions, available dimension values, indicator records, and topic definitions.

### 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.

### Populate a statistical research browser

Build country and topic navigation from World Bank records, add searchable indicator descriptions, and expose database dimensions with their available selections.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Gemini guides](https://spiral.ai/integrations/gemini)

## World Bank database dimensions in other agents

- [Amp](https://spiral.ai/integrations/amp/world-bank-database-dimensions)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/world-bank-database-dimensions)
- [Claude](https://spiral.ai/integrations/claude-desktop/world-bank-database-dimensions)
- [Claude Code](https://spiral.ai/integrations/claude-code/world-bank-database-dimensions)
- [Cline](https://spiral.ai/integrations/cline/world-bank-database-dimensions)
- [Codex](https://spiral.ai/integrations/codex/world-bank-database-dimensions)
- [Cursor](https://spiral.ai/integrations/cursor/world-bank-database-dimensions)
- [Devin](https://spiral.ai/integrations/devin/world-bank-database-dimensions)
- [dots](https://spiral.ai/integrations/dots/world-bank-database-dimensions)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/world-bank-database-dimensions)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/world-bank-database-dimensions)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/world-bank-database-dimensions)
- [goose](https://spiral.ai/integrations/goose/world-bank-database-dimensions)
- [Grok](https://spiral.ai/integrations/grok/world-bank-database-dimensions)
- [Grok Build](https://spiral.ai/integrations/grok-build/world-bank-database-dimensions)
- [Hermes](https://spiral.ai/integrations/hermes/world-bank-database-dimensions)
- [Instinct](https://spiral.ai/integrations/instinct/world-bank-database-dimensions)
- [Manus](https://spiral.ai/integrations/manus/world-bank-database-dimensions)
- [Muse](https://spiral.ai/integrations/muse/world-bank-database-dimensions)
- [Muse Code](https://spiral.ai/integrations/muse-code/world-bank-database-dimensions)
- [n8n](https://spiral.ai/integrations/n8n/world-bank-database-dimensions)
- [Notion](https://spiral.ai/integrations/notion/world-bank-database-dimensions)
- [OpenClaw](https://spiral.ai/integrations/openclaw/world-bank-database-dimensions)
- [opencode](https://spiral.ai/integrations/opencode/world-bank-database-dimensions)
- [Perplexity](https://spiral.ai/integrations/perplexity/world-bank-database-dimensions)
- [Raycast](https://spiral.ai/integrations/raycast/world-bank-database-dimensions)
- [VS Code](https://spiral.ai/integrations/vscode/world-bank-database-dimensions)
- [Windsurf](https://spiral.ai/integrations/windsurf/world-bank-database-dimensions)
- [Zapier](https://spiral.ai/integrations/zapier/world-bank-database-dimensions)

## More Gemini guides

- [World Bank country profile](https://spiral.ai/integrations/gemini/world-bank-country-profile)
- [World Bank database observations](https://spiral.ai/integrations/gemini/world-bank-database-observations)
- [World Bank country directory](https://spiral.ai/integrations/gemini/world-bank-country-directory)
- [World Bank database sources](https://spiral.ai/integrations/gemini/world-bank-database-sources)
- [USITC HTS tariff line](https://spiral.ai/integrations/gemini/usitc-hts-tariff-line)
- [World Bank dimension values](https://spiral.ai/integrations/gemini/world-bank-dimension-values)

## Questions about World Bank database dimensions in Gemini

**Can Gemini use World Bank database dimensions?**

Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run World Bank database dimensions like any built-in tool.

**How much does World Bank database dimensions 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 database dimensions in Gemini?**

No. Spiral runs World Bank database dimensions 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 dimensions 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 database dimensions runs?**

World Bank database dimensions 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.

