token compressor for Claude Desktop
io.github.base76-research-lab/token-compressor
Compress prompts 40-60% using local LLM + embedding validation. Preserves all conditionals.
client:Claude Desktop
transport:stdio
runtime:pypi
Install token compressor in Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"token-compressor": {
"command": "uvx",
"args": [
"token-compressor-mcp"
]
}
}
}
Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs