[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [World Bank topics and classifications](https://spiral.ai/integrations/gemini-cli/world-bank-topics-and-classifications)

# How to Use World Bank topics and classifications in Gemini CLI

Returns definitions and codes for topics, regions, income levels, or lending categories. Use it to label classifications correctly and choose a meaningful scope for research.

|  |  |
| --- | --- |
| Model | World Bank topics and classifications |
| 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 topics and classifications in Gemini CLI

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

## How to set up World Bank topics and classifications in Gemini CLI

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

### Use Spiral's MCP server

1. **Add the server**: Or add it to `~/.gemini/settings.json` yourself:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
gemini mcp list
```

### Use the Spiral skill

1. **Send Gemini CLI 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 topics and classifications**: 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/reference",
    "input": {
      "kind": "topic"
    }
  }'
```

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

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

## World Bank topics and classifications tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| code |  | — | One item: topic id (3), region code (SSF), income level (LIC) or lending type (IDX). Pattern: ^[A-Za-z0-9]{1,4}$. |

## What can you do with World Bank topics and classifications in Gemini CLI?

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.

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

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

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

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

## Overview

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

## World Bank topics and classifications in other agents

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

## More Gemini CLI guides

- [World Bank statistical metadata](https://spiral.ai/integrations/gemini-cli/world-bank-statistical-metadata)
- [Xe currency conversion](https://spiral.ai/integrations/gemini-cli/xe-currency-conversion)
- [World Bank indicator observations](https://spiral.ai/integrations/gemini-cli/world-bank-indicator-observations)
- [Xe currency list](https://spiral.ai/integrations/gemini-cli/xe-currency-list)
- [World Bank indicator definition](https://spiral.ai/integrations/gemini-cli/world-bank-indicator-definition)
- [Xe currency profile](https://spiral.ai/integrations/gemini-cli/xe-currency-profile)

## Questions about World Bank topics and classifications in Gemini CLI

**Can Gemini CLI use World Bank topics and classifications?**

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

**How much does World Bank topics and classifications cost in Gemini CLI?**

$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 CLI plan is separate.

**Do I need an Alexandria account to use World Bank topics and classifications in Gemini CLI?**

No. Spiral runs World Bank topics and classifications 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 topics and classifications in Gemini CLI?**

About two minutes: add the server, then sign in, then check it.

**Does Gemini CLI wait while World Bank topics and classifications runs?**

World Bank topics and classifications runs in the background. Gemini CLI 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.

