Skip to main content
Glama

Swahili Health MCP

Kenya county-level maternal health, child immunization and child stunting indicators for AI agents, from the DHS Program's Kenya Demographic and Health Survey 2022. Real survey data, bundled in the package (works offline), with the source, survey year, reference period and sample size on every answer.

PyPI version License: MIT

Tools

Tool

What it does

list_health_indicators

The 11 indicators held (id, label, population, whether higher or lower is better) and the survey they come from. Call this first.

get_county_health_profile

Every indicator for one county.

get_maternal_health_indicators

Antenatal visits (4+), antenatal care from a skilled provider, skilled assistance at delivery, health-facility delivery, no postnatal checkup.

get_immunization_coverage

Children 12-23 months who received BCG, DPT3, measles, were fully vaccinated (8 basic antigens) or received none.

compare_counties

Rank the counties on one indicator: where is need greatest, where is coverage best.

All 47 counties, Nairobi included. An unknown county or vaccine is an error that lists the valid values; nothing is guessed or defaulted.

Related MCP server: KenyaMCPServer

Install and use

pip install swahili-health-mcp
claude mcp add swahili-health -- swahili-health-mcp      # or: uvx swahili-health-mcp

Then ask: "Which five counties have the lowest DPT3 coverage?", "Compare antenatal care in Turkana and Nairobi."

What these numbers are, and are not

  • Survey estimates, not routine facility reporting (KHIS). Each carries sampling error; county samples are small, so close values are not reliably different (the sample size n is in every answer).

  • The reference period is the DHS-preferred one (the two years before the survey). DHS also publishes a three-year period for the same counties; this server deliberately uses one.

  • Data: The DHS Program, Kenya DHS 2022 (KNBS and ICF), retrieved from api.dhsprogram.com and bundled as swahili_health_mcp/data/kdhs2022_counties.json. Rebuild it with python scripts/refresh_kdhs.py (needs network; the server does not).

  • Not clinical advice and not an operational record. There is no facility register, disease surveillance or health-worker data here: earlier versions advertised some of those and did not deliver them (see below).

Changes in 0.2.0 (breaking)

  • Replaced synthetic demo numbers (identical for every county) with real KDHS 2022 county estimates.

  • Removed the demo facility list (unverified details). A real facility register (Kenya Master Health Facility List) is not integrated yet.

  • The README previously listed tools that never existed (get_disease_surveillance, get_health_worker_count, and others); the tool list above is exactly what the server exposes, and a test enforces it.

  • Moved from a hand-rolled JSON-RPC loop to FastMCP 4, which serves both the legacy and the stateless 2026-07-28 MCP protocol revisions.

IP & Collaboration

MIT licensed. Feedback via GitHub Issues only — pull requests are not accepted. Survey estimates are not suitable for clinical or operational decisions. Full policy: docs/architecture/IP_POLICY.md. Security reports: see SECURITY.md.

Part of the East Africa coordination stack

Model-agnostic by design: closed APIs, open-weight models, and small distilled models are all first-class citizens.

Available Tools

3 tools
get_immunization_coverageB

Pata kiwango cha chanjo / Get immunization coverage for a county and vaccine

Inputs: county (required), vaccine.

get_maternal_health_indicatorsB

Pata takwimu za afya ya uzazi / Get maternal health indicators for a county

Inputs: county (required).

search_health_facilitiesB

Tafuta vituo vya afya Kenya / Search Kenya health facilities

Inputs: level, county.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool targets a distinct domain: facility search, maternal health, and immunization. There is no overlap in purpose, making it easy for an agent to select the correct tool.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern: search_health_facilities, get_maternal_health_indicators, get_immunization_coverage. The naming is predictable and uniform.

    Tool Count4/5

    With only 3 tools, the server is minimal but appropriately scoped for a focused Kenyan health data provider. It sits at the lower boundary of the ideal 3-15 range, so slightly thin but still reasonable.

    Completeness3/5

    The tool surface covers facility search, maternal health, and immunization, but lacks other common health indicators (e.g., HIV/AIDS, malaria, child health) that would be expected from a general 'health' MCP. This leaves notable gaps for broader health queries.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Provides access to the World Health Organization's Global Health Observatory data, enabling AI assistants to search, retrieve, and analyze comprehensive health indicators, country statistics, disease burden data, and regional health trends through WHO's OData API.
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Provides access to Kenya's civic datasets including parliament records, county budgets, SACCO registry, and drought data through MCP tools. Enables AI agents to analyze and query Kenyan public data for civic applications.
      6
      57 PyPI
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides access to UNICEF data on global statistics about child health, enabling AI agents to query child health indicators.
      80 npm
      MIT