How to Use WHO health indicator data in Windsurf
Returns observations for a WHO health indicator, organized by geography, time, and available population breakdowns. Use it to compare reported values across countries or years after choosing the measure you need.
Prompts to try with WHO health indicator data in Windsurf
Copy an example into Windsurf, or ask in your own words.
Use WHO health indicator data to retrieve available life expectancy observations for Japan and France from 2000 through 2021, then build a comparison chart in this project.
Use WHO health indicator data to retrieve the selected under-five mortality series for Kenya, Uganda, and Tanzania from 2010 through 2020, then show country-year coverage in this project's report.
Use WHO health indicator data 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 data and tell me what changed since last week.
Check WHO health indicator data and summarize what you find in three bullet points.
How to set up WHO health indicator data in Windsurf
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:
{ "mcpServers": { "spiral": { "url": "https://api.spiral.ai/mcp" } } } - Sign in
Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.
devin mcp login spiral
- Check it
Spiral is listed under This computer in Customize › MCPs. From the terminal:
devin mcp list
Use the Spiral skill
- Send Windsurf this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run WHO health indicator data
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/data", "input": { "indicator_code": "<indicator_code>" } }'
Then paste one of the prompts above: Windsurf finds WHO health indicator data on Spiral, shows the price and runs it.
WHO health indicator data providers and prices
Spiral runs WHO health indicator data through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Windsurf for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Time to | 1000 to 9999 | Inclusive last year (TimeDim le). | |
| Page size | 1 to 1000 | 100 | Rows per page; the GHO server caps $top at 1000. |
| Time from | 1000 to 9999 | Inclusive first year (TimeDim ge). | |
| Spatial dim type | COUNTRY, REGION, WORLDBANKINCOMEGROUP, GLOBAL, or null | Restrict to one spatial level. Omit for all levels; spatial_dim_type on each record says which. |
Every API field of WHO Global Health Observatory · Data is on its tool page: open its card above.
What can you do with WHO health indicator data in Windsurf?
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.
More on WHO health indicator data and Windsurf
Overview
WHO health indicator data in other agents
Questions about WHO health indicator data in Windsurf
Can Windsurf use WHO health indicator data?
Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run WHO health indicator data like any built-in tool.
How much does WHO health indicator data cost in Windsurf?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.
Do I need an Alexandria account to use WHO health indicator data in Windsurf?
No. Spiral runs WHO health indicator data 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 data in Windsurf?
About two minutes: add the server, then sign in, then check it.
Does Windsurf wait while WHO health indicator data runs?
WHO health indicator data runs in the background. Windsurf 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.
Start using WHO health indicator data in Windsurf
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Windsurf:
set up https://spiral.ai/SKILL.md


