
Afya Mcp
io.github.gabrielmahia由 GitHub 账号 gabrielmahia 发布v0.1.13更新于 Nov 7, 2026
Kenya health system guides: SHA/SHIF coverage, facility templates, maternal care, CHWs. Demo data.
概览
面向肯尼亚卫生体系的本地 MCP 服务器:SHA/SHIF 覆盖、机构查找、孕产保健、社区卫生工作者支持与基本药物。
- 可以做什么
- 查询肯尼亚 SHA/SHIF 覆盖范围与卫生体系指引
- 查找医疗机构并引导至合适的照护层级
- 获取孕产保健与社区卫生工作者(CHW)支持信息
- 查询基本药物信息
- 通过 DHS Program API 获取肯尼亚 DHS 2022 全国或按县的官方指标,并标注来源、署名与获取时间
- 适用场景
- 当助手需要可靠的肯尼亚卫生体系信息(覆盖规则、机构选择、孕产照护或 CHW 指引),或需要某县的官方 DHS 指标数据时适用。README 将其定位为健康信息的 RAG 入口,而非临床决策工具。
- 运行要求
- 以 PyPI 包 afya-mcp(pip install afya-mcp)通过 stdio 在本地运行,可配合任意 MCP 客户端,仅限桌面端。未声明认证、环境变量或请求头。DHS 指标工具需要访问 DHS Program API 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Afya Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
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. 7 tools.
Live data
dhs_health_indicator: official Kenya DHS 2022 figures (vaccination, stunting, skilled birth attendance, modern contraception, under-five mortality), nationally or by county, via the DHS Program API.
Each live answer names its source, attribution and retrieval time; if a service does not answer, the tool returns an error instead of a number. The other tools are unchanged.
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
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.
来源:README.md,提交 d4bcd7a
工具
0版本历史
11- v0.1.13最新Nov 7, 2026
- v0.1.12Nov 5, 2026
- v0.1.11Nov 3, 2026
- v0.1.10Oct 22, 2026
- v0.1.9Oct 21, 2026
- v0.1.8Oct 17, 2026
- v0.1.7Oct 13, 2026
- v0.1.6Oct 10, 2026
- v0.1.5Oct 8, 2026
- v0.1.4Oct 5, 2026
- v0.1.3Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分