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

Grok · Finance

How to Use World Bank database sources in Grok

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.

Prompts to try with World Bank database sources in Grok

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

Use World Bank database sources to find World Development Indicators. Show its database ID, reported update date, and whether data and explanatory metadata are available.

World Bank database sourcesGrok
Try asking
  • Use World Bank database sources to find International Debt Statistics and summarize the returned database record in plain English.

  • Use World Bank database sources to compare World Development Indicators and International Debt Statistics by reported update date and data and metadata availability.

  • Use World Bank database sources to make an alphabetical table of the returned databases that report indicator data as available. State whether the list is complete.

  • Use World Bank database sources to find Doing Business and show the reported update date and both availability indicators.

How to set up World Bank database sources 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.

    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.

    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.

    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: Grok finds World Bank database sources on Spiral, shows the price and runs it.

World Bank database sources providers and prices

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

AlexandriaFinance
World Bank Data · Sources
data-worldbank-org/indicators/sources

What can you do with World Bank database sources in Grok?

Create a source reference table for a World Bank research brief, with database names, IDs, and reported update dates. A chat app can explain which records report indicator data and which report explanatory metadata.

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.

Questions about World Bank database sources in Grok

Can Grok use World Bank database sources?

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

How much does World Bank database sources 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 database sources in Grok?

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 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 database sources runs?

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

Get started

Start using World Bank database sources in Grok

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

Paste this into Grok:

Set up Grok

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