What it does
Sipcode is a command-line tool that runs alongside Claude Code. It monitors the context window, warns when it starts to bloat, and intercepts duplicate file reads and other waste before they reach Claude. Each saving is reported in the terminal. It is open source under the MIT license and makes no network calls during normal use.
It is relevant for long Claude Code sessions, where cost rises and answer quality can drop as the context fills. The drift command flags bloated context, repeated reads and stale signals in the latest session. The proxy stats command breaks down what was caught by each rewriter, and the today and forecast commands summarise daily spend and project month-end totals. The benchmark command runs a scripted corpus of 20 synthetic tasks, which gives a median reduction of 62.6%. The impact command measures the effect on a user's own sessions.
Sipcode is installed as a global npm package. Once installed, new Claude Code sessions use it automatically, and the drift output confirms that it is active. It also reads OpenAI Codex CLI session logs for spend analytics and usage limits, without changing how Codex works.
Limitations and requirements
The 62.6% figure comes from synthetic transcripts pairs, not live sessions, so actual savings depend on the user's workload and must be measured with the impact command. For Codex, Sipcode only reports spend and usage limits and has no hook; it reads session logs from ~/.codex folders (or the CODEX_HOME path) and does not read Cursor logs. Installation requires npm.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- Official MCP Registry first seen 13 Nov 2026 · last seen 13 Nov 2026 · its page on the source
Sipcode
Context hygiene for Claude Code: drift detection, re-read dedup, and token analytics.
v1.7.1As shown on registry.modelcontextprotocol.io when we last read it