What is mpesa-mcp?
mpesa-mcp is a MCP server by gabrielmahia that m-PESA via the Safaricom Daraja API: STK push, B2C payments, balance queries, transaction status, SIM swap detection and Bill Manager. It is listed under Finance & commerce and has 4 GitHub stars.
| Type | Mcp server |
|---|---|
| Author | gabrielmahia |
| Repository | gabrielmahia/mpesa-mcp |
| Popularity | 4 GitHub stars |
| Category | Finance & commerce |
| Security | Review before installing (72/100) |
| Rank | #2,357 of 4,418 MCP servers; #207 in Finance & commerce |
| License | MIT |
| Last commit | 2026-10-17 |
| Runs | Cloud service |
| Language | Python |
Is mpesa-mcp safe to install?
mpesa-mcp scores 72/100 on the MCPMods security check: Review before installing. Things to review: sends your data to a cloud service; can take actions such as send, write or deploy. It passed 3 of 6 checks.
MCP server results come from listing signals: who publishes it, where your data goes and what it can do. The code itself is not scanned yet.
| Check | Result |
|---|---|
| Community-built server | Note |
| Sends your data to a cloud service | Review |
| No credentials mentioned | Pass |
| Can take actions such as send, write or deploy | Review |
| No code execution | Pass |
| Source on GitHub | Pass |
How do I install mpesa-mcp?
- Find the launch command. The README says how the server starts (npx, uvx, docker or a remote URL) and which API keys it needs.
https://github.com/gabrielmahia/mpesa-mcp
- Add it to Claude Code. Replace the part after -- with the command from the README. Remote servers use --transport http with a URL.
claude mcp add mpesa-mcp -- <command from README> claude mcp add --transport http mpesa-mcp <server-url>
- Check it connected. This lists your MCP servers and their status.
claude mcp list
Or ask Claude to set it up
Paste this into Claude Code and it installs mpesa-mcp for you:
Add the "mpesa-mcp" MCP server from https://github.com/gabrielmahia/mpesa-mcp to Claude Code. Read its README for the launch command and any API keys I need, run claude mcp add, then check that it connects.