
在保留LLM重点并修剪无关MCP工具的同时,将输入标记减少30%
概览
你以为代币减少只是降低成本30%吗? - ⚡ 更快的本地和云大型语言模型:更少的令牌,减少上下文错觉。- 🎯 更好的结果:减少上下文腐烂,保持LLM专注于任务。- 🧠 更多上下文对你有利:减少上下文膨胀,减少内存压缩。 你的AI代理只看到与当前用户任务和意图相关的工具。 ✅ BM25 排名默认✅无需 API 密钥✅,透明运行 ![许可证][许可证链接]!无遥测 ![版本][释放链接]![不和谐][不和谐链接]![FOSSA漏洞][FOSSA链接]![Skyk漏洞][snyk链接] Claude Code , Claude Code Desktop , Claude Cowork Codex Cursor 是编码代理(如Claude Code、Codex CLI和Cursor)的反向代理。
概述(AI 翻译)
你以为代币减少只是降低成本30%吗?
- ⚡ 更快的本地和云大型语言模型:令牌数更少,上下文错觉更少。
- 🎯 更好的结果:减少上下文腐烂,保持LLM专注于任务。
- 🧠 更多上下文信息:减少上下文膨胀, 内存压缩更少。
你的AI代理只看到与当前用户任务和意图相关的工具。
✅ 默认的BM25排名 ✅ 无需API密钥 ✅ 透明地运作
![无遥测][遥测护盾]
![贝壳][贝壳盾] ![蟒蛇][蟒蛇科技盾] ![TypeScript][Typescript-shield] ![锈迹][锈蚀科技盾] ![开始][go-tech-shield] ![C][c-技术盾]
Claude Code , Claude Code Desktop , Claude Cowork
法典
光标
清除你的工具是编码代理的反向代理,例如: 克劳德法典,CLI手稿, 以及光标。
问题所在:
- 上下文腐烂: 模型的准确性和推理会随着输入长度的增加而下降, 即使任务难度保持不变。 持续删除无关内容能持续提升效果。
- 上下文稀释: 在NoLiMa基准中,12个模型中的11个 仅有32K代币,低于其短上下文基线的50%。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Clear Your Tools
Clear Your Tools is a reverse proxy for coding agents such as Claude Code, Codex CLI, and Cursor.
The problem:
- Context Rot: Model accuracy and reasoning degrade as input length grows, even when task difficulty stays the same. Removing irrelevant content consistently improves results.
- Context Dilution: On the NoLiMa benchmark, 11 of 12 models fell below 50% of their short-context baseline at just 32K tokens.
- Context Bloat: Even frontier models lose recall and reasoning quality as context grows into the 32-200K of tokens—and every extra token adds API cost, because providers resend the full history on each turn.
- Local inference: Smaller inputs reduce memory pressure and speed up generation on self-hosted models.
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →