mcpField
A
afya-mcp

afya-mcp

Local
github.com/gabrielmahiaHealth0Updated 6d ago

About afya-mcp

afya-mcp is an MCP server for navigating Kenya's health system, including coverage, facilities, maternal health, community health workers, and essential medicines. It is designed as a grounded information entry point, not a standalone clinical decision system; its demo data is not for operational decisions.

Key features

  1. 01SHA/SHIF coverage lookup
  2. 02Health facility navigation
  3. 03Maternal health information
  4. 04Community health worker support
  5. 05Essential medicines information

Use cases

  1. 01Find health facility information
  2. 02Check SHA/SHIF coverage
  3. 03Support community health worker workflows
  4. 04Route people to an appropriate care level

MCP support

Provides six health-system navigation tools to MCP clients. The input describes integration with africa-coord-bus for routing coordination signals between domains.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"gabrielmahia-afya": {
"command": "uvx",
"args": [
"afya-mcp"
]
}
}
}
Run commanduvx afya-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypiafya-mcp0.1.10

Tools

6

Saved tool list · updated 5d ago

ParameterTypeRequiredDescription
querystringYes
member_tieranyNo

Details

From the project README

afya-mcp

afya-mcp Glama score smithery badge

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 evaluation
  • kilimo-mcp — agricultural advisory
  • afya-mcp — health surveillance activation
  • county-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

Model-agnostic by design: closed APIs, open-weight models, and small distilled models are all first-class citizens.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.