Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

io.github.gabrielmahia/afya-mcp

PYPI · AFYA-MCP

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

Available components

0 this week 95 Trust /100

Last scanned (22 hours ago)

Scores higher than 98% of PyPI servers

Category Health and Science

Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security100
  • No malware found by supply-chain analysis.Pass
  • No known CVEs affecting this package version or its production dependencies.Pass
  • Runs setuptools.build_meta at install time, a recognised build step with no custom scripting around it. View diagnostics → Pass
  • 1 of 15 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency100
  • Source repository is publicly reachable at the declared URL. View diagnostics → Pass
  • Cryptographically verified build provenance (signed, bound to gabrielmahia/afya-mcp). View diagnostics → Pass
  • Clear OSI-approved license (MIT).Pass
  • Actively maintained (last published 1 days ago).Pass
  • Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability72
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 1094 tokens (~182/item across 6 items; 6 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management100
  • No destabilizing schema changes in the last 30 days.Pass
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
  • Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Tool Safety100
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • We read all 6 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
  • An AI judge read all 7 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a current MCP spec version (2026-07-28).Pass
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 3 Nov 26 +15
    • Malware scan: unverified → pass ▲ security
  • 2 Nov 26 −15
    • Malware scan: pass → unverified ▼ security
    • Package version: 0.1.10 → 0.1.11 functional
  • 31 Oct 26 0
    • Stability: 0.97 → pass security
  • 30 Oct 26 0
    • Stability: pass → 0.97 functional
  • 24 Oct 26 0
    • Stability: 0.97 → pass security
  • 23 Oct 26 +15
    • Malware scan: unverified → pass ▲ security
    • Stability: pass → 0.97 functional
  • 22 Oct 26 0
    • Malware scan: unverified → pass ▲ security
    • Package version: 0.1.9 → 0.1.10 functional
  • 21 Oct 26 −15
    • Malware scan: pass → unverified ▼ security
    • Package version: 0.1.8 → 0.1.9 functional
Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 4 Nov 2026 · Analysed pypi/afya-mcp@0.1.11

Provenance Verified

A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.

Result Verified
Ecosystem pypi
Reason Verified
Discovered via Registry attestation endpoint
Source repo gabrielmahia/afya-mcp
Certificate issuer https://token.actions.githubusercontent.com
Certificate SAN https://github.com/gabrielmahia/afya-mcp/.github/workflows/publish.yml@refs/tags/v0.1.11
Rekor log index 3646717937
Predicate type PyPI publish attestation https://docs.pypi.org/attestations/publish/v1
Subject digest sha256:9025e23f789036441fc956f0baf4dc6c2f73b51d0d811503e30e675db8931c3c

Background: How many MCP packages publish verified provenance →

Install scripts 1 script
Hook Tier Command
build_backend allowlisted setuptools.build_meta

Background: Why install scripts are a supply-chain risk →

Dependencies 15 packages
Packages resolved 15
Stale 1
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 6 exposed · ~1,081 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
chw_service_lookup ~146

List the services Community Health Workers (CHWs) typically provide and the referral pathway from CHW to health centre, sub-county hospital and county referral hospital. Use when someone asks what a CHW does or where a case is referred. The list is the same for every sub-county: sub_county is only echoed back and no real CHW assignment data is held. Returns the source label, sub_county, chw_services, referral_pathway and a contact note. Labelled DEMO. Read-only; no side effects.

NameTypeReqDescription
sub_countystringyesSub-county name; only echoed back, the services returned are the same for every sub-county.

Structured output declared, but exposes no named fields.

No examples provided.

essential_medicines ~169

Look up where a common medicine sits in Kenya's tiered supply and what it typically costs or whether it is free. Use when someone asks about the availability or price of a medicine such as amoxicillin, metformin, paracetamol, insulin, or malaria or TB drugs. Matches the first sample entry whose name appears in query; if none match it says the medicine is not in the sample dataset and points to the Essential Medicines List at kemsa.go.ke. Returns the source label, the query, the matching information, the KEMSA site and a disclaimer. A small sample labelled DEMO: consult a pharmacist or prescriber. Read-only; no side effects.

NameTypeReqDescription
querystringyesA medicine or condition, such as amoxicillin, insulin, malaria or tb.

Structured output declared, but exposes no named fields.

No examples provided.

health_facility_finder ~228

Return a TEMPLATE list of facility types for a county (county referral hospital, sub-county hospital, health centre, dispensary). Use when you need to illustrate the referral levels, NOT to find a real facility: the names are generated from the county name and this is not a register (for real facilities use the Kenya Master Health Facility List at kmhfl.health.go.ke). level keeps one facility level; nhif_only (default true) keeps facilities flagged accredited, a sample flag that refers to NHIF, since replaced by SHA. Returns the source label, the county, the matching sample facilities and a pointer to ehealth.go.ke. Labelled DEMO. Read-only; no side effects.

NameTypeReqDescription
countystringyesCounty name; used to generate the template facility names.
level––Optional level to keep, such as county_hospital, sub_county_hospital, health_centre or dispensary.
nhif_only––Keep only facilities flagged accredited (default true). The flag is sample data that refers to NHIF, now replaced by SHA.

Structured output declared, but exposes no named fields.

No examples provided.

health_rights_query ~156

Explain patient rights under Kenya's Health Act 2017: consent, privacy, emergency care, second opinion, complaints and coverage disputes. Use when someone asks what they are entitled to as a patient or where to complain. Keywords in topic select entries; if none match it returns a pointer to the Act at kenyalaw.org. Returns the source label, the topic, the matching rights, all_topics (the topics that exist) and a not-legal-advice disclaimer. Static summary labelled DEMO: verify with KMPDC or the county health department. Read-only; no side effects.

NameTypeReqDescription
topicstringyesRights topic such as consent, privacy, emergency, second_opinion, complaint or nhif_dispute.

Structured output declared, but exposes no named fields.

No examples provided.

maternal_health_guide ~189

Antenatal care guidance by trimester: suggested antenatal visits, key tests and the danger signs that need urgent care, plus a note on SHA maternity cover. Use when someone asks what to expect or watch for in pregnancy. trimester must be first, second or third (1st, 2nd and 3rd also work); anything else returns an error listing the valid values instead of guessing. Returns the matching trimester's anc_visits, key_tests and danger_signs, the source label and an SHA note. General information labelled DEMO, not medical advice: danger signs mean go to a facility now. Read-only; no side effects.

NameTypeReqDescription
specific_concern––Accepted but currently ignored; it does not change the result.
trimesterstringyesfirst, second or third (1st, 2nd and 3rd also work). Other values return an error.

Structured output declared, but exposes no named fields.

No examples provided.

nhif_coverage_query ~193

Find what Kenya's public health insurance covers for a topic such as maternity, surgery or dialysis. Use when someone asks whether a service is covered. The tool name is historical: NHIF was replaced by SHA (SHIF) in October 2024, and the results are a small illustrative table, not current benefit rules. Keywords in query select matching entries; if none match it returns a general SHA note. Returns the source label, the query, member_tier (echoed back), the matching coverage entries and a tip with SHA's contact details. Labelled DEMO and unverified: confirm at sha.go.ke before relying. Read-only; no side effects.

NameTypeReqDescription
member_tier––Echoed back in the response; it does not change the coverage returned (default standard).
querystringyesWhat you want to know is covered, such as maternity or surgery. Keywords select entries.

Structured output declared, but exposes no named fields.

No examples provided.

Install

How do I install the io.github.gabrielmahia/afya-mcp server?

io.github.gabrielmahia/afya-mcp runs locally as a PyPI package, launched with uvx afya-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

pypi · afya-mcp

# add to Claude Code
claude mcp add gabrielmahia-afya-mcp -- uvx afya-mcp
Common questions

What is the io.github.gabrielmahia/afya-mcp server?

io.github.gabrielmahia/afya-mcp is listed in the public MCP registry as io.github.gabrielmahia/afya-mcp. Kenya health system guides: SHA/SHIF coverage, facility templates, maternal care, CHWs. Demo data. This page covers its PyPI package (afya-mcp).

Is the io.github.gabrielmahia/afya-mcp server safe to use?

io.github.gabrielmahia/afya-mcp scores 95 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 4 November 2026. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the io.github.gabrielmahia/afya-mcp server expose?

io.github.gabrielmahia/afya-mcp exposes 6 tools: nhif_coverage_query, health_facility_finder, chw_service_lookup, maternal_health_guide, essential_medicines, health_rights_query. Their descriptions and schemas cost roughly 1,081 tokens of context every time the server is loaded.

Is the io.github.gabrielmahia/afya-mcp server still maintained?

io.github.gabrielmahia/afya-mcp is still listed as active in the MCP registry. We last reached this channel on 4 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the io.github.gabrielmahia/afya-mcp server under?

io.github.gabrielmahia/afya-mcp declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.