MCP Directory

squeez

by claudioemmanuel · Rust · ★ 101

Hook-based token compressor for 5 AI CLI hosts (Claude Code, Copilot CLI, OpenCode, Gemini CLI, Codex CLI). Up to 95% bash compression, signature-mode for code reads, cross-call dedup, MCP server, self-teaching protocol. Zero runtime deps.

#ai-cli#bash-hook#claude-code#codex-cli#context-engineering#context-window#copilot-cli#gemini-cli#llm#llm-tools#mcp-server#opencode#rust#session-memory#signature-extraction#token-compression#token-optimizer#zero-dependency

Install

cargo install --git https://github.com/claudioemmanuel/squeez.git

Claude Desktop config

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "squeez": {
      "command": "npx",
      "args": [
        "-y",
        "github:claudioemmanuel/squeez"
      ]
    }
  }
}

From the README

[](https://github.com/claudioemmanuel/squeez/actions/workflows/ci.yml) [](https://www.npmjs.com/package/squeez) [](https://crates.io/crates/squeez) [](LICENSE) [](CONTRIBUTING.md#license--contributor-sign-off) [](CHANGELOG.md) End-to-end token optimizer for Claude Code, GitHub Copilot CLI, OpenCode, Gemini CLI, and OpenAI Codex CLI. Compresses bash output up to **95%**, collapses redundant calls, and injects a terse prompt persona — automatically, with zero new runtime dependencies. auto-detects every CLI present on disk and registers the hooks. removes them. Session data and are preserve…
Read full README on GitHub →

💡 Need a managed MCP host?

Try Claude Pro for the smoothest MCP experience, or browse our cloud-hosted servers.

Related developer tools servers