Swahili Health Mcp

io.github.gabrielmahiaPublished by GitHub account gabrielmahiav0.2.7Updated Nov 7, 2026

Kenya county health indicators (maternal care, immunization, stunting) from the Kenya DHS 2022

VerifiedSTDIODesktop onlyLocation & LifestyleData & Analytics

Overview

AI-generated overview

Offline MCP server serving Kenya DHS 2022 county-level maternal health, immunization and stunting indicators, with per-county profiles and county rankings.

What you can do
  • List the 11 bundled health indicators and their source survey
  • Get all indicators for a single county, or maternal care and immunization coverage separately
  • Rank and compare counties on one indicator to see where need is greatest or coverage best
  • Return source, survey year, reference period and sample size with each answer, and reject unknown counties or vaccines with the valid values
When to use it
Useful when an assistant needs quick, offline reference figures on Kenyan county health coverage, for example comparing antenatal care between counties or finding counties with the lowest DPT3 coverage. Not intended for clinical or operational decisions.
Requirements
Local Python install (pip install swahili-health-mcp, or run via uvx); no network, accounts, keys or environment variables needed since the survey data is bundled.
Before you install
Figures are survey estimates with sampling error, and county samples are small, so close values may not be reliably different; the sample size is included in answers. Not clinical advice and not an operational record; no facility, surveillance or health-worker data is included. Earlier versions advertised tools that did not exist and used synthetic demo numbers, so check the version.

Installation

In SourceWeft

  1. Open Swahili Health Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

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

ToolWhat it does
list_health_indicatorsThe 11 indicators held (id, label, population, whether higher or lower is better) and the survey they come from. Call this first.
get_county_health_profileEvery indicator for one county.
get_maternal_health_indicatorsAntenatal visits (4+), antenatal care from a skilled provider, skilled assistance at delivery, health-facility delivery, no postnatal checkup.
get_immunization_coverageChildren 12-23 months who received BCG, DPT3, measles, were fully vaccinated (8 basic antigens) or received none.
compare_countiesRank 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.

Install and use

bash
pip install swahili-health-mcpclaude 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.

Source: README.md at commit 5ed47ef

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

8
  1. v0.2.7LatestNov 7, 2026
  2. v0.2.6Nov 3, 2026
  3. v0.2.5Oct 23, 2026
  4. v0.2.4Oct 21, 2026
  5. v0.2.3Oct 17, 2026
  6. v0.2.2Oct 13, 2026
  7. v0.2.1Oct 7, 2026
  8. v0.1.2Sep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts