4,000+ servers built on vurb.ts
Vinkius

Harvard WHO Health MCP Server for Pydantic AIGive Pydantic AI instant access to 16 tools to Compare Countries, Get Countries, Get Dimensions, and more

MCP Inspector GDPR Free for Subscribers

Pydantic AI brings type-safe agent development to Python with first-class MCP support. Connect Harvard WHO Health through Vinkius and every tool is automatically validated against Pydantic schemas. catch errors at build time, not in production.

Ask AI about this MCP Server for Pydantic AI

The Harvard WHO Health MCP Server for Pydantic AI is a standout in the Data Analytics category — giving your AI agent 16 tools to work with, ready to go from day one.

Built for AI Agents by Vinkius

Vinkius delivers Streamable HTTP and SSE to any MCP client

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
python
import asyncio
from pydantic_ai import Agent
from pydantic_ai.mcp import MCPServerHTTP

async def main():
    # Your Vinkius token. get it at cloud.vinkius.com
    server = MCPServerHTTP(url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp")

    agent = Agent(
        model="openai:gpt-4o",
        mcp_servers=[server],
        system_prompt=(
            "You are an assistant with access to Harvard WHO Health "
            "(16 tools)."
        ),
    )

    result = await agent.run(
        "What tools are available in Harvard WHO Health?"
    )
    print(result.data)

asyncio.run(main())
Harvard WHO Health
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* 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.

Pydantic AI validates every Harvard WHO Health tool response against typed schemas, catching data inconsistencies at build time. Connect 16 tools through Vinkius and switch between OpenAI, Anthropic, or Gemini without changing your integration code. full type safety, structured output guarantees, and dependency injection for testable agents.

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 Pydantic 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 Pydantic AI

When Pydantic 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

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

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

Get dimensions on Harvard WHO Health

Useful for understanding how to filter and disaggregate health data. Get WHO data dimensions metadata

get

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

Get health workforce on Harvard WHO Health

Supported types: "physicians", "nurses", "dentists", "pharmacists". Get health workforce density data

get

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

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

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

Get life expectancy on Harvard WHO Health

This is one of the most fundamental indicators of population health. Get life expectancy data

get

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

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

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

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

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

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

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 Pydantic AI via MCP

Follow these steps to wire Harvard WHO Health into Pydantic AI. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.

01

Install Pydantic AI

Run pip install pydantic-ai
02

Replace the token

Replace [YOUR_TOKEN_HERE] with your Vinkius token
03

Run the agent

Save to agent.py and run: python agent.py
04

Explore tools

The agent discovers 16 tools from Harvard WHO Health with type-safe schemas

Why Use Pydantic AI with the Harvard WHO Health MCP Server

Pydantic AI provides unique advantages when paired with Harvard WHO Health through the Model Context Protocol.

01

Full type safety: every MCP tool response is validated against Pydantic models, catching data inconsistencies before they reach your application

02

Model-agnostic architecture. switch between OpenAI, Anthropic, or Gemini without changing your Harvard WHO Health integration code

03

Structured output guarantee: Pydantic AI ensures tool results conform to defined schemas, eliminating runtime type errors

04

Dependency injection system cleanly separates your Harvard WHO Health connection logic from agent behavior for testable, maintainable code

Harvard WHO Health + Pydantic AI Use Cases

Practical scenarios where Pydantic AI combined with the Harvard WHO Health MCP Server delivers measurable value.

01

Type-safe data pipelines: query Harvard WHO Health with guaranteed response schemas, feeding validated data into downstream processing

02

API orchestration: chain multiple Harvard WHO Health tool calls with Pydantic validation at each step to ensure data integrity end-to-end

03

Production monitoring: build validated alert agents that query Harvard WHO Health and output structured, schema-compliant notifications

04

Testing and QA: use Pydantic AI's dependency injection to mock Harvard WHO Health responses and write comprehensive agent tests

Example Prompts for Harvard WHO Health in Pydantic AI

Ready-to-use prompts you can give your Pydantic AI agent to start working with Harvard WHO Health immediately.

01

"Compare life expectancy between USA, Brazil, Japan, and Nigeria"

02

"Show diabetes prevalence data for India"

03

"Get measles immunization coverage for sub-Saharan African countries"

Troubleshooting Harvard WHO Health MCP Server with Pydantic AI

Common issues when connecting Harvard WHO Health to Pydantic AI through Vinkius, and how to resolve them.

01

MCPServerHTTP not found

Update: pip install --upgrade pydantic-ai

Harvard WHO Health + Pydantic AI FAQ

Common questions about integrating Harvard WHO Health MCP Server with Pydantic AI.

01

How does Pydantic AI discover MCP tools?

Create an MCPServerHTTP instance with the server URL. Pydantic AI connects, discovers all tools, and generates typed Python interfaces automatically.
02

Does Pydantic AI validate MCP tool responses?

Yes. When you define result types as Pydantic models, every tool response is validated against the schema. Invalid data raises a clear error instead of silently corrupting your pipeline.
03

Can I switch LLM providers without changing MCP code?

Absolutely. Pydantic AI abstracts the model layer. your Harvard WHO Health MCP integration works identically with OpenAI, Anthropic, Google, or any supported provider.

Explore More MCP Servers

View all →