mkopo-mcp
# ๐ณ mkopo-mcp โ Alternative Credit Scoring MCP Server
<!-- mcp-name: io.github.gabrielmahia/mkopo-mcp -->
[](https://glama.ai/mcp/servers/gabrielmahia/mkopo-mcp)
[](https://smithery.ai/server/@gabrielmahia/mkopo-mcp)
Install: `pip install mkopo-mcp` ยท Use with any MCP client.
Most East Africans transacting heavily on mobile money have no formal credit file โ the data exists in M-PESA history, but no scoring model reads it as an agent-callable tool.
70%+ of Kenyan adults are "credit invisible" โ no formal credit history means no access to capital. M-PESA is a de facto financial history record that predicts repayment behaviour. mkopo-mcp makes that intelligence accessible to AI agents.
## The Structural Problem
In mature economies, credit bureaus have 30+ years of credit card, mortgage, and auto loan data per person. That data machine took 50 years to build. In Kenya, most people's financial lives happen in cash and mobile money โ invisible to formal credit systems.
**M-PESA is the credit bureau that doesn't know it is one.**
- Regular income deposits โ income stability
- Utility payment regularity โ discipline signal
- Savings behaviour (M-Shwari, chama) โ future orientation
- Fuliza usage ratio โ short-term distress indicator
- Business Paybill receipts โ verifiable commercial activity
## Tools
| Tool | What it does |
|------|-------------|
| `alternative_credit_score` | Score from M-PESA behavioural signals (300โ850 scale) |
| `mpesa_creditworthiness` | Analyse inflow/outflow patterns for loan capacity |
| `credit_report_summary` | Generate structured report like a loan officer would review |
| `loan_eligibility` | Match to appropriate Kenya lender types |
| `credit_improvement_tips` | Personalised steps to improve credit tier |
## Quick Start
```bash
pip install mkopo-mcp # coming soon to PyPI
mkopo-mcp # starts on stdio
```
## Research Basis
- World Bank "Expanding Access to Finance" (2022)
- Breza & Kinnan "Measuring the Equilibrium Impacts of Credit" (2021)
- CBK Prudential Guidelines (2022)
- Kenya CRB Act (Cap. 44A)
โ ๏ธ DEMO data โ not a real CRB product. Consult Metropol or CRB Africa for official reports.
---
*ยฉ 2026 Gabriel Mahia / AI Kung Fu LLC ยท MIT License*
## Part of the East Africa Coordination Stack
This MCP server is part of the Kenya coordination infrastructure.
Connect it to [`africa-coord-bus`](https://github.com/gabrielmahia/africa-coord-bus) โ
the coordination event bus that routes signals between domains automatically.
```bash
pip install africa-coord-bus
```
All servers: [pypi.org/user/gmahia](https://pypi.org/user/gmahia/)
Live demo: [coord-cascade-demo](https://github.com/gabrielmahia/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](docs/architecture/IP_POLICY.md). Security reports: see [SECURITY.md](SECURITY.md).
<!-- interconnect:v2 -->
## Part of the East Africa coordination stack
- **Install & run:** `pip install reli-cli && reli list` โ the MCP servers on the [official MCP Registry](https://registry.modelcontextprotocol.io) under `io.github.gabrielmahia`
- **Evaluate any model on Swahili agent tasks:** [kipimo](https://github.com/gabrielmahia/kipimo) ยท [dataset](https://huggingface.co/datasets/gmahia/kipimo) ยท [leaderboard](https://huggingface.co/spaces/gmahia/kipimo-leaderboard)
- **Coordinate across servers:** [africa-coord-bus](https://pypi.org/project/africa-coord-bus/) โ offline-first event bus with a built-in Kenya routing table
- **Datasets:** [huggingface.co/gmahia](https://huggingface.co/gmahia) ยท **Docs hub:** [nairobi-stack](https://github.com/gabrielmahia/nairobi-stack)
Model-agnostic by design: closed APIs, open-weight models, and small distilled models are all first-class citizens.
<!-- /interconnect:v2 -->
## Demonstration only, and Kenya's rules on automated decisions
These tools produce **synthetic demonstration results**, not credit decisions, and they are not a Credit Reference Bureau product. Do not pass a real person's name or ID number to them.
If you build something real on a score like this, note the law: in Kenya the **Data Protection Act 2019** is in force, including its provisions on decisions made solely by automated processing (section 35). The **Artificial Intelligence Bill 2026** is a Senate bill and is **not law** (as of 2026-10-10); it would add a right to an explanation and to human review of significant automated decisions such as a loan rejection, and commentators expect credit scoring to be treated as high-risk. Every scoring answer from this server carries an `automated_decision_notice` saying so. The lender examples are generic lender *types*, not named companies: an earlier version listed real lenders by tier, which this synthetic score cannot support.
TDQS
Scored across 5 tools
Tools are mostly distinct: alternative_credit_score and mpesa_creditworthiness both use M-PESA data but one yields a score and the other analyzes patterns; credit_report_summary overlaps slightly but is a different product. Overall, an agent can differentiate them with clear descriptions.
All tool names follow a consistent snake_case pattern using descriptive noun phrases (e.g., loan_eligibility, credit_report_summary). No mixing of conventions or verb styles.
5 tools is an ideal scope for a credit assessment server, covering score estimation, improvement tips, report summary, eligibility check, and transaction pattern analysis without unnecessary bulk.
For a demo product, the tool set covers the full lifecycle of credit assessment: analysis, scoring, reporting, eligibility, and improvement. There are no obvious gaps for the stated purpose.