Harvard WHO Health MCP Server for Mastra AIGive Mastra AI instant access to 16 tools to Compare Countries, Get Countries, Get Dimensions, and more
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect Harvard WHO Health through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.
Ask AI about this MCP Server for Mastra AI
The Harvard WHO Health MCP Server for Mastra AI is a standout in the Data Analytics category — giving your AI agent 16 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";
async function main() {
// Your Vinkius token. get it at cloud.vinkius.com
const mcpClient = await createMCPClient({
servers: {
"harvard-who-health": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "Harvard WHO Health Agent",
instructions:
"You help users interact with Harvard WHO Health " +
"using 16 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with Harvard WHO Health?"
);
console.log(result.text);
}
main();
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About Harvard WHO Health MCP Server
Connect to the WHO Global Health Observatory (GHO) API — the world's most comprehensive source of global health statistics.
Mastra's agent abstraction provides a clean separation between LLM logic and Harvard WHO Health tool infrastructure. Connect 16 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
What you can do
- Health Indicators — Search 1000+ indicators across all health domains
- Life Expectancy — Track life expectancy at birth by country
- Immunization — DTP3, measles, polio, BCG, and hepatitis B coverage
- Infectious Diseases — HIV/AIDS prevalence, TB incidence, malaria estimates
- NCDs — Diabetes, obesity, hypertension, tobacco, and alcohol data
- Maternal Health — Maternal mortality ratios and reproductive health
- Health Workforce — Physicians, nurses, dentists, pharmacists per 10,000 pop.
- Health Expenditure — Per capita spending in PPP dollars
- Water & Sanitation — WASH indicators for safe water and sanitation
- Country Comparison — Compare any indicator across multiple countries
The Harvard WHO Health MCP Server exposes 16 tools through the Vinkius. Connect it to Mastra AI in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 16 Harvard WHO Health tools available for Mastra AI
When Mastra AI connects to Harvard WHO Health through Vinkius, your AI agent gets direct access to every tool listed below — spanning global-health, health-indicators, statistics, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Compare countries on Harvard WHO Health
Provide a comma-separated list of ISO 3-letter country codes. Returns the most recent 10 years of data for each country. Compare a health indicator across countries
Get countries on Harvard WHO Health
Returns ISO codes and country names for use with other indicator queries. Get list of WHO member countries
Get dimensions on Harvard WHO Health
Useful for understanding how to filter and disaggregate health data. Get WHO data dimensions metadata
Get health expenditure on Harvard WHO Health
This indicator measures how much each country spends on healthcare, adjusted for purchasing power. Get health expenditure data
Get health workforce on Harvard WHO Health
Supported types: "physicians", "nurses", "dentists", "pharmacists". Get health workforce density data
Get hiv aids on Harvard WHO Health
Tracks the percentage of the population living with HIV, a critical indicator for public health programs and resource allocation. Get HIV/AIDS prevalence data
Get immunization on Harvard WHO Health
Supported shortcuts: "dtp3" (diphtheria-tetanus-pertussis), "measles", "polio", "bcg", "hepb3". Or use a WHO indicator code directly. Get immunization coverage data
Get indicator data on Harvard WHO Health
g. "USA", "BRA", "GBR", "CHN", "IND"). Returns country, year, value, confidence intervals, and sex disaggregation. Get time-series data for a WHO indicator
Get life expectancy on Harvard WHO Health
This is one of the most fundamental indicators of population health. Get life expectancy data
Get malaria on Harvard WHO Health
Essential for tracking the global burden of malaria, particularly in sub-Saharan Africa and Southeast Asia. Get malaria case estimates
Get maternal health on Harvard WHO Health
This measures the number of maternal deaths per 100,000 live births, a critical indicator of reproductive health and healthcare quality. Get maternal mortality data
Get mortality on Harvard WHO Health
Common indicator codes: "NCDMORT3070" (NCD mortality), "CHILDMORTALITY" (under-5), "MATERNALMORTALITY". Use search_indicators to find specific codes. Get mortality data by cause
Get ncd on Harvard WHO Health
Supported shortcuts: "diabetes" (prevalence), "obesity" (BMI ≥30), "blood_pressure" (hypertension), "tobacco" (smoking), "alcohol" (consumption). Or use a WHO code. Get non-communicable disease data
Get tuberculosis on Harvard WHO Health
TB remains one of the top infectious disease killers worldwide, and this data tracks progress toward elimination. Get tuberculosis incidence data
Get water sanitation on Harvard WHO Health
Supported types: "water" (safely managed drinking water), "sanitation" (safely managed sanitation), "hygiene" (basic hygiene facilities). Get water and sanitation data
Search indicators on Harvard WHO Health
Returns indicator codes and names. Use the indicator code with get_indicator_data to retrieve time-series data. Search 1000+ WHO health indicators
Connect Harvard WHO Health to Mastra AI via MCP
Follow these steps to wire Harvard WHO Health into Mastra AI. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
npm install @mastra/core @mastra/mcp @ai-sdk/openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
agent.ts and run with npx tsx agent.tsExplore tools
Why Use Mastra AI with the Harvard WHO Health MCP Server
Mastra AI provides unique advantages when paired with Harvard WHO Health through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Harvard WHO Health without touching business code
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
TypeScript-native: full type inference for every Harvard WHO Health tool response with IDE autocomplete and compile-time checks
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
Harvard WHO Health + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the Harvard WHO Health MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query Harvard WHO Health, process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed Harvard WHO Health as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query Harvard WHO Health on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using Harvard WHO Health tools alongside other MCP servers
Example Prompts for Harvard WHO Health in Mastra AI
Ready-to-use prompts you can give your Mastra AI agent to start working with Harvard WHO Health immediately.
"Compare life expectancy between USA, Brazil, Japan, and Nigeria"
"Show diabetes prevalence data for India"
"Get measles immunization coverage for sub-Saharan African countries"
Troubleshooting Harvard WHO Health MCP Server with Mastra AI
Common issues when connecting Harvard WHO Health to Mastra AI through Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpHarvard WHO Health + Mastra AI FAQ
Common questions about integrating Harvard WHO Health MCP Server with Mastra AI.
How does Mastra AI connect to MCP servers?
MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.Can Mastra agents use tools from multiple servers?
Does Mastra support workflow orchestration?
Explore More MCP Servers
View all →
Bing Search
8 toolsEmpower your AI agent with real-time web, image, and news search via Bing.

Enrich CRM
5 toolsEnhance your CRM records with verified company data, technographic signals, and contact enrichment that keeps your database fresh.

EIA Full Access — U.S. Energy Intelligence
34 toolsThe ultimate U.S. energy data Mega-Server: 34 tools covering petroleum, electricity, natural gas, coal, energy forecasts, state data, and international comparisons — every watt, barrel, and BTU from the federal government's energy agency.

LA Metro
12 toolsAccess Los Angeles Metro data via API — track buses and rail in real-time, check arrivals, plan rail trips, and monitor service alerts from any AI agent.
