Mkopo Mcp

io.github.gabrielmahiaPublished by GitHub account gabrielmahiav0.1.13Updated Nov 11, 2026

Demo alternative credit scoring from M-PESA signals. Not a CRB product; synthetic, nothing stored.

VerifiedSTDIODesktop onlyFinanceData & Analytics

Overview

AI-generated overview

Demo MCP server that lets an assistant produce synthetic alternative credit scores and loan-capacity analyses from M-PESA-style behavioural signals.

What you can do
  • Score behavioural signals on a 300–850 scale and analyse inflow/outflow patterns for loan capacity
  • Generate a structured credit report summary and match results to generic Kenya lender types
  • Produce personalised credit improvement tips
  • Retrieve Kenya macro indicators (inflation, lending and deposit rates) with source and retrieval time
When to use it
Useful for demonstrations, prototypes or research on alternative credit scoring for mobile-money users in Kenya, or for pulling Kenya inflation and interest-rate figures. Not intended for real lending or credit decisions.
Requirements
Runs locally over stdio as a Python package installed with pip; no authentication, environment variables or headers are declared. The macro-indicator tool needs network access to IMF and World Bank sources.
Before you install
Outputs are synthetic demonstration results, not credit decisions, and the server is not a Credit Reference Bureau product; the README says not to pass a real person's name or ID number. Scoring answers carry an automated-decision notice, and the README notes Kenya's Data Protection Act 2019 applies to automated decisions. The README also says the package is coming soon to PyPI.

Installation

In SourceWeft

  1. Open Mkopo Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

💳 mkopo-mcp — Alternative Credit Scoring MCP Server

[mkopo-mcp Glama score]

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

ToolWhat it does
alternative_credit_scoreScore from M-PESA behavioural signals (300–850 scale)
mpesa_creditworthinessAnalyse inflow/outflow patterns for loan capacity
credit_report_summaryGenerate structured report like a loan officer would review
loan_eligibilityMatch to appropriate Kenya lender types
credit_improvement_tipsPersonalised steps to improve credit tier
kenya_macro_indicatorsKenya inflation (IMF, projections flagged) and lending and deposit rates (World Bank)

Quick Start

bash
pip install mkopo-mcp       # coming soon to PyPImkopo-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

Live data

  • kenya_macro_indicators: Kenya's annual inflation (IMF, projections flagged) and lending and deposit rates (World Bank, CC BY 4.0).

Each live answer names its source, attribution and retrieval time; if a service does not answer, the tool returns an error instead of a number. The other tools are unchanged.

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.

bash
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

Model-agnostic by design: closed APIs, open-weight models, and small distilled models are all first-class citizens.

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: a Senate committee recommended abandoning it in October 2026, so as of 2026-10-23 Kenya has no dedicated AI law and the Data Protection Act is what applies. The bill would have added a right to an explanation and to human review of significant automated decisions such as a loan rejection, and commentators expected credit scoring to be treated as high-risk under such a law. 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.

Source: README.md at commit e38b546

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

10
  1. v0.1.13LatestNov 11, 2026
  2. v0.1.12Nov 7, 2026
  3. v0.1.11Nov 5, 2026
  4. v0.1.10Nov 3, 2026
  5. v0.1.9Oct 24, 2026
  6. v0.1.8Oct 23, 2026
  7. v0.1.7Oct 21, 2026
  8. v0.1.6Oct 17, 2026
  9. v0.1.5Oct 14, 2026
  10. v0.1.3Sep 16, 2026

Score

40% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.