Skip to content
Claude Code

ctxprune for Claude Code

io.github.riceharvest/ctxprune

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

client:Claude Code transport:stdio runtime:pypi

Install ctxprune in Claude Code

run in your project directory

claude mcp add ctxprune -- uvx ctxprune

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

ctxprune in other clients