Sipcode
@Anuj7411
关于 Sipcode
Open-source MCP server and PreToolUse hook for Claude Code. Exposes 15 MCP tools that let Claude inspect its own context-hygiene stats mid-session (token waste, duplicate reads, drift, cost forecasts), and caps verbose tool output plus dedups same-session file re-reads to keep co
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"sipcode": {
"command": "npx",
"args": [
"-y",
"-p",
"sipcode",
"sipcode-mcp"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Sipcode?
Sipcode is an open-source (MIT) MCP server and PreToolUse hook for Claude Code. It keeps the AI’s context clean over long sessions and exposes context hygiene to Claude as MCP tools.
How to use Sipcode?
Install globally via npm: npm i -g sipcode && sipcode init. After setup, it runs automatically within Claude Code sessions.
Key features of Sipcode
- Caps verbose tool output (grep, npm install, git log, tsc) before it reaches the model.
- Deduplicates same-session re-reads of unchanged files using content-hash checks.
- Ships 15 MCP tools for inspecting context stats: token waste, duplicate reads, drift, cost forecasts.
- Reports ~62% median token savings on a reproducible benchmark.
- Open-source under MIT license.
Use cases of Sipcode
- Maintaining AI reliability during long Claude Code sessions.
- Reducing token consumption by filtering verbose command outputs.
- Avoiding redundant reading of unchanged files across multiple tool calls.
- Monitoring context health mid-session with provided MCP tools.
- Improving code generation quality by keeping the context window clean.
FAQ from Sipcode
What problem does Sipcode solve?
It addresses context window bloat by capping verbose output and deduplicating file reads, keeping the AI reliable over long sessions.
How does Sipcode deduplicate file reads?
It uses content-hash based deduplication and never serves stale bytes to the model.
What MCP tools does Sipcode provide?
It provides 15 MCP tools for inspecting context stats such as token waste, duplicate reads, drift, and cost forecasts.
What are the reported benefits?
A reproducible benchmark shows ~62% median token savings; Anthropic’s research reports a 29% quality lift and around 40% fewer agent errors when context stays clean.
Is Sipcode open source?
Yes, it is released under the MIT license.
其他 分类下的更多 MCP 服务器
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
评论