MCP.Market

Mpesa MCP server

by gabrielmahia·io.github.gabrielmahia/mpesa-mcp·v0.5.1·4 stars

M-Pesa Daraja and Africa's Talking MCP server: 24 tools; live payments and SMS need confirmation.

A92/100grade A
What users say
No reviews yet
Be the first
Safety scan
A92/100

not scanned yet

Adoption
Growing

4 stars

Reviews

Write one

Nobody has reviewed Mpesa yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Mpesa tools

No tool declarations could be read from the package source. They show once the server is installed.

Not scanned yet. New listings are scanned within a day or two of arriving.

How Mpesa compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
92/100
higher than 95% of 48,255 servers
GitHub stars
4
more than 82% of 28,688 servers

Release history: 9 versions in the registry since 2026-07-18, latest 2026-11-02, typically one every 4 days.

Install Mpesa in Claude Code, Cursor or VS Code

claude mcp add mpesa-mcp -- uvx mpesa-mcp
Add to Cursor

What the publisher says

From the Mpesa repository's README, as published. We do not edit it. Read it on GitHub

mpesa-mcp

<!-- mcp-name: io.github.gabrielmahia/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.

Tested With

claude-sonnet-5  (recommended — call get_model_hint() for guidance)
claude-opus-4-8  (for highest-accuracy compliance reasoning)

Claude Sonnet 5 (released June 30, 2026) finishes multi-step M-PESA workflows without stopping short and self-corrects tool-call errors without prompting. Terminal-Bench score 80.4% vs Sonnet 4.6's 67.0% — the benchmark most analogous to payment agent work.

Why this exists

M-Pesa processes more transactions per day than PayPal does in Africa. Africa's Talking reaches users in 20+ countries on basic phones via SMS and USSD. Neither has an MCP server.

This means every AI agent built today — Claude, GPT, Gemini, or any MCP-compatible runtime — cannot trigger an M-Pesa payment or send a Kiswahili SMS without custom integration work.

mpesa-mcp closes that gap in one pip install.

Tools

Coverage

  • M-Pesa: Kenya (Safaricom Daraja v3) — STK Push, C2B, transaction status
  • SMS/Airtime: Kenya, Nigeria, Ghana, Tanzania, Uganda, Rwanda, South Africa, and 15+ more via Africa's Talking

Glama (hosted MCP)

mpesa-mcp is available as a hosted MCP server on Glama:

Security — NSA MCP Guidance Compliant

mpesa-mcp was updated in response to NSA CSI U/OO/6030316-26 (May 2026) — the NSA Artificial Intelligence Security Center's Cybersecurity Information Sheet on Model Context Protocol security.

The implementation below documents compliance against the NSA's MCP security framework, control by control.

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Mpesa: common questions

Is Mpesa MCP server safe?
Yes, by our scan: it is graded A (92/100). Read the Mpesa safety report
How do I install Mpesa?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Mpesa need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Mpesa maintained?
The last commit was 65 days ago (2026-08-31). The latest release is v0.5.1.
How does Mpesa compare with other MCP servers?
safety score 92/100 (higher than 95% of 48,255 servers); github stars 4 (more than 82% of 28,688 servers). Full comparison.

More from gabrielmahia →