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

Grok · Public Records

How to Use WHO health dimension codes in Grok

Returns WHO dimension definitions or the codes and labels within a dimension, such as countries or sex categories. Use it to translate labels and identify the categories needed for a health comparison.

Prompts to try with WHO health dimension codes in Grok

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

Use WHO health dimension codes to find the country codes and names for Kenya, Uganda, and Tanzania, and show their WHO region where returned.

WHO health dimension codesGrok
Try asking
  • Use WHO health dimension codes to list WHO's sex categories and explain their labels for a Japan and France life expectancy comparison.

  • Use WHO health dimension codes to look this up and give me the result as a table.

  • Pull the latest numbers from WHO health dimension codes and tell me what changed since last week.

  • Check WHO health dimension codes and summarize what you find in three bullet points.

How to set up WHO health dimension codes 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 WHO health dimension codes

    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": "who-int/indicators/dimensions",
        "input": {
          "dimension_code": "<dimension_code>"
        }
      }'

Then paste one of the prompts above: Grok finds WHO health dimension codes on Spiral, shows the price and runs it.

WHO health dimension codes providers and prices

Spiral runs WHO health dimension codes through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
WHO Global Health Observatory · Dimensions
who-int/indicators/dimensions

What can you do with WHO health dimension codes in Grok?

Prepare a public health briefing comparing countries using WHO's own measures and labels. A chat app can help identify the indicator, explain the returned categories, and summarize the available observations.

Compare country health trends

Find the life expectancy measure, resolve country and population categories, and compare the available years for Brazil, India, and South Africa in a public health briefing.

Build a child survival evidence table

Identify the under-five mortality indicator, check geographic labels, and assemble comparable observations for Kenya, Uganda, and Tanzania.

Prepare a life expectancy comparison by sex

Select the life expectancy indicator, resolve WHO's sex categories, and retrieve the available male and female observations for Japan and France.

Check a report's WHO references

Match the measures named in a public health report to WHO's catalog, verify the geography and population labels, and compare its cited figures with the available observations.

Audit coverage before making a chart

Choose a mortality measure, resolve the intended countries and categories, and inspect which requested country-year combinations have observations before building a comparison.

Maintain a public health teaching dataset

Keep indicator names and category labels alongside observations for a Brazil, India, and South Africa classroom exercise. Recheck the selected WHO series when updating the lesson.

Questions about WHO health dimension codes in Grok

Can Grok use WHO health dimension codes?

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run WHO health dimension codes like any built-in tool.

How much does WHO health dimension codes 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 WHO health dimension codes in Grok?

No. Spiral runs WHO health dimension codes on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up WHO health dimension codes 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 WHO health dimension codes runs?

WHO health dimension codes runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

Does WHO have every indicator for all 194 countries?

The GHO's overall scope is 194 WHO Member States, but coverage depends on the indicator. For example, the published life expectancy methodology describes life tables for 183 states.

How often does WHO update the data?

Update schedules differ by indicator. WHO lists expected annual dissemination for under-five mortality and dissemination every two years for life expectancy.

Why can WHO figures differ from national statistics?

WHO says its GHO estimates are not always the same as official national estimates. Label comparisons as WHO estimates when that is what the selected series represents.

How far back does the historical data go?

History depends on the indicator. The published life expectancy methodology describes estimates for 1990–2021; that range is an example of documented coverage, not a universal GHO date range.

Get started

Start using WHO health dimension codes 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