[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [World Bank country profile](https://spiral.ai/integrations/grok/world-bank-country-profile)

# How to Use World Bank country profile in Grok

Returns one economy's codes, region, income classification, lending category, and available capital details. Use it to check a country's identity and classification before comparing statistics.

|  |  |
| --- | --- |
| Model | World Bank country profile |
| 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 country profile in Grok

- Use World Bank country profile to show Brazil's country codes, region, income classification, and lending category in a short table.
- Use World Bank country profile to look this up and give me the result as a table.
- Pull the latest numbers from World Bank country profile and tell me what changed since last week.
- Check World Bank country profile and summarize what you find in three bullet points.
- Pull the newest data from World Bank country profile and give me the result as a table.

## How to set up World Bank country profile in Grok

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

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

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

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

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok 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 country profile**: 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/country",
    "input": {
      "country_code": "<country_code>"
    }
  }'
```

Then paste one of the prompts above: Grok finds World Bank country profile on Spiral, shows the price and runs it.

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

## World Bank country profile tools and prices

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

## What can you do with World Bank country profile in Grok?

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.

### Build a country market brief

Define a comparison set for Brazil, Mexico, and Chile, verify their classifications, select economic measures, and assemble a table with the selected indicators' definitions.

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

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

## Overview

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

## World Bank country profile in other agents

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

## More Grok guides

- [World Bank country directory](https://spiral.ai/integrations/grok/world-bank-country-directory)
- [World Bank database dimensions](https://spiral.ai/integrations/grok/world-bank-database-dimensions)
- [USITC HTS tariff line](https://spiral.ai/integrations/grok/usitc-hts-tariff-line)
- [World Bank database observations](https://spiral.ai/integrations/grok/world-bank-database-observations)
- [USITC HTS revision status](https://spiral.ai/integrations/grok/usitc-hts-revision-status)
- [World Bank database sources](https://spiral.ai/integrations/grok/world-bank-database-sources)

## Questions about World Bank country profile in Grok

**Can Grok use World Bank country profile?**

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run World Bank country profile like any built-in tool.

**How much does World Bank country profile cost in Grok?**

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

**Do I need an Alexandria account to use World Bank country profile in Grok?**

No. Spiral runs World Bank country profile 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 country profile in Grok?**

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

**Does Grok wait while World Bank country profile runs?**

World Bank country profile runs in the background. Grok 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.

