This connects Claude to M-Pesa's Daraja API and Africa's Talking, letting agents trigger STK Push payments, check transaction status, send SMS, and top up airtime across 20+ African networks. You get five tools: initiate payment prompts on customer phones, query payment status, look up M-Pesa receipts, send bulk SMS, and distribute airtime in local currencies. It's built for East African fintech workflows where an AI agent needs to dispatch field payments, alert farmers via SMS, or reconcile M-Pesa transactions without custom integration work. The developer updated it to match NSA MCP security guidance, validating Kenyan phone formats and hashing sensitive data in logs. Works in sandbox mode with test credentials from Safaricom and Africa's Talking.
claude mcp add --transport stdio gabrielmahia-mpesa-mcp -- uvx mpesa-mcp