About afya-ya-akili-mcp
afya-ya-akili-mcp is an MCP server for people and organizations seeking mental health information in Kenya. It groups practitioner-finding, crisis contacts, legal rights, workplace guidance, and self-help resources, with synthetic data clearly marked DEMO.
Key features
- 01Find practitioners by county
- 02Browse Kenyan crisis contacts
- 03Review Mental Health Act rights
- 04Explore workplace wellness guidance
- 05Locate self-help resources
Use cases
- 01Find a practitioner in a county
- 02Check Kenya crisis-line contacts
- 03Review mental health rights
- 04Explore workplace support options
MCP support
It exposes five mental health resource tools to MCP clients, including provider search, crisis-line directory, rights guidance, workplace wellness, and self-help resources.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
5Saved tool list · updated 5d ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| county | any | No | |
| provider_type | any | No |
Details
From the project READMEafya-ya-akili-mcp
Install: pip install afya-ya-akili-mcp · Use with any MCP client.
Kenya mental health via MCP — therapist finder, crisis lines, rights, workplace wellness
Install
pip install afya-ya-akili-mcp
What it does
5 MCP tools covering Kenya mental health resources. 1st world equivalent: BetterHelp / Mind UK.
| Tool | Description |
|---|---|
mental_health_provider_finder | Licensed mental health practitioners by county |
crisis_line_directory | Kenya emergency and crisis lines compiled from public listings (2026-10-07): Befrienders Kenya +254 722 178 177 (Mon-Fri 9am-5pm), Kenya Red Cross 1199, 999/112; each entry says how many listings confirm it |
mental_health_rights | Rights under Kenya Mental Health Act 2022 |
workplace_wellness_guide | EAP programs, occupational stress, OSHA |
self_help_resources | Online resources, support groups, self-care |
Usage
# Run as standalone MCP server
afya-ya-akili-mcp
# Or add to Claude Desktop / any MCP client
# Add to your MCP config: {"command": "afya-ya-akili-mcp"}
Part of the Kenya Coordination Infrastructure Stack
This is one of the MCP servers covering the coordination infrastructure of East Africa:
Economic: mpesa · mkopo · bima · soko · sifa · remit · kra · faida
Physical: wapimaji · nishati · usafiri · ardhi
Social: afya · afya-ya-akili · elimu · kazi · haki-ya-kazi · kilimo · jumuia
Civic: nyumba · habari · mazingira · civic-agent-kit
→ The Nairobi Stack
→ Full Portfolio
Trust Integrity
All data in this server is clearly labeled DEMO where synthetic. Verify all operational data with the relevant Kenyan government authority before use.
License
MIT © Gabriel Mahia | AI-KungFU | [email protected]
Decision infrastructure for East Africa
Part of the East Africa Coordination Stack
This MCP server is part of the Kenya coordination infrastructure.
Connect it to africa-coord-bus —
the coordination event bus that routes signals between domains automatically.
pip install africa-coord-bus
All servers: pypi.org/user/gmahia Live demo: coord-cascade-demo
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
- Install & run:
pip install reli-cli && reli list— the MCP servers on the official MCP Registry underio.github.gabrielmahia - Evaluate any model on Swahili agent tasks: kipimo · dataset · leaderboard
- Coordinate across servers: africa-coord-bus — offline-first event bus with a built-in Kenya routing table
- Datasets: huggingface.co/gmahia · Docs hub: nairobi-stack
Model-agnostic by design: closed APIs, open-weight models, and small distilled models are all first-class citizens.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.