Loomal

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

8 starspypi: token-compressor-mcp

About token-compressor

token-compressor is an MCP (Model Context Protocol) server published by base76-research-lab in the official MCP registry, listed under RAG Systems on Loomal. Compress prompts 40-60% using local LLM + embedding validation. Preserves all conditionals.

It ships as a Python package on PyPI (token-compressor-mcp), so any MCP client that can launch a local process can run it.

Development happens in the open at github.com/base76-research-lab/token-compressor, where the project has earned 8 GitHub stars.

Use token-compressor with your agent

Claude Code · one command
claude mcp add token-compressor -- uvx token-compressor-mcp
Claude Desktop, Cursor & other MCP clients · config
{
  "mcpServers": {
    "token-compressor": {
      "command": "uvx",
      "args": [
        "token-compressor-mcp"
      ]
    }
  }
}
pypitoken-compressor-mcp

Frequently asked questions

What is token-compressor?
token-compressor is an MCP (Model Context Protocol) server by base76-research-lab in the RAG Systems category. Compress prompts 40-60% using local LLM + embedding validation. Preserves all conditionals.
How do I connect token-compressor to Claude, Cursor, or another MCP client?
Install token-compressor from its pypi package (token-compressor-mcp) and register it under "mcpServers" in your client's MCP configuration — for example claude_desktop_config.json or Cursor's mcp.json — then restart the client.
Is token-compressor open source?
Yes — the source code is public at github.com/base76-research-lab/token-compressor, with 8 GitHub stars.
Can AI agents pay to use token-compressor?
Not yet through Loomal — token-compressor is listed as a free directory entry. If its maintainer verifies ownership, they can set per-call USDC pricing that agents pay over x402, with settlement on Base.

Listing data from the official MCP registry and GitHub, refreshed periodically. Not affiliated with the maintainer unless claimed. Maintain token-compressor? Claim this listing free by verifying GitHub ownership, or contact us.