Swahili Health Mcp

io.github.gabrielmahia由 GitHub 账号 gabrielmahia 发布v0.2.7更新于 Nov 7, 2026

Kenya county health indicators (maternal care, immunization, stunting) from the Kenya DHS 2022

已验证STDIO仅桌面位置与生活数据与分析

概览

AI 生成的概览

离线 MCP 服务器,提供肯尼亚 DHS 2022 县级孕产妇保健、免疫接种和发育迟缓指标,可按县查询并排名比较。

可以做什么
  • 列出内置的 11 项健康指标及其来源调查
  • 查询单个县的全部指标,或分别获取孕产妇保健与免疫接种覆盖率
  • 按某一指标对各县排名比较,找出需求最大或覆盖最好的地区
  • 每个回答附带来源、调查年份、参考期和样本量,未知县名或疫苗会报错并列出有效值
适用场景
适合需要快速、离线查阅肯尼亚县级卫生覆盖数据的场景,例如比较各县产前保健情况或找出 DPT3 覆盖率最低的县。不适用于临床或运营决策。
运行要求
需本地安装 Python(pip install swahili-health-mcp,或用 uvx 运行);调查数据已随包内置,无需网络、账号、密钥或环境变量。
安装前请注意
数据为调查估计值,存在抽样误差,县级样本较小,数值接近时未必有可靠差异;回答中会给出样本量。不是临床建议,也不是运营记录,不含医疗机构、疾病监测或卫生人员数据。早期版本曾宣传不存在的工具并使用合成演示数据,安装前请确认版本。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Swahili Health Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Swahili Health MCP

Kenya county-level maternal health, child immunization and child stunting indicators for AI agents, from the DHS Program's Kenya Demographic and Health Survey 2022. Real survey data, bundled in the package (works offline), with the source, survey year, reference period and sample size on every answer.

[PyPI version] [License: MIT]

Tools

ToolWhat it does
list_health_indicatorsThe 11 indicators held (id, label, population, whether higher or lower is better) and the survey they come from. Call this first.
get_county_health_profileEvery indicator for one county.
get_maternal_health_indicatorsAntenatal visits (4+), antenatal care from a skilled provider, skilled assistance at delivery, health-facility delivery, no postnatal checkup.
get_immunization_coverageChildren 12-23 months who received BCG, DPT3, measles, were fully vaccinated (8 basic antigens) or received none.
compare_countiesRank the counties on one indicator: where is need greatest, where is coverage best.

All 47 counties, Nairobi included. An unknown county or vaccine is an error that lists the valid values; nothing is guessed or defaulted.

Install and use

bash
pip install swahili-health-mcpclaude mcp add swahili-health -- swahili-health-mcp      # or: uvx swahili-health-mcp

Then ask: "Which five counties have the lowest DPT3 coverage?", "Compare antenatal care in Turkana and Nairobi."

What these numbers are, and are not

  • Survey estimates, not routine facility reporting (KHIS). Each carries sampling error; county samples are small, so close values are not reliably different (the sample size n is in every answer).
  • The reference period is the DHS-preferred one (the two years before the survey). DHS also publishes a three-year period for the same counties; this server deliberately uses one.
  • Data: The DHS Program, Kenya DHS 2022 (KNBS and ICF), retrieved from api.dhsprogram.com and bundled as swahili_health_mcp/data/kdhs2022_counties.json. Rebuild it with python scripts/refresh_kdhs.py (needs network; the server does not).
  • Not clinical advice and not an operational record. There is no facility register, disease surveillance or health-worker data here: earlier versions advertised some of those and did not deliver them (see below).

Changes in 0.2.0 (breaking)

  • Replaced synthetic demo numbers (identical for every county) with real KDHS 2022 county estimates.
  • Removed the demo facility list (unverified details). A real facility register (Kenya Master Health Facility List) is not integrated yet.
  • The README previously listed tools that never existed (get_disease_surveillance, get_health_worker_count, and others); the tool list above is exactly what the server exposes, and a test enforces it.
  • Moved from a hand-rolled JSON-RPC loop to FastMCP 4, which serves both the legacy and the stateless 2026-07-28 MCP protocol revisions.

IP & Collaboration

MIT licensed. Feedback via GitHub Issues only — pull requests are not accepted. Survey estimates are not suitable for clinical or 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.

来源:README.md,提交 5ed47ef

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

8
  1. v0.2.7最新Nov 7, 2026
  2. v0.2.6Nov 3, 2026
  3. v0.2.5Oct 23, 2026
  4. v0.2.4Oct 21, 2026
  5. v0.2.3Oct 17, 2026
  6. v0.2.2Oct 13, 2026
  7. v0.2.1Oct 7, 2026
  8. v0.1.2Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分