[Integrations](https://spiral.ai/integrations) › [Notion](https://spiral.ai/integrations/notion) › [World Bank database sources](https://spiral.ai/integrations/notion/world-bank-database-sources)

# How to Use World Bank database sources in Notion

Returns World Bank database names, IDs, update dates, and data and metadata availability flags. Use it to identify a database and check its reported update date before requesting statistics.

|  |  |
| --- | --- |
| Model | World Bank database sources |
| 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 sources in Notion

- Every Monday, use World Bank database sources to check World Development Indicators. Report when its database update date differs from the previous check.
- Each weekday, use World Bank database sources to check International Debt Statistics and report changes to its name, update date, or data availability.
- Once a month, use World Bank database sources to compare the returned database list with the previous month's list. Report added or missing IDs only when both lists are complete.
- Every Friday, use World Bank database sources to check World Development Indicators and International Debt Statistics. Summarize changes to explanatory metadata availability.
- On the first day of each month, use World Bank database sources to check Doing Business. Report its current update date and any change since the previous check.

## How to set up World Bank database sources in Notion

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

### Use the Spiral skill

1. **Send Notion 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 Spiral's MCP server

1. **Allow custom MCP servers**: A workspace owner opens Settings › Connections, then the Manage tab, and turns on Enable custom MCP servers. Where members may install only approved connections, also add Spiral under Approved connections › Add approved connection › Custom MCP server with the URL below.

2. **Add Spiral to a custom agent**: Open the custom agent (or create one), then Settings › Tools & Access › Add connection › Custom MCP server. Paste this URL, name it Spiral, keep OAuth and click Connect.

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

3. **Sign in to Spiral and approve**: Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Notion never sees it, and you can remove it under Settings › Connected apps in the console.

4. **Run World Bank database sources in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds World Bank database sources, prices it and runs it each time the step fires.

### 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 sources**: 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/sources",
    "input": {
      "source_id": "<source_id>"
    }
  }'
```

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

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

## World Bank database sources tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| source_id |  | — | World Bank database (source) id as a string, exactly as the API returns it: 2 = World Development Indicators, 6 = International Debt Statistics, 15 = Global Economic Monitor, 40 = Population estimates and projections. Pattern: ^[0-9]{1,5}$. |

## What can you do with World Bank database sources in Notion?

Detect changes to World Bank database records before refreshing a research dashboard. A scheduled agent can compare reported update dates and availability flags with its previous checks and produce a change report.

### Identify a database for a research brief

Find the database name and ID to cite in the research plan before requesting country statistics.

### Decide whether to refresh a dashboard

Compare a database's reported update date with the date saved from the previous check, then queue a statistics refresh when it changes.

### Build a database selector

Populate a research application's database menu with returned names and IDs, and display data availability beside each choice.

### Check whether explanatory metadata is available

Use the separate metadata availability flag to plan which databases can support a later methodology lookup.

### Review a project's source references

Compare database IDs and names in a project's configuration with the returned records and identify references that need review.

### Maintain a database change log

Compare successive source records and summarize changes to names, update dates, and availability flags.

## Overview

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

## World Bank database sources in other agents

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

## More Notion guides

- [World Bank database observations](https://spiral.ai/integrations/notion/world-bank-database-observations)
- [World Bank dimension values](https://spiral.ai/integrations/notion/world-bank-dimension-values)
- [World Bank database dimensions](https://spiral.ai/integrations/notion/world-bank-database-dimensions)
- [World Bank indicator catalog](https://spiral.ai/integrations/notion/world-bank-indicator-catalog)
- [World Bank country profile](https://spiral.ai/integrations/notion/world-bank-country-profile)
- [World Bank indicator definition](https://spiral.ai/integrations/notion/world-bank-indicator-definition)

## Questions about World Bank database sources in Notion

**Can Notion use World Bank database sources?**

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

**How much does World Bank database sources cost in Notion?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Notion plan is separate.

**Do I need an Alexandria account to use World Bank database sources in Notion?**

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

About two minutes: allow custom MCP servers, then add Spiral to a custom agent, then sign in to Spiral and approve.

**Does Notion wait while World Bank database sources runs?**

World Bank database sources runs in the background. Notion starts the run, checks on it and gives you the json when it's ready.

**Does the source list contain GDP, population, or debt figures?**

It contains database records, including names, IDs, and reported update dates. Country indicator observations require a separate data query.

**What does the reported update date tell me?**

It is the source database's last update date. The source record does not provide a separate update date for each country or indicator.

**Does every listed database have indicator data?**

The World Bank reports availability for each database: Y means indicator data is available and N means it is unavailable. A database's presence in the list alone does not establish data availability.

**Is metadata availability the same as data availability?**

The World Bank reports them separately. The metadata flag indicates whether explanatory metadata is available, while the data flag refers to indicator data.

**Can one response contain an incomplete source list?**

Yes. The underlying World Bank API defaults to 50 results per page, so the first page is not necessarily the full list.

