MCP server for Kenya health system navigation — NHIF coverage, facility finder, maternal health, CHW support, and essential medicines. 6 tools.
Project description
afya-mcp
Compatible with claude-sonnet-5 (released 2026-06-30) — Anthropic's most agentic
Sonnet yet. Runs multi-step tool chains end-to-end without stopping short.
Install: pip install afya-mcp · Use with any MCP client.
MCP server for Kenya health system navigation — NHIF coverage, facility finder, maternal health, CHW support, and essential medicines. 6 tools.
Part of the East Africa Coordination Stack
This MCP server is one of 32 tools in the Kenya coordination infrastructure.
It connects to africa-coord-bus — the coordination
event bus that routes signals between domains automatically.
When this server detects a threshold condition, the bus notifies:
bima-mcp— parametric insurance evaluationkilimo-mcp— agricultural advisoryafya-mcp— health surveillance activationcounty-mcp— county office alert
pip install africa-coord-bus
All servers: pypi.org/user/gmahia
AI Architecture: Health Domain RAG
Medical AI requires grounding — ungrounded responses in health contexts cause real harm. Use this server as a RAG entry point, not a standalone health oracle.
Research basis:
- RAG Best Practices for Medical Domain (2026): RAG outperforms chain-of-thought on complex medical reasoning and is more interpretable — critical in clinical contexts.
- AfricaNLP 2025/2026: Only 4 African languages (incl. Swahili) have consistent NLP support. Healthcare is identified as the highest-priority domain needing accurate, grounded AI — and the one with the most critical data gaps.
- Multilingual NLP for African Healthcare (AfricaNLP 2025): Bias and translation errors persist specifically in African health AI contexts.
Appropriate use:
✅ Health facility navigation, NHIF coverage lookup, community health worker support
✅ Health information grounded in verified Kenya health system data
✅ Triage to appropriate care level
❌ Diagnosis, prescription, or clinical decision-making (human-in-the-loop required)
IP & Collaboration
MIT licensed. Feedback via GitHub Issues only — pull requests are not accepted. Demo data is labeled DEMO and is not suitable for 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— 33 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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file afya_mcp-0.1.3.tar.gz.
File metadata
- Download URL: afya_mcp-0.1.3.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bb4fa0cbf16a71d9fa974385ccac6e1617ab76eada86e08fe4a787806e33902
|
|
| MD5 |
94aea70dd915a652179e4775abf7f0ec
|
|
| BLAKE2b-256 |
f99442db37bd27cc8362f1dadd48285f3add383584da716951b432975f62226a
|
Provenance
The following attestation bundles were made for afya_mcp-0.1.3.tar.gz:
Publisher:
publish.yml on gabrielmahia/afya-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
afya_mcp-0.1.3.tar.gz -
Subject digest:
0bb4fa0cbf16a71d9fa974385ccac6e1617ab76eada86e08fe4a787806e33902 - Sigstore transparency entry: 2195389305
- Sigstore integration time:
-
Permalink:
gabrielmahia/afya-mcp@6637ba08f69fe472e650c1026b8b1bad438f3529 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/gabrielmahia
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6637ba08f69fe472e650c1026b8b1bad438f3529 -
Trigger Event:
release
-
Statement type:
File details
Details for the file afya_mcp-0.1.3-py3-none-any.whl.
File metadata
- Download URL: afya_mcp-0.1.3-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28f2a377860fd20bc223e74fc946f954afff4aec20d5b59e4b43f21bc2aba386
|
|
| MD5 |
4ddd87fafdaea0411ac6048c04af5d70
|
|
| BLAKE2b-256 |
b0a5992bf48dfa5a89c9129ae72955464c5d88e119759d29d674ed0018a47eca
|
Provenance
The following attestation bundles were made for afya_mcp-0.1.3-py3-none-any.whl:
Publisher:
publish.yml on gabrielmahia/afya-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
afya_mcp-0.1.3-py3-none-any.whl -
Subject digest:
28f2a377860fd20bc223e74fc946f954afff4aec20d5b59e4b43f21bc2aba386 - Sigstore transparency entry: 2195389319
- Sigstore integration time:
-
Permalink:
gabrielmahia/afya-mcp@6637ba08f69fe472e650c1026b8b1bad438f3529 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/gabrielmahia
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6637ba08f69fe472e650c1026b8b1bad438f3529 -
Trigger Event:
release
-
Statement type: