Kamanu coach
Tells an AI agent whether a payment fits under a spending limit and when it will
Kamanu coach is an open-source MCP server for agent payments. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, API, Self-hosted
- Runs
- Locally
- Version
- 0.1.1
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add kamanu-coach -- uvx kamanuAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"kamanu-coach": {
"command": "uvx",
"args": [
"kamanu"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"kamanu-coach": {
"command": "uvx",
"args": [
"kamanu"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"kamanu-coach": {
"command": "uvx",
"args": [
"kamanu"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.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.
Add with the CLI
Run in a terminal
codex mcp add kamanu-coach -- uvx kamanuOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.kamanu-coach]
command = "uvx"
args = ["kamanu"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"kamanu-coach": {
"command": "uvx",
"args": [
"kamanu"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "kamanu-coach": { "command": "uvx", "args": [ "kamanu" ] } } }Or run: gemini mcp add -s user kamanu-coach uvx -- kamanu
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "kamanu-coach": { "command": "uvx", "args": [ "kamanu" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.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
Add to cline_mcp_settings.json
{ "mcpServers": { "kamanu-coach": { "command": "uvx", "args": [ "kamanu" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.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
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "kamanu-coach": { "command": "uvx", "args": [ "kamanu" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "kamanu-coach": { "command": "uvx", "args": [ "kamanu" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "kamanu-coach": { "command": "uvx", "args": [ "kamanu" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Kamanu coach
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.
What it does
- 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
Pricing
Open source
Free open-source code under Apache 2.0.
Kamanu coach 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.