anil7948/cctx

Reduce Claude Code token usage by 70-90% using a free local LLM (Ollama). MCP server + Stop hook with codebase indexing, tool output compression, and turn summarization.

3Stars on the repository
1Mods indexed here, across every type
2mo agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

cctx-optimizer

01

anil7948/cctx

MCP server Claude CodeCodexCursor +2

Reduce Claude Code token usage by 70-90% with cross-session memory and four-layer optimization: semantic codebase indexing, PostToolUse tool compression, turn summarization, and session consolidation. MCP server powered by Ollama — zero API calls, runs en. Runs locally from the cctx-optimizer npm package.

3 2mo ago A tokens not measured original MIT