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 context clean. Zero network calls in normal use; all local.
Server Config
{
"mcpServers": {
"sipcode": {
"command": "npx",
"args": [
"-y",
"-p",
"sipcode",
"sipcode-mcp"
]
}
}
}