rtok

listepo/rtok
★ 0 stars Rust AI/LLM Updated 3d ago
Token-reduction CLI for AI coding agents: hooks, MCP server and API proxy with pluggable methods
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "rtok": {
      "command": "cargo",
      "args": [
        "run",
        "--",
        "rtok"
      ]
    }
  }
}

README Excerpt

`rtok` reduces the context that AI coding agents must carry. It is one Rust binary with three surfaces: Claude Code hooks, an MCP server, and an API proxy. Each reduction is measured, and shortened payloads stay retrievable by id. Install the Rust version pinned by this repository, then build the binary:

Tools (10)

archivecmdgraphguardinjectmeasurememoryproxyreadtoon