gabrielmahia avatar

Mpesa Mcp

gabrielmahia/mpesa-mcp

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.

GitHub stars
6
tools
5
transport
STDIO
last updated
Nov 10, 2026

Tools

5 tools

Public tool metadata for what this MCP can expose to an agent.

mpesa_stk_pushTrigger STK Push payment prompt on customer's M-Pesa phone

Trigger STK Push payment prompt on customer's M-Pesa phone

No parameter schema in public metadata yet.

mpesa_stk_queryCheck status of an STK Push request

Check status of an STK Push request

No parameter schema in public metadata yet.

mpesa_transaction_statusQuery any M-Pesa transaction by receipt number

Query any M-Pesa transaction by receipt number

No parameter schema in public metadata yet.

sms_sendSend SMS to 1–1,000 recipients across African networks

Send SMS to 1–1,000 recipients across African networks

No parameter schema in public metadata yet.

airtime_sendSend airtime top-up to any subscriber (KES, NGN, GHS, UGX, etc.)

Send airtime top-up to any subscriber (KES, NGN, GHS, UGX, etc.)

No parameter schema in public metadata yet.

Sponsors

Readme

mpesa-mcp

MCP server for East African fintech APIs — M-Pesa (Safaricom Daraja) and Africa's Talking

Give your AI agent the ability to trigger M-Pesa payments, check transaction status, send SMS, and top up airtime across 20+ African telecom networks.

Tests PyPI License: MIT Glama Score

Glama NSA CSI guidance: self-assessed


View the full README on GitHub

Details

Repository
github.com/gabrielmahia/mpesa-mcp
Category
Communication & Messaging
Package
mpesa-mcp
Transport
STDIO
Registry
MCP registry, active

Related Communication & Messaging MCP servers

View all
1continuum-ai-corp avatarOrcaRoutercontinuum-ai-corp/orcarouter-mcp-serverBrowse 160+ LLM models and live pricing — no API key needed for catalog. Add key to route chat.6stars
2vivid-money avatarVivid MCPvivid-money/vivid-mcpOpen a Vivid Business account from your AI chat via MCP.6stars
3agentailor avatarSlimcontext Mcp Serveragentailor/slimcontext-mcp-serverMCP Server for SlimContext - AI chat history compression tools5stars
4lassare-hq avatarLassarelassare-hq/agent-configsHuman-in-the-loop for AI coding agents — ask questions, get approvals via Slack.0stars
5nhype avatarOWA Exchange MCP Servernhype/owa-exchange-mcpMCP server for Microsoft Exchange / OWA — email, calendar, directory, availability5stars
6piiiico avatarAgentLairpiiiico/agentlairGive AI agents a real email address, vault, calendar, and task delegation via MCP.5stars