{"repo":"ooples/token-optimizer-mcp","free":true,"listed":false,"github":"https://github.com/ooples/token-optimizer-mcp","clone":"git clone https://github.com/ooples/token-optimizer-mcp.git","description":"Measure token savings per AI coding agent, optimize context, and share a live local knowledge graph across 16 CLI clients.","language":"JavaScript","stars":487,"topics":["ai","caching","claude","compression","llm","mcp","mcp-server","token-optimization","gemini-cli-extension"],"license":"MIT","category":"mcp-servers","readme_excerpt":"Token Optimizer MCP Spend less context, keep the conclusions, and audit every claim across 16 coding clients. One local ledger for optimizer tools, live-graph substitutions, every agent, and the graph's own cost. --- The 30-second version Your agent burns most of its context on work it already did: re-reading files that have not changed, dumping a whole file to see three lines, running unbounded searches, and re-deriving conclusions it reached last session and then forgot. Token Optimizer attacks that on four fronts. 1. It makes the expensive call impossible. Install the plugin and a built-in Read of a 200 KB file is denied , with the refusal naming the cached, diffed replacement. Same for Grep , Glob , Edit , Write , and cat / head / grep -r through the shell. Re-reading a file you already read this session returns only a diff — usually the single biggest win, and one that size-based rules structurally cannot catch. There is no setting to turn on. 2. It remembers what your agent worked out. A per-project knowledge graph accumulates findings, decisions and dead ends as a side effect of working, then feeds them back the moment the agent touches the relevant file. A finding costs 150 tokens to carry. Re-deriving it costs 5k–50k. 3. It measures itself, in public, and tells you when it is losing. A materialized before/actual-return measurement for MCP progressive disclosure, with later expansions debited from the same net. Modeled graph substitutions and the randomized control ar","default_branch":null,"files":null,"tree":[],"storefront":"/r/ooples","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ooples/token-optimizer-mcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}