Chopper
v0.1.10Cuts the exact quotes that answer a question out of long text and reranks passages, in one pass.
Values you need
| Variable | What it is | |
|---|---|---|
CHOPPER_VARIANT | optional | Model size and language: base (default), small, base-pl (Polish), mmbert-base-pl, small-pl Default: base |
CHOPPER_DEVICE | optional | auto (default), cpu or cuda; a GPU is recommended Default: auto |
CHOPPER_ALLOWED_DIRS | optional | Directories chop_files may read (default: the home directory) |
CHOPPER_SNAP | optional | sentence (default: whole sentences), word (never cut inside a word) or none (raw) Default: sentence |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add chopper -- uvx --from chopper-rag==0.1.10 chopper-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"chopper": {
"args": [
"--from",
"chopper-rag==0.1.10",
"chopper-mcp"
],
"command": "uvx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"chopper": {
"args": [
"--from",
"chopper-rag==0.1.10",
"chopper-mcp"
],
"command": "uvx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"chopper": {
"args": [
"--from",
"chopper-rag==0.1.10",
"chopper-mcp"
],
"command": "uvx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.chopper]
command = "uvx"
args = ["--from", "chopper-rag==0.1.10", "chopper-mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: chop_passages, rank_passages, chop_files.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json