get_indicators
Pack: who-gho · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_indicators for the schema, then POST the same URL with its arguments for the data.
Search or list WHO Global Health Observatory indicators. Returns indicator codes and names. Use the indicator code with get_data to retrieve actual values. Example: get_indicators(“life expectancy”) or get_indicators(“malaria”)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | no | Optional search keyword to filter indicators (e.g., “mortality”, “tuberculosis”). Omit to list all. |
Example call
Arguments
{
"query": "life expectancy"
}
curl
curl -X POST https://gateway.pipeworx.io/who-gho/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_indicators","arguments":{"query":"life expectancy"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_indicators', {
"query": "life expectancy"
});
More examples
{
"query": "tuberculosis"
}
Response shape
Always returns: total, indicators
| Field | Type | Description |
|---|---|---|
total | number | Total number of indicators matching the query |
indicators | array | List of indicators (max 50 returned) |
Full JSON Schema
{
"type": "object",
"properties": {
"total": {
"type": "number",
"description": "Total number of indicators matching the query"
},
"indicators": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": [
"string",
"null"
],
"description": "WHO indicator code"
},
"name": {
"type": [
"string",
"null"
],
"description": "Indicator name"
}
}
},
"description": "List of indicators (max 50 returned)"
}
},
"required": [
"total",
"indicators"
]
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the who-gho pack
{
"mcpServers": {
"who-gho": {
"url": "https://gateway.pipeworx.io/who-gho/mcp"
}
}
}
See Getting Started for client-specific install steps.