Nairobi Stack — Developer resources and API documentation for building on Kenya's digital infrastructure.
# nairobi-stack
> *The largest open-source MCP coordination infrastructure for the Global South.*
> *31 servers. Local-first. Data-sovereign. MIT licensed.*
**The engineering guide for building software products in East Africa — and everywhere institutions are under-resourced.**
A practical, opinionated reference for developers — in Kenya, the diaspora, or anywhere building for East African users. Covers APIs, infrastructure choices, UX patterns, regulatory context, and the cultural nuances that documentation never mentions.
---
## What Gets Built On This
These are not hypothetical. They are the trains for which these rails were built.
---
### Scenario 1: The rural health worker
A community health worker in Kisumu runs `afya-mcp` + `offline-mcp` on a tablet
with no internet. She asks: *"What is the correct malaria treatment for a 4-year-old
weighing 15kg?"* The query runs against a local Llama model. No data leaves the
tablet. The answer arrives in Swahili in under 3 seconds.
**Rails used:** `afya-mcp`, `offline-mcp`, `tafsiri-mcp`
---
### Scenario 2: The smallholder farmer
A maize farmer in Nakuru wants to know whether to sell now or hold for two weeks.
She opens WhatsApp, sends a voice note to a bot powered by `soko-mcp`. The bot
returns current prices across eight East African markets, trend direction, and a
sell/hold recommendation with the reasoning shown.
**Rails used:** `soko-mcp`, `kilimo-mcp`
---
### Scenario 3: The Kenyan diaspora member in Virginia
A Kenyan living in Manassas, Virginia discovers that a caretaker has encroached on
his father's land in Kiambu. He needs to understand his legal options, initiate a
dispute, and manage the process remotely. He uses `ardhi-mcp` + `familia-mcp` +
`fomu-mcp` to understand the legal path, draft the initial letter, and track
required documents — without hiring a Kenyan lawyer for the preliminary steps.
**Rails used:** `ardhi-mcp`, `familia-mcp`, `fomu-mcp`, `diaspora-mcp`
---
### Scenario 4: The fi …