Harvard WHO Health MCP Server for Vercel AI SDKGive Vercel AI SDK instant access to 16 tools to Compare Countries, Get Countries, Get Dimensions, and more
The Vercel AI SDK is the TypeScript toolkit for building AI-powered applications. Connect Harvard WHO Health through Vinkius and every tool is available as a typed function. ready for React Server Components, API routes, or any Node.js backend.
Ask AI about this MCP Server for Vercel AI SDK
The Harvard WHO Health MCP Server for Vercel AI SDK 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 { createMCPClient } from "@ai-sdk/mcp";
import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";
async function main() {
const mcpClient = await createMCPClient({
transport: {
type: "http",
// Your Vinkius token. get it at cloud.vinkius.com
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
});
try {
const tools = await mcpClient.tools();
const { text } = await generateText({
model: openai("gpt-4o"),
tools,
prompt: "Using Harvard WHO Health, list all available capabilities.",
});
console.log(text);
} finally {
await mcpClient.close();
}
}
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.
The Vercel AI SDK gives every Harvard WHO Health tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 16 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
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 Vercel AI SDK 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 Vercel AI SDK
When Vercel AI SDK 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 Vercel AI SDK via MCP
Follow these steps to wire Harvard WHO Health into Vercel AI SDK. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
npm install @ai-sdk/mcp ai @ai-sdk/openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the script
agent.ts and run with npx tsx agent.tsExplore tools
Why Use Vercel AI SDK with the Harvard WHO Health MCP Server
Vercel AI SDK provides unique advantages when paired with Harvard WHO Health through the Model Context Protocol.
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same Harvard WHO Health integration everywhere
Built-in streaming UI primitives let you display Harvard WHO Health tool results progressively in React, Svelte, or Vue components
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
Harvard WHO Health + Vercel AI SDK Use Cases
Practical scenarios where Vercel AI SDK combined with the Harvard WHO Health MCP Server delivers measurable value.
AI-powered web apps: build dashboards that query Harvard WHO Health in real-time and stream results to the UI with zero loading states
API backends: create serverless endpoints that orchestrate Harvard WHO Health tools and return structured JSON responses to any frontend
Chatbots with tool use: embed Harvard WHO Health capabilities into conversational interfaces with streaming responses and tool call visibility
Internal tools: build admin panels where team members interact with Harvard WHO Health through natural language queries
Example Prompts for Harvard WHO Health in Vercel AI SDK
Ready-to-use prompts you can give your Vercel AI SDK 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 Vercel AI SDK
Common issues when connecting Harvard WHO Health to Vercel AI SDK through Vinkius, and how to resolve them.
createMCPClient is not a function
npm install @ai-sdk/mcpHarvard WHO Health + Vercel AI SDK FAQ
Common questions about integrating Harvard WHO Health MCP Server with Vercel AI SDK.
How does the Vercel AI SDK connect to MCP servers?
createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.Can I use MCP tools in Edge Functions?
Does it support streaming tool results?
useChat and streamText that handle tool calls and display results progressively in the UI.Explore More MCP Servers
View all →
Replicate
12 toolsEquip your AI to dynamically search, run, and monitor thousands of open-source machine learning models hosted on Replicate via simple text commands.

Poké
49 toolsAccess the ultimate Pokémon encyclopedia — query berries, contest effects, and encounter methods directly from your AI agent.

Payrexx
11 toolsAccept payments online with a Swiss payment gateway that supports local and international methods with PCI compliance built in.

Simple Analytics
5 toolsPrivacy-first web analytics without cookies. Fetch aggregated stats, export raw data, and manage your websites directly from your AI agent.
