Afya MCP Server

afya-mcp

Local serverstdioPython

What is the Afya MCP server?

Afya MCP server exists for a simple reason — assistants are far more useful when they can act on Afya directly instead of describing what you should do. afya-mcp.

What you get

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

What the assistant can call

Once Afya is connected, these are the calls the assistant has available:

  • bima-mcp — parametric insurance evaluation
  • kilimo-mcp — agricultural advisory
  • afya-mcp — health surveillance activation
  • county-mcp — county office alert
  • Datasets — ** huggingface.co/gmahia · Docs hub: nairobi-stack

Setting it up

The server ships on PyPI as afya-mcp, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Choosing this one

Plenty of AI and media services servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Afya's toolset — bima-mcp, kilimo-mcp, afya-mcp and 2 more — is a fair guide to whether it matches your workflow. It is maintained by gabrielmahia; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the afya mcp server does with a few real requests.

Available tools

ToolWhat it does
bima-mcpparametric insurance evaluation
kilimo-mcpagricultural advisory
afya-mcphealth surveillance activation
county-mcpcounty office alert
Datasets** [huggingface.co/gmahia](https://huggingface.co/gmahia) · **Docs hub:** [nairobi-stack](https://github.com/gabrielmahia/nairobi-stack)

How to install the Afya MCP server

{
  "mcpServers": {
    "afya": {
      "command": "uvx",
      "args": ["afya-mcp"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Afya to bima-mcp.
  • Use Afya to kilimo-mcp.
  • Use Afya to afya-mcp.

Frequently asked questions

It connects Afya to MCP-compatible AI assistants such as Claude and Cursor, exposing 5 tools (bima-mcp, kilimo-mcp, afya-mcp, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Afya directly.