DEV Community

Gabriel Mahia
Gabriel Mahia

Posted on

Why East Africa Needs Coordination Infrastructure, Not Just AI Apps

Every conversation about AI in Africa eventually converges on the same framing: "AI for Africa." Apps that use AI. Tools powered by AI. AI everything.

That framing is backwards.

The structural problem East Africa faces isn't a shortage of apps. It's a shortage of the coordination infrastructure that makes economies work. Insurance. Credit scoring. Market price signals. Reputation systems. Civic accountability. Legal access.

These aren't AI features. They're the systems that underpin economic participation everywhere they exist — and their absence is what locks people out of formal economies.

AI is how you deploy them at scale, in Swahili, on $50 smartphones. But AI is the delivery layer. Not the product.

The Five Coordination Failures

Consider what makes a transaction between strangers possible in a mature economy:

1. Uncertainty mitigation → Insurance

Before a farmer plants, they need confidence that one bad season won't destroy them. In Kenya, insurance penetration is 2.3% of GDP. In OECD countries: 8–11%. That gap isn't a wealth gap. It's a missing coordination technology.

2. Trust at a distance → Credit

FICO scores took 50 years of credit card data to build. 70% of Kenyan adults have no formal credit history. But they have M-PESA — a de facto financial ledger of 35M+ people's economic behavior. Credit infrastructure built on M-PESA signals is not a feature. It's a coordination primitive.

3. Information asymmetry → Market intelligence

A farmer in Nakuru doesn't know Nairobi prices are 40% higher this week. The trader knows. That information gap is a direct tax on rural producers, extractable by anyone with a phone and a market visit. Price discovery infrastructure should be public.

4. Trust compression → Reputation

A skilled mason in Mombasa can't take her track record to Nairobi. Trust is tribal and local. Without portable reputation, economic mobility is throttled to your existing network.

5. Enforcement uncertainty → Legal access

40%+ of Kenyans don't know their constitutional rights. Legal aid organizations are chronically underfunded. AI can't replace lawyers — but it can tell a farmer their rights before they're cheated out of their land.

What This Portfolio Builds

Each tool in this stack is one of these coordination technologies, deployed as an open-source MCP server:

Tool Coordination Problem PyPI
mpesa-mcp Payment execution ✅ v0.2.0
bima-mcp Uncertainty → Insurance ✅ v0.1.0
mkopo-mcp Trust gap → Credit ✅ v0.1.0
soko-mcp Info asymmetry → Markets ✅ v0.1.0
sifa-mcp Trust → Reputation ✅ v0.1.0
civic-agent-kit Enforcement → Civic rights ✅ v0.2.0
wapimaji-mcp Environmental risk data ✅ v0.1.2

The AI layer (Gemini, Claude, Llama) makes these accessible through natural language, in Swahili, without requiring technical literacy.

Why MCP Specifically

Model Context Protocol means any AI assistant — Claude, GPT-4, Gemini, local Llama — can call these tools natively. No integration work. Install the package, connect it, and the AI can check NHIF coverage, score a credit application, or compare commodity prices as naturally as answering a question.

That's the leverage point: coordination infrastructure that any AI can use, built by one engineer, available to 47M Swahili speakers.

The Test

When evaluating whether a tool is coordination infrastructure or just an AI app, ask: does this exist as a public, institutional system in developed economies?

  • Credit scoring → yes (FICO, Equifax, Experian)
  • Insurance underwriting data → yes (actuarial tables, reinsurance)
  • Commodity price feeds → yes (Bloomberg, Reuters, CME)
  • Reputation systems → yes (Yelp, LinkedIn, BBB, Angie's List)
  • Legal information access → yes (LexisNexis, public court records)

Every yes is a coordination technology East Africa needs. AI delivers it at a fraction of the cost.


Portfolio: gabrielmahia.github.io

All tools: MIT licensed, PyPI-hosted, MCP-compatible.

Top comments (1)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.