LocalFree

Token Compressor MCP server

base76-research-lab/token-compressor

Compress prompts 40-60% using local LLM + embedding validation. Preserves all conditionals.

12 GitHub stars2 forks

Install Token Compressor in Claude Code

Claude Code
claude mcp add token-compressor -- uvx token-compressor-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "token-compressor": {
      "command": "uvx",
      "args": [
        "token-compressor-mcp"
      ]
    }
  }
}

Frequently asked questions

What does the Token Compressor MCP server do?

Compress prompts 40-60% using local LLM + embedding validation. Preserves all conditionals.

Is the Token Compressor MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Token Compressor run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Token Compressor to Claude Code?

Run: claude mcp add token-compressor -- uvx token-compressor-mcp

More knowledge, memory & rag MCP servers

View all