@ooples/token-optimizer-mcp weekly downloads statistics
By ooples · npm · Claude Code
91.5% fewer tokens on tool output on Headroom's own benchmark, where Headroom removes 61.4%. Separately, the same SWE-bench tasks resolved at 0.71x the cost of plain Claude Code. Plus memory across sessions and subscription quota pacing. Claude Code, Code
@ooples/token-optimizer-mcp has 3,168 recorded weekly downloads on npm, a decrease of 35.3% over the past 30 days, ranking #1716 of 3,247 tracked listings.
About @ooples/token-optimizer-mcp
On SWE-bench Verified, Claude Code with the plugin in its default mode solved the same tasks as Claude Code without it, at 0.71× the cost (7 of 7 resolved in both arms; across nine runs, 84 tasks resolved without the plugin and 83 with it). It gets there by stopping the waste agents make on their own: re-reading files that have not changed, dumping whole files to see three lines, unbounded searches, and re-deriving what an earlier session already worked out. Everything runs locally. No account, no hosted service, and telemetry is off unless you opt in twice.
<p align="center"> <img alt="Live Token Optimizer dashboard separating verified net MCP transport savings, excluded reports, per-agent attribution, and graph evidence" src="./docs/media/live/overview-live.png" width="1000"> </p> <p align="center"><em>The local dashboard: one ledger for every agent, every saving, and what the optimizer itself cost.</em></p>Quick start
Claude Code. Install the plugin rather than the bare MCP server: the plugin's hooks do the saving, while the server alone only offers tools the model can ignore.
/plugin marketplace add ooples/token-optimizer-mcp
/plugin install token-optimizer@token-optimizer
/reload-plugins
You need Node.js 22.18+ (or 24.11+) on Claude Code's PATH, and Claude Code 2.1.139 or later. Then check it works:
npx token-optimizer-doctor
The doctor feeds a synthetic payload to the real hook and confirms a large read is handled. Every failure names its own fix.
Codex, Copilot CLI, Gemini CLI, Cursor and the rest. Every client runs the
same server, npx -y @ooples/token-optimizer-mcp@latest. Ready-made configuration
for each one is in src/integrations/, and
docs/INSTALLATION.md walks through all sixteen.
- Node.js 22.18.0+ on Node 22, or 24.11.0+, for the hooks and the MCP server.
nodemust be on the PATH of the client process. If you just installed Node.js or Git, start the client again from a new terminal so it picks up the new PATH. - Claude Code 2.1.139 or later. The hooks use the exec form
(
"command": "node", "args": [...]). An older Claude Code ignoresargs, so the hooks silently do nothing; the doctor reports it. - If
nodecannot start, the hooks let the tool call through ("onFailure": "continue"): you lose the savings, not the session. The MCP server shows as disconnected in/mcpuntil Node is reachable.
Full details: docs/INSTALLATION.md.
</details>Does it pay for itself?
<p align="center"> <img alt="Cost per SWE-bench task relative to the same agent without the plugin: assist (default) 0.71x, enforce 0.67x, advise 0.75x, off 1.00x; tasks resolved unchanged" src="./docs/assets/swebench-cost-by-mode.svg" width="900"> </p>Each mode was run on the same 10 SWE-bench Verified instances, paired against a
control session with no plugin. Resolution is graded by the official evaluator.
off lands at 1.00×, which is what it should do: with the hooks and the proxy
off, the product costs nothing extra and saves nothing.
| Run (SWE-bench Verified, Claude Sonnet) | Instances | Cost vs. control | Resolved, control / plugin |
|---|---|---|---|
Default mode (assist), first session | 10 | 0.705× [0.63–0.80] | 7 / 7 |
| Learned cost control, after the hoist fix | 15 | 0.634× [0.54–0.74] | 14 / 14 (of 15) |
off (MCP server only) | 10 | 0.999× [0.83–1.20] | 7 / 7 |
The samples are small and run-to-run variance is large, so read these as directions with intervals, not guarantees. The full method, every run including the ones where it lost, and the per-instance data are in PR #559.
How it compares…
Description from the npm listing.
- mcp
- model-context-protocol
- claude
- claude-code
- token-optimization
- caching
- compression
- ai
- llm
- context-management
- prompt-optimization
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (170)Similar npm Claude Code plugins
All 20 @ooples/token-optimizer-mcp alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@ooples/token-optimizer-mcp. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.