Skip to content
Gemini CLI

seatledger for Gemini CLI

io.github.agentwares/seatledger

Local ledger of Claude Code and Codex tokens, API-equivalent cost, limits and token-rate changes.

client:Gemini CLI transport:stdio runtime:npm

Install seatledger in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "seatledger": {
      "command": "npx",
      "args": [
        "-y",
        "seatledger"
      ],
      "env": {
        "CLAUDE_CONFIG_DIR": "<CLAUDE_CONFIG_DIR>",
        "CODEX_HOME": "<CODEX_HOME>",
        "SEATLEDGER_HOME": "<SEATLEDGER_HOME>",
        "SEATLEDGER_KEY": "<SEATLEDGER_KEY>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

seatledger in other clients