Skip to content
Gemini CLI

log reducer for Gemini CLI

io.github.imankha/log-reducer

Reduces log files for AI consumption — 50-90% token reduction via 18 deterministic transforms.

client:Gemini CLI transport:stdio runtime:npm

Install log reducer in Gemini CLI

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

{
  "mcpServers": {
    "log-reducer": {
      "command": "npx",
      "args": [
        "-y",
        "logreducer"
      ]
    }
  }
}

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

log reducer in other clients