Afya
FreeNot checkedMCP server for Kenya health system — NHIF/SHA coverage, facility finder, community health workers, maternal health guidance, essential medicines.
About
MCP server for Kenya health system — NHIF/SHA coverage, facility finder, community health workers, maternal health guidance, essential medicines.
README
afya-mcp Glama score smithery badge
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.
Install Afya in Claude Desktop, Claude Code & Cursor
unyly install afya-mcpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add afya-mcp -- uvx afya-mcpFAQ
Is Afya MCP free?
Yes, Afya MCP is free — one-click install via Unyly at no cost.
Does Afya need an API key?
No, Afya runs without API keys or environment variables.
Is Afya hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Afya in Claude Desktop, Claude Code or Cursor?
Open Afya on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Afya with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
