Spiral gives your agent every tool with one account. Browse the tools →

Claude Code · Finance

How to Use World Bank topics and classifications in Claude Code

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.

Prompts to try with World Bank topics and classifications in Claude Code

Copy an example into Claude Code, or ask in your own words.

Use World Bank topics and classifications to look this up and give me the result as a table. Save the result in ./assets.

World Bank topics and classificationsClaude Code
Try asking
  • 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 Claude Code

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

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude Code 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.

    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.

    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: Claude Code finds World Bank topics and classifications on Spiral, shows the price and runs it.

World Bank topics and classifications providers and prices

Spiral runs World Bank topics and classifications through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
World Bank Data · Reference
data-worldbank-org/indicators/reference

Settings you can ask for

Ask Claude Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Kindtopic, region, income_level, or lending_type

kind

Every API field of World Bank Data · Reference is on its tool page: open its card above.

What can you do with World Bank topics and classifications in Claude Code?

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.

Questions about World Bank topics and classifications in Claude Code

Can Claude Code use World Bank topics and classifications?

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

How much does World Bank topics and classifications cost in Claude Code?

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

Do I need an Alexandria account to use World Bank topics and classifications in Claude Code?

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 Claude Code?

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

Does Claude Code wait while World Bank topics and classifications runs?

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

Get started

Start using World Bank topics and classifications in Claude Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Claude Code:

Set up Claude Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options