# Polycracker ECU

> Polycracker ECU is a freemium MCP server for developer tools. Local token compression and context-drift telemetry for LLM and MCP payloads. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** Windows, CLI, API, Web, Self-hosted
- **Repository:** https://github.com/parrot-software-bc/polycracker-ecu
- **MCP Registry name:** io.github.parrot-software-bc/polycracker-ecu
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-27

## About

Polycracker ECU sits between your tools and your model provider, rewriting large code and JSON payloads into a compact intermediate form before they are sent. The compression is deterministic: Python source is parsed into an AST and reduced, so the same input always yields the same output rather than relying on a secondary model to decide what to drop.

A telemetry feature called knock detection estimates how much meaning a given compression level is likely to strip, so you can back off before a model starts misreading the prompt. Each run reports the token counts before and after, the processing overhead, and the estimated cost saved, which lets you check the figures against your own provider invoice.

The tool runs entirely on your machine. It can be reached through a local HTTP proxy on port 8000 or added to an editor or agent as a stdio MCP server. It is aimed at developers who run coding agents or scripts with large repositories and repetitive JSON tool output, and who want control over how aggressively their context is trimmed.

## Features

- **Deterministic Python compression:** Parses Python source into an AST and emits a reduced intermediate representation with repeatable results.
- **Context-drift knock detection:** Flags compression settings likely to remove details the model needs before the request is sent.
- **Local HTTP proxy:** Routes any API client through a proxy on 127.0.0.1:8000 to your OpenAI, Anthropic or Ollama upstream.
- **stdio MCP server:** Connects directly to MCP-capable editors and agents over stdio without a network relay.
- **Token savings reporting:** Shows token counts before and after compression, plus processing time and estimated savings per request.
- **Signed tuning profiles:** Loads offline Ed25519-signed tune.jwt calibration files that set compression parameters.

## Good for

- Reduce the size of large repository files and JSON tool dumps sent to a coding agent
- Measure how much compression a workload tolerates before answer quality drops
- Route scripts and API clients through a local proxy to trim prompts before they reach a provider
- Keep sensitive source code on the local machine while still using a hosted model

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add polycracker-ecu -- uvx polycracker-ecu
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "polycracker-ecu": {
      "command": "uvx",
      "args": [
        "polycracker-ecu"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "polycracker-ecu": {
      "command": "uvx",
      "args": [
        "polycracker-ecu"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "polycracker-ecu": {
      "command": "uvx",
      "args": [
        "polycracker-ecu"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "polycracker-ecu": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "polycracker-ecu"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add polycracker-ecu -- uvx polycracker-ecu
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.polycracker-ecu]
command = "uvx"
args = ["polycracker-ecu"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "polycracker-ecu": {
      "command": "uvx",
      "args": [
        "polycracker-ecu"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user polycracker-ecu uvx -- polycracker-ecu

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "polycracker-ecu": {
      "command": "uvx",
      "args": [
        "polycracker-ecu"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "polycracker-ecu": {
      "command": "uvx",
      "args": [
        "polycracker-ecu"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "polycracker-ecu": {
      "command": "uvx",
      "args": [
        "polycracker-ecu"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "polycracker-ecu": {
      "command": "uvx",
      "args": [
        "polycracker-ecu"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "polycracker-ecu": {
      "command": "uvx",
      "args": [
        "polycracker-ecu"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "polycracker-ecu": {
      "command": "uvx",
      "args": [
        "polycracker-ecu"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "polycracker-ecu": {
      "command": "uvx",
      "args": [
        "polycracker-ecu"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "polycracker-ecu": {
      "command": "uvx",
      "args": [
        "polycracker-ecu"
      ]
    }
  }
}
```

## FAQ

### Does the tool send my code to a cloud service?

No. The compression runs locally and the proxy and stdio MCP server operate on your machine.

### Is Polycracker ECU free to use?

A 30-day base tune is included at install with no account required. A free $0 Sandbox account is available for manual tuning, and exporting custom tune.jwt files requires a paid subscription.

### Which platform is supported?

The current Windows x64 build is documented. The Python CLI wrapper is installed with pip.

### Which upstream model providers can Polycracker ECU use?

The dashboard can be configured with OpenAI, Anthropic or Ollama upstream URLs.

### How do I add Polycracker ECU to Claude Code?

Run this command in your terminal: claude mcp add polycracker-ecu -- uvx polycracker-ecu

### What are the best alternatives to Polycracker ECU?

The closest alternatives to Polycracker ECU are Compress-token, TokenSlim MCP — verifiable token reduction for agents, llmtrim, Token Optimizer and Diogenes Context Compression & Code Solvers MCP.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Compress-token](https://ai-powered.com/mcp/compress-token): Compress-token is an open-source MCP server for developer tools.
- [TokenSlim MCP — verifiable token reduction for agents](https://ai-powered.com/mcp/tokenslim-mcp-verifiable-token-reduction-for-agents): TokenSlim MCP — verifiable token reduction for agents is an open-source MCP server for developer tools.
- [llmtrim](https://ai-powered.com/mcp/llmtrim): llmtrim is an open-source MCP server for ai models and llm tooling.
- [Token Optimizer](https://ai-powered.com/mcp/token-optimizer): Token Optimizer is an open-source MCP server for developer tools.
- [Diogenes Context Compression & Code Solvers MCP](https://ai-powered.com/mcp/diogenes-context-compression-and-code-solvers-mcp): Diogenes Context Compression & Code Solvers MCP is a freemium MCP server for developer tools.
- [Distil](https://ai-powered.com/mcp/distil): Distil is an open-source MCP server for developer tools.
- [Token Optimizer MCP](https://ai-powered.com/mcp/token-optimizer-mcp): Token Optimizer MCP is an MCP server for ai models and llm tooling.
- [Tokenectomy Razor](https://ai-powered.com/mcp/tokenectomy-razor): Tokenectomy Razor is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/polycracker-ecu
