mkopo-mcp

v0.1.13
io.github.gabrielmahia/mkopo-mcp Checked 2 days ago Published 24 days ago

Demo alternative credit scoring from M-PESA signals.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

alternative_credit_score Alternative Credit Score

Compute a DEMONSTRATION alternative credit score and tier (PRIME, NEAR_PRIME, SUBPRIME or THIN_FILE) from M-PESA usage signals such as months of use, regular deposits, on-time utility payments and Fuliza debt. Use when exploring how alternative data could inform credit. This is NOT a credit score and not a CRB product: a synthetic heuristic with no real data. Automated decisions about people are regulated (Data Protection Act 2019, s.35; the AI Bill 2026 is only proposed, not law). Returns the score, tier and the signals used, with a notice. Read-only.

ParameterTypeDescription
has_fuliza_debt *booleanCurrently has unpaid Fuliza (Safaricom overdraft) balance
has_loan_default_history *booleanHas defaulted on any previous loan (M-Shwari, KCB, bank, chama)
has_multiple_income_streams *booleanReceives income from more than one source (multiple employers, business + salary)
has_regular_income_deposits *booleanReceives regular deposits (salary, business income) at least twice monthly
has_savings_behaviour *booleanMakes regular small savings (M-Shwari, chama, SACCO, KCB M-PESA)
months_as_mpesa_user *integerHow many months the person has used M-PESA (0-240)
pays_utilities_on_time *booleanHas paid KPLC or water bills via M-PESA in past 6 months

mpesa_creditworthiness Mpesa Creditworthiness

Estimate a person's savings rate, Fuliza dependence and affordable 12-month loan from average M-PESA inflows and outflows, months analysed, Fuliza usage and whether they run a business paybill. Use when exploring cash-flow-based lending. A DEMO analysis using a 30% debt service ratio: real lenders run formal CRB checks and set their own policy. Returns the financial profile, the debt service capacity and affordable loan, the basis and a notice. Read-only.

ParameterTypeDescription
avg_monthly_inflow_kes *integerAverage monthly M-PESA inflows (deposits received) in KES
avg_monthly_outflow_kes *integerAverage monthly M-PESA outflows (payments made) in KES
fuliza_usage_kes *integerAverage monthly Fuliza (overdraft) usage in KES (0 if none)
has_business_paybill *booleanReceives payments to a business Paybill or Till number
months_analysed *integerNumber of months of M-PESA history available (1-24)

credit_report_summary Credit Report Summary

Produce a DEMONSTRATION credit report summary for a made-up applicant. Use only to show the format; this is NOT a CRB product. Do not enter a real person's name or ID number: the ID is masked so only its last 4 digits appear, and nothing is stored. Returns a report header, a risk level, recommendations and a disclaimer pointing to the real credit reference bureaus (crbafrica.co.ke, metropol.co.ke). Automated assessments of people are regulated under the Data Protection Act 2019. Read-only.

ParameterTypeDescription
employment_type *stringEmployment type: formal_employed, self_employed, casual_labour, farmer, gig_worker, unemployed
existing_loans_count *integerNumber of active loans (digital, bank, chama, SACCO)
full_name *stringApplicant name, shown in the report header only. DEMONSTRATION tool: use a placeholder, not a real person's name
has_crb_listing *booleanHas been listed with a Kenya Credit Reference Bureau (CRB)
id_number *stringNational ID number, only its last 4 digits appear in the output. DEMONSTRATION tool: use a placeholder, not a real ID number
monthly_income_kes *integerDeclared monthly income in KES

loan_eligibility Loan Eligibility

Match an income, credit tier and loan purpose to illustrative lender products and check the requested amount against a 30%-of-income repayment capacity. Use when someone asks what they might qualify for. credit_tier must be PRIME, NEAR_PRIME, SUBPRIME or THIN_FILE; an unrecognised tier gets the THIN_FILE products and credit_tier_applied says so. Returns the loan request, an affordability check, the eligible products, a recommendation and a notice. NOT real offers: rates are market estimates labelled DEMO. Read-only.

ParameterTypeDescription
credit_tier *stringCredit tier from alternative_credit_score: PRIME, NEAR_PRIME, SUBPRIME, THIN_FILE
loan_purpose *stringLoan purpose: business_working_capital, home_improvement, education, emergency, agriculture, equipment
monthly_income_kes *integerMonthly income in KES
requested_amount_kes *integerRequested loan amount in KES

credit_improvement_tips Credit Improvement Tips

Practical steps to move up a credit tier, with an estimated timeline, based on the current tier, Fuliza debt, a CRB listing and months of saving. Use when someone asks how to improve their borrowing standing. An unrecognised tier gets the general timeline. Returns prioritised tips, the estimated improvement timeline and a notice. Educational guidance on DEMO assumptions: speak to a bank for personal advice. Read-only.

ParameterTypeDescription
current_tier *stringCurrent credit tier: PRIME, NEAR_PRIME, SUBPRIME, THIN_FILE
has_crb_listing *booleanHas CRB adverse listing
has_fuliza_debt *booleanHas unpaid Fuliza balance
months_saving *integerMonths of consistent savings history (0-60)

kenya_macro_indicators Kenya Macro Indicators

Get Kenya's inflation and interest rates for recent years from free official sources: annual inflation from the IMF (with the IMF's projections for the current and coming years marked as projections) and bank lending and deposit rates from the World Bank. Use when someone is weighing a loan, savings or investment and needs the real cost of money in Kenya, or a trend. Returns inflation by year with projections flagged, lending and deposit rates by year, the sources with their terms and the retrieval time; on a network or service failure it returns an error instead of figures. Read-only; contact…

ParameterTypeDescription
yearsintegerHow many recent years to return, between 1 and 15.