Skip to main content

💳 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

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
kenya_macro_indicators Kenya inflation (IMF, projections flagged) and lending and deposit rates (World Bank)

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

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.

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.

Metadata

Release files for mkopo-mcp 0.1.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mkopo-mcp 0.1.12
File Size Uploaded Provenance Actions
mkopo_mcp-0.1.12.tar.gz 19.4 kB With provenance Details for mkopo_mcp-0.1.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mkopo-mcp 0.1.12
File Interpreter ABI Platform Actions
mkopo_mcp-0.1.12-py3-none-any.whl Python 3 none any Details for mkopo_mcp-0.1.12-py3-none-any.whl

Total release size: 33.9 kB

Release files / mkopo_mcp-0.1.12.tar.gz

Download URL mkopo_mcp-0.1.12.tar.gz
Size 19.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4ed10b543b8bcc34ac4b2f01b2bb2174e9f56f91a99ed84b84ec392cd50b60c2
BLAKE2b-256 checksum
How to use checksums
aec753134b239ba023685abbacaae15506a40b53d92ecc0b12a77cfc03e5677d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Release files / mkopo_mcp-0.1.12-py3-none-any.whl

Download URL mkopo_mcp-0.1.12-py3-none-any.whl
Size 14.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b906a9f1320ea4501d9e267eb0812fcfa8edf0e87c5829b481293a28f53f0b4
BLAKE2b-256 checksum
How to use checksums
bbebbbed199ff06b0d9c5907fd44cbdc40ea92603866af0adb2d98102a54bc78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Security for mkopo-mcp 0.1.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mkopo_mcp-0.1.12.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page