Browse / MCP servers

kettertom/prompt-compressor

Reduce LLM prompt tokens by 20–70% using rule-based algorithms. No model, no API. Web tool + npm package.

  • MCP
  • llm
  • mcp
  • prompt
  • prompt-compression
  • prompt-engineering
  • token-reduction

Works.Tested on 2026-11-27. From the README alone, on Linux with Haiku.

For maintainers

Keep your README agent-ready

Paste this prompt into your coding agent to tighten onboarding time and keep the README reproducible.

Improve the README and setup experience of kettertom/prompt-compressor so a small coding agent can install and verify it from scratch on a fresh Linux machine (Python 3, Node 22, standard tools).
Latest Coldpass Linux status: Works in 1:28 (tested 2026-11-27).
README deviations recorded during setup: README's Run/Build section covers only the web app (npm install; npm run dev), which is not the MCP or npm package path; I used the README's MCP server npx command instead. Web app not exercised.; Preflight path /inputs/coldpass-preflight.py was absent; used <guest-path> --validate instead..
Please review the README and setup scripts to keep agent onboarding fast and reliable:
1. Fix any documented command that required extra steps or workarounds.
2. Pin dependency versions in a lockfile and document a fast verification command.
3. Keep prerequisites, platform notes, and expected output concise and exact.
Also review the recorded check notes (known vulnerabilities) and address any unintended dependency advisories or committed sample tokens.

Shareable status badge

Add a live Coldpass Linux verification badge to your README.

Coldpass status for kettertom/prompt-compressor
[![Coldpass status](https://coldpass.dev/badge/kettertom--prompt-compressor.svg)](https://coldpass.dev/repo/kettertom--prompt-compressor/)

What we checked

Is it safe?Review first. Found: known vulnerabilities.Each check
  • Malware: none found in its 202 pinned dependency versions or the 94 Python and npm packages installed during our run (OSV malware advisories).
  • Secrets in its files: none found by gitleaks.
  • Known vulnerabilities in its dependencies: 18 OSV advisories: @babel/core 7.29.0 (GHSA-4x5r-pxfx-6jf8); baseline-browser-mapping 2.10.32 (GHSA-w5vr-8v7q-w6rv); browserslist 4.28.2 (GHSA-73wf-gq98-2v4g); browserslist 4.28.2 (GHSA-c83g-rgw3-j3cx); esbuild 0.21.5 (GHSA-67mh-4wv8-2f99); nanoid 3.3.12 (GHSA-28wg-ghj8-5hjv); nanoid 3.3.12 (GHSA-2v37-7h3g-55p8); postcss 8.5.15 (GHSA-fxqj-rqcc-2cmp); postcss 8.5.15 (GHSA-r28c-9q8g-f849); source-map-js 1.2.1 (GHSA-68fv-2mgg-jv7q); vite 5.4.21 (GHSA-4w7w-66w2-5vf9); vite 5.4.21 (GHSA-587h-7wmj-h5pm); vite 5.4.21 (GHSA-698v-4r3x-3vcv); vite 5.4.21 (GHSA-9jrq-w75r-8gcw); vite 5.4.21 (GHSA-fx2h-pf6j-xcff); vite 5.4.21 (GHSA-r825-w8mm-5pxw); vite 5.4.21 (GHSA-rq7h-c2jc-7f22); vite 5.4.21 (GHSA-v6wh-96g9-6wx3).
  • Lines that download and run a program: none found in its source.
  • Planted fake secret files: repo code opened none.
  • Planted fake credential: not seen in unencrypted outgoing traffic. Encrypted traffic can't be read.
  • Hosts the repo's own code contacted: none.

From our newest run of each setup (Nov 27, 2026). A quiet run is not a safety guarantee.

Can a small agent set it up?Yes (Haiku, 1:28)The run

0:41 First use worked

Test history

  • Nov 27, 2026 · d7bbfaf8a475 · linux / Haiku 5.5 · passed · run JSON
Does it do what the README says?1 of 1 claims held up. A claim is one README promise we ran and checked.Evidence

“Rule-based prompt compression that reduces LLM token usage without a model or API”

Does the repo’s own CI pass?Failure.GitHub checks

GitHub’s check status for the default branch at the commit we tested. We did not run their CI.

Needs keys, a login or a browser?No.Details

None seen

What does it depend on?node>=18 (v22.23.4 present), npm, npx, prompt-compressor-mcp from npm registryDependencies

Software the test agent reported the README needed.

Local or hosted?Local: runs on your machineHow we tell

From the README and the endpoint we tested.

Is the README accurate?2 steps differed from it.Deviations
  • README's Run/Build section covers only the web app (npm install; npm run dev), which is not the MCP or npm package path; I used the README's MCP server npx command instead. Web app not exercised.
  • Preflight path /inputs/coldpass-preflight.py was absent; used <guest-path> --validate instead.
What did it do when we ran it?Nothing unexpected seen during our run.What we saw

Linux / Haiku

  • Nothing unexpected in the trace for this setup.
  • While installing, git-remote-https looked up github.com.
  • While installing, node looked up registry.npmjs.org.
  • We found no known-malicious packages among the 94 Python and npm packages we observed (checked against OSV malicious-package advisories).

Linux / Luna

  • Nothing unexpected in the trace for this setup.
  • While installing, git-remote-https looked up github.com.
  • While installing, node looked up registry.npmjs.org.
  • We found no known-malicious packages among the 153 Python and npm packages we observed (checked against OSV malicious-package advisories).

We found no compiled programs in its files.

What we checked: OSV vulnerability and malware advisories for pinned dependencies, OSV malicious-package advisories for observed Python and npm packages, secret-pattern scanning (gitleaks), compiled files shipped in the repo, and the connection attempts, host name lookups, file writes and credential-file reads we traced from repo processes while we installed and ran it. Expected package-manager and cache activity is left out. Where a setup's record is missing, capped or cut short, it says so above, and these checks may not have run for it.

What we didn't check: host names looked up by programs with their own resolver, such as Go programs; whether a connection got through; other UDP traffic; environment variables it read; minified JavaScript; programs packed inside archives or Git LFS; packages beyond the Python and npm inventory; or what the code is meant to do.

A quiet run is not a safety guarantee.

Is it maintained?MaintainedActivity

actively maintained: last commit 0 days ago; 11 commits and 5 merged PRs in 90 days; 0 open issues, 0 open PRs; latest release 2026-06-02

AboutStars: 0 · Forks: 0 · Contributors: 2 · Owner account since Nov 23, 2015Source

Recorded GitHub repository and owner account metadata.

LicenseSPDX: not captured · commercial use: no license listed by GitHubSource

From GitHub’s license detection. The repository’s license text gives the terms.

MCP4 tools · ~655 context tokensTools

From the tools/list page returned on Nov 27, 2026 with Haiku.

  • compress_prompt
  • compress_file
  • compare_levels
  • estimate_tokens
Cost to runFree in this testDetails

Peak guest RAM: 498 MiB

Guest disk change: 60 MiB

GPU need: not captured

Paid service: not captured