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

opencode · Public Records

How to Use WHO health indicator catalog in opencode

Returns matching WHO health indicator records so you can identify the measure behind a topic. Use it to find the right indicator before requesting observations, especially when several measures describe similar health outcomes.

Prompts to try with WHO health indicator catalog in opencode

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

Use WHO health indicator catalog to find life expectancy measures, then add their returned names and codes to this project's indicator selection table.

WHO health indicator catalogopencode
Try asking
  • Use WHO health indicator catalog to find under-five mortality measures and prepare a review table of their exact names and codes before I choose one for the report.

  • Use WHO health indicator catalog to look this up and give me the result as a table. Save the result in ./assets.

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

  • Check WHO health indicator catalog and summarize what you find in three bullet points.

How to set up WHO health indicator catalog in opencode

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

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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 indicator catalog

    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/indicators",
        "input": {
          "query": ""
        }
      }'

Then paste one of the prompts above: opencode finds WHO health indicator catalog on Spiral, shows the price and runs it.

WHO health indicator catalog providers and prices

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

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

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Page size1 to 1000100

page_size

Every API field of WHO Global Health Observatory · Indicators is on its tool page: open its card above.

What can you do with WHO health indicator catalog in opencode?

Build a country comparison table with WHO indicator names, category labels, and observations. A coding agent can use those records to populate the project's charts and check the coverage of the selected health measures.

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 indicator catalog in opencode

Can opencode use WHO health indicator catalog?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run WHO health indicator catalog like any built-in tool.

How much does WHO health indicator catalog cost in opencode?

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

Do I need an Alexandria account to use WHO health indicator catalog in opencode?

No. Spiral runs WHO health indicator catalog 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 indicator catalog in opencode?

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

Does opencode wait while WHO health indicator catalog runs?

WHO health indicator catalog runs in the background. opencode 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 indicator catalog in opencode

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

Paste this into opencode:

Set up opencode

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