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.
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.
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
nis 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.comand bundled asswahili_health_mcp/data/kdhs2022_counties.json. Rebuild it withpython 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
- Install & run:
pip install reli-cli && reli list— the MCP servers on the official MCP Registry underio.github.gabrielmahia - Evaluate any model on Swahili agent tasks: kipimo · dataset · leaderboard
- Coordinate across servers: africa-coord-bus — offline-first event bus with a built-in Kenya routing table
- Datasets: huggingface.co/gmahia · Docs hub: nairobi-stack
Model-agnostic by design: closed APIs, open-weight models, and small distilled models are all first-class citizens.
Metadata
Release files for swahili-health-mcp 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| swahili_health_mcp-0.2.1.tar.gz | 17.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swahili_health_mcp-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.6 kB
Release files / swahili_health_mcp-0.2.1.tar.gz
| Download URL | swahili_health_mcp-0.2.1.tar.gz |
|---|---|
| Size | 17.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb21fae669ff9cce2c11d100bae33748fb9e90f85d3f1f01703f2fd918abda69
|
|
BLAKE2b-256 checksum How to use checksums |
d9f44eb46a16448005d49f082323a30a7fa42a9c57fa616bf0ee2e36e1e78900
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.
Transparency logRelease files / swahili_health_mcp-0.2.1-py3-none-any.whl
| Download URL | swahili_health_mcp-0.2.1-py3-none-any.whl |
|---|---|
| Size | 13.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
13c12578789616f28401b1426ea5ae49a1ac7e4d7271e2edcc910499896c345d
|
|
BLAKE2b-256 checksum How to use checksums |
52288636669bf409d39925f21668957cd15c2f65e591aa4c87f31357d0ced651
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.
Transparency log