Skip to main content

MCP server for alternative credit scoring in Kenya — M-PESA-based behavioral signals

Project description

💳 mkopo-mcp — Alternative Credit Scoring MCP Server

mkopo-mcp Glama score smithery badge


Compatible with claude-sonnet-5 (released 2026-06-30) — Anthropic's most agentic Sonnet yet. Runs multi-step tool chains end-to-end without stopping short. 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

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 one of 32 tools in 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 32 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkopo_mcp-0.1.2.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mkopo_mcp-0.1.2-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file mkopo_mcp-0.1.2.tar.gz.

File metadata

  • Download URL: mkopo_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for mkopo_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d7e3cdceedb55815dab467058858c175b9a7387e16191d07e3d9f0c45456bfb2
MD5 c3ae8a1c43c871f59e1739464837b17e
BLAKE2b-256 f9e11a69f5947672782f88bc5e6d2395b72cb56d4c4f0bfa006f23b69807ec1d

See more details on using hashes here.

File details

Details for the file mkopo_mcp-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: mkopo_mcp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for mkopo_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 94801f0edc60f0ec0fcbfeed7261e3d7c95db3310061c0a3d780171becc10140
MD5 327197326360282dfcce97c17f342178
BLAKE2b-256 5eb7d2b9d4abf67c42d93bb4e7b8492cac530e1925f3b8832534f735736e9674

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page