Health
Data source: WHO GHO OData API
MCP Protocol
Endpoint
https://context.gnist.ai/mcp/who-gho/
claude_desktop_config.json
{
"mcpServers": {
"gnist-who-gho": {
"url": "https://context.gnist.ai/mcp/who-gho/",
"headers": {
"Gnist-API-Key": "YOUR_API_KEY"
}
}
}
}
Shell
curl -X POST "https://context.gnist.ai/mcp/who-gho/" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "Gnist-API-Key: YOUR_API_KEY" \
-d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "search_health_indicators", "arguments": {"query": "example"}}}'
REST API
API Root
https://context.gnist.ai/rest/who-gho/
5 endpoints available:
GET /rest/who-gho/search_health_indicatorsGET /rest/who-gho/get_health_indicator_dataGET /rest/who-gho/compare_countries_healthGET /rest/who-gho/get_country_health_profileGET /rest/who-gho/report_feedback
Shell
curl "https://context.gnist.ai/rest/who-gho/search_health_indicators?query=example" \ -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx
resp = httpx.get(
"https://context.gnist.ai/rest/who-gho/search_health_indicators",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
params={
"query": "example"
},
)
print(resp.json())
Command Line
Command
gc who-gho
CLI documentation will be available when the GnistAI SDK is published.
Install
pip install gnistai
Available Tools (5)
search_health_indicatorsSearch for WHO health indicators by keyword.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | required | Search term (e.g. 'life expectancy', 'malaria', 'tuberculosis', 'obesity'). |
max_results | integer | optional | Maximum number of indicators to return. (default: 25) |
get_health_indicator_dataGet data for a specific WHO health indicator.
| Parameter | Type | Required | Description |
|---|---|---|---|
indicator_code | string | required | WHO GHO indicator code (e.g. 'WHOSIS_000001' for life expectancy). Use search_health_indicators() to find codes. |
country | any | optional | ISO alpha-3 country code (e.g. 'NOR', 'USA', 'GBR'). Omit for all countries. |
year_from | any | optional | Start year (inclusive). |
year_to | any | optional | End year (inclusive). |
sex | any | optional | Filter by sex: 'male', 'female', or 'both'. |
max_results | integer | optional | Maximum data points to return. (default: 500) |
compare_countries_healthCompare countries on a specific health indicator.
| Parameter | Type | Required | Description |
|---|---|---|---|
indicator_code | string | required | WHO GHO indicator code to compare across countries. |
countries | list[string] | required | List of ISO alpha-3 country codes (e.g. ['NOR', 'SWE', 'DNK', 'FIN']). |
year | any | optional | Specific year to compare. Omit for latest available. |
get_country_health_profileGet a comprehensive health profile for a country.
| Parameter | Type | Required | Description |
|---|---|---|---|
country | string | required | ISO alpha-3 country code (e.g. 'NOR', 'USA', 'GBR', 'JPN'). |
report_feedbackReport a bug, feature request, or general feedback for this data source.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |