Polycracker ECU
Local token compression and context-drift telemetry for LLM and MCP payloads
Polycracker ECU is a freemium MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Pricing
- Freemium
- Platforms
- Windows, CLI, API
- Runs
- Locally
- Version
- 1.1.1
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add polycracker-ecu -- uvx polycracker-ecuAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"polycracker-ecu": {
"command": "uvx",
"args": [
"polycracker-ecu"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"polycracker-ecu": {
"command": "uvx",
"args": [
"polycracker-ecu"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"polycracker-ecu": {
"command": "uvx",
"args": [
"polycracker-ecu"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.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.
Add with the CLI
Run in a terminal
codex mcp add polycracker-ecu -- uvx polycracker-ecuOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.polycracker-ecu]
command = "uvx"
args = ["polycracker-ecu"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"polycracker-ecu": {
"command": "uvx",
"args": [
"polycracker-ecu"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "polycracker-ecu": { "command": "uvx", "args": [ "polycracker-ecu" ] } } }Or run: gemini mcp add -s user polycracker-ecu uvx -- polycracker-ecu
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "polycracker-ecu": { "command": "uvx", "args": [ "polycracker-ecu" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.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
Add to cline_mcp_settings.json
{ "mcpServers": { "polycracker-ecu": { "command": "uvx", "args": [ "polycracker-ecu" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.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
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "polycracker-ecu": { "command": "uvx", "args": [ "polycracker-ecu" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "polycracker-ecu": { "command": "uvx", "args": [ "polycracker-ecu" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "polycracker-ecu": { "command": "uvx", "args": [ "polycracker-ecu" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Polycracker ECU
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.
What it does
- 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
Pricing
Freemium
Free 30-day base tune and $0 Sandbox; paid plans required to export custom tune.jwt maps.
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.