Exact-decimal double-entry for agents. Call MCP tools; do not do money math in tokens.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add ledger -- npx -y @eternal-roman/ledger-mcp~/.codex/config.toml
[mcp_servers.ledger]
command = "npx"
args = ["-y", "@eternal-roman/ledger-mcp"]
# codex mcp add ledger -- npx -y @eternal-roman/ledger-mcp~/.cursor/mcp.json
{
"mcpServers": {
"ledger": {
"command": "npx",
"args": [
"-y",
"@eternal-roman/ledger-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"ledger": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@eternal-roman/ledger-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"ledger": {
"command": "npx",
"args": [
"-y",
"@eternal-roman/ledger-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"ledger": {
"command": "npx",
"args": [
"-y",
"@eternal-roman/ledger-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"ledger": {
"command": "npx",
"args": [
"-y",
"@eternal-roman/ledger-mcp"
]
}
}
}