Mpesa MCP Server
by gabrielmahiaio.github.gabrielmahia/mpesa-mcpv0.2.8
M-PESA via the Safaricom Daraja API: STK push, B2C payments, balance queries, transaction status, SIM swap detection and Bill Manager.
context tax
queued
security
queued
cold start
queued
freshness
Active2d ago
Install Mpesa MCP server
Install in Claude Code
claude mcp add mpesa -- uvx mpesa-mcpInstall in Cursor
{
"mcpServers": {
"mpesa": {
"command": "uvx",
"args": [
"mpesa-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"mpesa": {
"command": "uvx",
"args": [
"mpesa-mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"mpesa": {
"type": "stdio",
"command": "uvx",
"args": [
"mpesa-mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"mpesa": {
"command": "uvx",
"args": [
"mpesa-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Freshness
Active — last maintenance signal 2d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-08 · 2d ago · GitHub
Latest release
2026-07-18 · 3mo ago · GitHub · v0.2.4
Package published
no data · npm/PyPI
Registry entry updated
2026-10-08 · 2d ago · official registry · v0.2.8
FAQ
›How do I install the Mpesa MCP server in Claude Code?
Run: claude mcp add mpesa -- uvx mpesa-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Mpesa require an API key?
No required environment variables are declared in its published metadata.
›Can I use Mpesa as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Mpesa in the official MCP registry?
Yes, as io.github.gabrielmahia/mpesa-mcp.
Alternatives to Mpesa
Other finance & fintech MCP servers.