Enterprise DNA Enterprise DNA
M MCP Servers Developer low

gabrielmahia/mpesa-mcp

by Various

MCP server for M-Pesa (Safaricom Daraja) and Africa's Talking — give AI agents East African fintech superpowers

MCP

gabrielmahia/mpesa-mcp

Added 11 June 2026

#ai-agents #daraja #fintech #kenya #mcp #mpesa #open-source #pypi

Overview

MCP server that wraps the M-Pesa (Safaricom Daraja) and Africa's Talking APIs into the Model Context Protocol. This allows AI agents to programmatically initiate payments, query balances, and send messages within East African fintech ecosystems.

Best for

Best for
Developers building AI agents that interact with East African mobile money and SMS services.

Use cases

  • Trigger M-Pesa payments from AI agent workflows
  • Query transaction history via Africa's Talking SMS
  • Automate mobile money operations for customer service bots

How to use

Install

uvx mpesa-mcp

Tools exposed

  • mpesa_stk_push
  • mpesa_stk_query
  • mpesa_transaction_status
  • sms_send
  • airtime_send

Tested with

Claude Desktop, Claude Code

Notes

MCP server that wraps the M-Pesa (Safaricom Daraja) and Africa’s Talking APIs into the Model Context Protocol. This allows AI agents to programmatically initiate payments, query balances, and send messages within East African fintech ecosystems.

1 stars on GitHub. Last updated 2026-06-05. Licensed MIT.

Use cases

  • Trigger M-Pesa payments from AI agent workflows
  • Query transaction history via Africa’s Talking SMS
  • Automate mobile money operations for customer service bots

Pros

  • Direct MCP integration for standard AI agent access
  • Combines two popular East African fintech APIs in one server
  • Written in Python, easy to extend

Cons

  • Very early stage with minimal community adoption (1 star)
  • Limited documentation and may lack comprehensive error handling
  • Dependence on external API credentials and M-Pesa sandbox setup

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Direct MCP integration for standard AI agent access
  • Combines two popular East African fintech APIs in one server
  • Written in Python, easy to extend

Cons

  • Very early stage with minimal community adoption (1 star)
  • Limited documentation and may lack comprehensive error handling
  • Dependence on external API credentials and M-Pesa sandbox setup

Pairs with

Other entries in the index that connect to this one. Click through to see the chain.

Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks