io.github.gabrielmahia/afya-mcp
Kenya health system guides: SHA/SHIF coverage, facility templates, maternal care, CHWs. Demo data.
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
afya-mcpclaude mcp add afya-mcp -- uvx afya-mcp==0.1.10
{
"mcpServers": {
"afya-mcp": {
"command": "uvx",
"args": [
"afya-mcp==0.1.10"
]
}
}
}
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
Contents
afya-mcp
Install: pip install afya-mcp · Use with any MCP client.
MCP server for Kenya health system navigation — SHA/SHIF coverage, facility finder, maternal health, CHW support, and essential medicines. 6 tools.
Part of the East Africa Coordination Stack
This MCP server is part of 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, SHA/SHIF 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— 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.
Frequently asked questions
What is io.github.gabrielmahia/afya-mcp?
Kenya health system guides: SHA/SHIF coverage, facility templates, maternal care, CHWs. Demo data.
How do I install io.github.gabrielmahia/afya-mcp?
It runs on your machine. In Claude Code: claude mcp add afya-mcp -- uvx afya-mcp==0.1.10. For other clients, paste the JSON configuration from this page into their MCP settings.
Does io.github.gabrielmahia/afya-mcp need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Is io.github.gabrielmahia/afya-mcp open source?
Yes. Its code is on GitHub under the MIT license.
Who maintains io.github.gabrielmahia/afya-mcp?
It is published by gabrielmahia. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.