
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
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.
Installation
In SourceWeft
- Open Swahili Health Mcp in the dashboard and add it to a workspace.
- 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.
Tools
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
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.
Source: README.md at commit 5ed47ef
Tools
0Version history
8- v0.2.7LatestNov 7, 2026
- v0.2.6Nov 3, 2026
- v0.2.5Oct 23, 2026
- v0.2.4Oct 21, 2026
- v0.2.3Oct 17, 2026
- v0.2.2Oct 13, 2026
- v0.2.1Oct 7, 2026
- 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