Skip to content
Gemini CLI

Chopper for Gemini CLI

io.github.wiiiktor/chopper

Cuts the exact quotes that answer a question out of long text and reranks passages, in one pass.

client:Gemini CLI transport:stdio runtime:pypi

Install Chopper 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": {
    "chopper": {
      "command": "uvx",
      "args": [
        "chopper-rag"
      ],
      "env": {
        "CHOPPER_VARIANT": "<CHOPPER_VARIANT>",
        "CHOPPER_DEVICE": "<CHOPPER_DEVICE>",
        "CHOPPER_ALLOWED_DIRS": "<CHOPPER_ALLOWED_DIRS>",
        "CHOPPER_SNAP": "<CHOPPER_SNAP>"
      }
    }
  }
}

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

Chopper in other clients