Skip to content
VS Code

Chopper for VS Code

io.github.wiiiktor/chopper

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

client:VS Code transport:stdio runtime:pypi

Install Chopper in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "chopper-variant",
      "description": "CHOPPER_VARIANT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "chopper-device",
      "description": "CHOPPER_DEVICE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "chopper-allowed-dirs",
      "description": "CHOPPER_ALLOWED_DIRS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "chopper-snap",
      "description": "CHOPPER_SNAP",
      "password": true
    }
  ],
  "servers": {
    "chopper": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "chopper-rag"
      ],
      "env": {
        "CHOPPER_VARIANT": "${input:chopper-variant}",
        "CHOPPER_DEVICE": "${input:chopper-device}",
        "CHOPPER_ALLOWED_DIRS": "${input:chopper-allowed-dirs}",
        "CHOPPER_SNAP": "${input:chopper-snap}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Chopper in other clients