Skip to content
MCP server
Registry

afya-mcp MCP Server

Kenya health system guides: SHA/SHIF coverage, facility templates, maternal care, CHWs. Demo data.

afya-mcp scores 65 (Good), licensed MIT and written in Python. It installs as a local process. It declares 1 tool. Filed under Uncategorized. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by gabrielmahiaMITPython0 stars
Trust score
65Good
Trust score 65 of 100, Good

Good trust

65 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 65 comes from

22 + 20 + 0 + 10 + 10 + 3 = 65. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security10 / 10

Not archived, a secure install path, a pinned version.

Security: 10 of 10 points.
Docs3 / 10

A real summary, a README with depth, listed tools.

Docs: 3 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "gabrielmahia-afya-mcp": {      "command": "uvx",      "args": [        "afya-mcp"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools1Tool docs quality grade C

All capabilities
  • official Kenya DHS 2022 figures (vaccination, stunting, skilled birth attendance, modern contraception, under-five mortality), nationally or by county, via the DHS Program API.

About

afya-mcp

afya-mcp Glama score

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 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.

Frequently asked questions

What is afya-mcp MCP Server?

Kenya health system guides: SHA/SHIF coverage, facility templates, maternal care, CHWs. Demo data.

How do I install afya-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. afya-mcp MCP Server runs locally from the PyPI package afya-mcp with the command uvx afya-mcp.

Is afya-mcp MCP Server free and open source?

Yes. afya-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does afya-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for afya-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does afya-mcp MCP Server provide?

afya-mcp MCP Server provides 1 tool: dhs_health_indicator. See the full tool list for descriptions and parameters.

How is afya-mcp MCP Server's trust score calculated?

afya-mcp MCP Server scores 65 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server