# Kamanu coach

> Kamanu coach is an open-source MCP server for agent payments. Tells an AI agent whether a payment fits under a spending limit and when it will. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Self-hosted
- **Repository:** https://github.com/nkamoah17/kamanu
- **MCP Registry name:** io.github.nkamoah17/kamanu-coach
- **Categories:** [agent payments](https://ai-powered.com/categories/agent-payments)
- **Listing updated:** 2026-11-27

## About

Kamanu answers a narrow question for agents that spend money: does this payment fit under the current limit, how much can be spent right now, and when will the full amount fit. It reads the limit's own history of requests, holds and refunds rather than trusting a single counter, so the answer accounts for payments still in flight.

It runs as a local MCP server installed from PyPI, started with uvx or pip, and is exposed through the kamanu coach command. An agent calls it before a purchase and gets a plain verdict back, which lets it avoid sending payments that would be refused.

The project is aimed at developers building agent payment flows and at teams who want to check how a spend cap behaves under concurrent requests. It is one of three related MCP servers from the same project, alongside a policy linter and a general-purpose server.

## Features

- **Payment fit check:** Says whether a requested amount fits under the limit as things stand right now.
- **Spendable amount now:** Reports the most that can be spent at this moment under the limit.
- **Timing for full amount:** Estimates when the full requested amount will fit under the limit.
- **Pending payment awareness:** Accounts for payments that are held or in doubt, not only those already settled.
- **Local stdio transport:** Runs as a local process over stdio, installable from PyPI without cloning the repository.

## Good for

- Letting an agent check whether a purchase fits its card limit before attempting it
- Showing an agent how much budget is available for a multi-step task
- Working out when a blocked payment will become allowed under the current limit
- Testing how a spending limit behaves when several payments are in flight

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add kamanu-coach -- uvx kamanu
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "kamanu-coach": {
      "command": "uvx",
      "args": [
        "kamanu"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "kamanu-coach": {
      "command": "uvx",
      "args": [
        "kamanu"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "kamanu-coach": {
      "command": "uvx",
      "args": [
        "kamanu"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "kamanu-coach": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "kamanu"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add kamanu-coach -- uvx kamanu
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.kamanu-coach]
command = "uvx"
args = ["kamanu"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "kamanu-coach": {
      "command": "uvx",
      "args": [
        "kamanu"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user kamanu-coach uvx -- kamanu

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "kamanu-coach": {
      "command": "uvx",
      "args": [
        "kamanu"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "kamanu-coach": {
      "command": "uvx",
      "args": [
        "kamanu"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "kamanu-coach": {
      "command": "uvx",
      "args": [
        "kamanu"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "kamanu-coach": {
      "command": "uvx",
      "args": [
        "kamanu"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "kamanu-coach": {
      "command": "uvx",
      "args": [
        "kamanu"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "kamanu-coach": {
      "command": "uvx",
      "args": [
        "kamanu"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "kamanu-coach": {
      "command": "uvx",
      "args": [
        "kamanu"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "kamanu-coach": {
      "command": "uvx",
      "args": [
        "kamanu"
      ]
    }
  }
}
```

## FAQ

### How do I install Kamanu coach?

It is published on PyPI as kamanu and can be run with uvx kamanu mcp coach, or installed with pip and started with the kamanu command.

### Does Kamanu coach move or hold money?

No. It reports what a limit allows and does not hold, move or enforce payments.

### Does Kamanu coach need an account or API key?

The registry entry lists no environment variables, and the README describes it as running locally without a network connection after installation.

### Is Kamanu coach free?

Yes. Kamanu coach is open source, so you can use and self-host it for free.

### How do I add Kamanu coach to Claude Code?

Run this command in your terminal: claude mcp add kamanu-coach -- uvx kamanu

### What are the best alternatives to Kamanu coach?

The closest alternatives to Kamanu coach are Kamanu lint, Kamanu, Agent Spend Policy MCP, AgentPay and PipRail.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Kamanu lint](https://ai-powered.com/mcp/kamanu-lint): Kamanu lint is an open-source MCP server for agent payments.
- [Kamanu](https://ai-powered.com/mcp/kamanu): Kamanu is an open-source MCP server for agent testing.
- [Agent Spend Policy MCP](https://ai-powered.com/mcp/agent-spend-policy-mcp): Agent Spend Policy MCP is an open-source MCP server for agent payments.
- [AgentPay](https://ai-powered.com/mcp/agentpay-7): AgentPay is an open-source MCP server for agent payments.
- [PipRail](https://ai-powered.com/mcp/piprail): PipRail is an open-source MCP server for finance and payments.
- [Paybond MCP Server](https://ai-powered.com/mcp/paybond-mcp-server): Paybond MCP Server is a freemium MCP server for agent payments.
- [Boundra — Payment Approval Gateway for AI Agents](https://ai-powered.com/mcp/boundra-payment-approval-gateway-for-ai-agents-2): Boundra — Payment Approval Gateway for AI Agents is an open-source MCP server for finance and payments.
- [agentic-pay](https://ai-powered.com/mcp/agentic-pay): agentic-pay is an open-source MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/kamanu-coach
