Sipcode
@Anuj7411
About 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
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"sipcode": {
"command": "npx",
"args": [
"-y",
"-p",
"sipcode",
"sipcode-mcp"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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.
More Other MCP servers
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
ICSS
chokcoco不止于 CSS
ghidraMCP
LaurieWiredMCP Server for Ghidra
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Comments