LocalFree server, account needed

Mpesa MCP server

gabrielmahia/mpesa-mcp

M-PESA via the Safaricom Daraja API: STK push, B2C payments, balance queries, transaction status, SIM swap detection and Bill Manager.

5 GitHub stars3 forks

Install Mpesa in Claude Code

Claude Code
claude mcp add mpesa -- uvx mpesa-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "mpesa": {
      "command": "uvx",
      "args": [
        "mpesa-mcp"
      ]
    }
  }
}

Frequently asked questions

What does the Mpesa MCP server do?

M-PESA via the Safaricom Daraja API: STK push, B2C payments, balance queries, transaction status, SIM swap detection and Bill Manager.

Is the Mpesa MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does Mpesa run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Mpesa to Claude Code?

Run: claude mcp add mpesa -- uvx mpesa-mcp

More finance, fintech & payments MCP servers

View all