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

Muse · Finance

How to Use World Bank country directory in Muse

Returns country codes and available region, income, lending, capital, and coordinate details across economies. Use it to build a country selector or define a comparison set.

Prompts to try with World Bank country directory in Muse

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

Use World Bank country directory to look this up and give me the result as a table.

World Bank country directoryMuse
Try asking
  • Pull the latest numbers from World Bank country directory and tell me what changed since last week.

  • Check World Bank country directory and summarize what you find in three bullet points.

  • Pull the newest data from World Bank country directory and give me the result as a table.

  • Check World Bank country directory every morning and tell me only when something changed.

How to set up World Bank country directory in Muse

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

Use the Muse connector

  1. Create an API key

    Create one under API keys in the Spiral console.

  2. Send Muse this message

    Muse reads Spiral's skill and asks for an API key.

    set up https://spiral.ai/SKILL.md
  3. Give Muse the key

    Paste the key when Muse asks for it, never in the chat itself.

Use the Spiral skill

  1. Send Muse 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 country directory

    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/countries",
        "input": {
          "page": 1
        }
      }'

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

World Bank country directory providers and prices

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

AlexandriaFinance
World Bank Data · Countries
data-worldbank-org/indicators/countries

Settings you can ask for

Ask Muse for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Page1 to 100001

1-based page number; pass next_page from the previous output to continue.

Per page1 to 1000300

Rows per page (upstream per_page).

Include aggregateson or off

include_aggregates

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

What can you do with World Bank country directory in Muse?

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.

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.

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.

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.

Questions about World Bank country directory in Muse

Can Muse use World Bank country directory?

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

How much does World Bank country directory cost in Muse?

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

Do I need an Alexandria account to use World Bank country directory in Muse?

You need no Alexandria account. Muse uses one Spiral API key for every tool, and Spiral runs World Bank country directory on its own Alexandria account.

How long does it take to set up World Bank country directory in Muse?

About two minutes: create an API key, then send Muse this message, then give Muse the key.

Does Muse wait while World Bank country directory runs?

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

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

Paste this into Muse:

Set up Muse

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