mcpbeat Sign in

ctxprune MCP Server

by riceharvest Your server? Claim it
local only

ctxprune runs on your own machine — the client starts it, so there is no endpoint to ping. 336 installs a week from pypi. Last commit 21 Nov 2026.

Read big logs, JSON dumps and test output compacted: lossless, or token-pruned keeping IDs.

Installs per day peak 915 · avg 110 · -88% w/w
a month agotoday
336
Installs / week
pypi · ctxprune
0
Stars
0 open issues
21 Nov 2026
Last commit
from GitHub
0BSD
License
Python

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add ctxprune -- uvx ctxprune mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "ctxprune": {
      "command": "uvx",
      "args": [
        "ctxprune",
        "mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.ctxprune]
command = "uvx"
args = ["ctxprune", "mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "ctxprune": {
      "command": "uvx",
      "args": [
        "ctxprune",
        "mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "ctxprune": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "ctxprune",
        "mcp"
      ]
    }
  }
}

What the code does

We read the source, 8 h ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

        tmp = os.path.join(d, f".{base}.ctxprune-{os.getpid()}.tmp")
    return subprocess.run(cmd, input=stdin.encode("utf-8"), capture_output=True, env=env, shell=shell,
            p_on = _run(cmd, _canary_env(td), json.dumps(ev), shell=True)
  $("trytext").innerHTML = html;
    env = dict(os.environ)

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Alternatives to ctxprune

same job, measured the same way
Sendora
by sendora

Sendora's docs and API for coding agents: send test mail, read the log, set up webhooks.

3 679 installs/wk 2 tools answering
Log10x MCP
by log-10x

Rank log patterns by volume and cost, then compact, tier down or offload the excess over each cap

1 536 installs/wk local only
Tracegate CI
by davidscotttufts

Local CI broker and test-impact ledger for coding agents: queue, lane modes and red-run packets.

653 installs/wk local only
Whittle MCP
by builditwithgk

Trim test logs, JSON, diffs and OpenAPI for agents, and measure what was kept

204 installs/wk local only
LatentGate
by kathanmodh259

Read large logs, JSON and docs in a fraction of the tokens. Offline, fact-preserving optimizer.

203 installs/wk local only
Homebridge
by mp-consulting

Control Homebridge accessories and scenes, manage plugins and config.json, and read logs

196 installs/wk local only
Emulo
by ohad6k

Mine your AI coding session logs into a you.md profile with dated receipts, for an agent to read.

187 installs/wk local only
Ami Survey
by speedofred

Measures the cost, tokens and duration of a completed agent workflow from its session log.

156 installs/wk local only

ctxprune — questions

Answers built from our own checks of this server.

Why is there no uptime for ctxprune?
ctxprune runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package ctxprune was installed 336 times last week.
How do I connect ctxprune?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls ctxprune straight from pypi; nothing to host, nothing to sign up for.
How many people use ctxprune?
The pypi package ctxprune was installed 336 times in the last week. Week over week that is -88%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is ctxprune open source?
No, and the distinction matters: its licence is declared as 0BSD. That makes it source-available — you can read the code, but the terms are the author's own, not one of the recognised open-source licences. Read them before you build on it.