Skip to main content

MCP server for Kenya health system navigation — NHIF coverage, facility finder, maternal health, CHW support, and essential medicines. 6 tools.

Project description

afya-mcp

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

afya_mcp-0.1.3.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

afya_mcp-0.1.3-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file afya_mcp-0.1.3.tar.gz.

File metadata

  • Download URL: afya_mcp-0.1.3.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for afya_mcp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 0bb4fa0cbf16a71d9fa974385ccac6e1617ab76eada86e08fe4a787806e33902
MD5 94aea70dd915a652179e4775abf7f0ec
BLAKE2b-256 f99442db37bd27cc8362f1dadd48285f3add383584da716951b432975f62226a

See more details on using hashes here.

Provenance

The following attestation bundles were made for afya_mcp-0.1.3.tar.gz:

Publisher: publish.yml on gabrielmahia/afya-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file afya_mcp-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: afya_mcp-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for afya_mcp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 28f2a377860fd20bc223e74fc946f954afff4aec20d5b59e4b43f21bc2aba386
MD5 4ddd87fafdaea0411ac6048c04af5d70
BLAKE2b-256 b0a5992bf48dfa5a89c9129ae72955464c5d88e119759d29d674ed0018a47eca

See more details on using hashes here.

Provenance

The following attestation bundles were made for afya_mcp-0.1.3-py3-none-any.whl:

Publisher: publish.yml on gabrielmahia/afya-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page