Skip to content
Claude Desktop

ContextGuard — AI Token-Burn & Compaction Loop Auditor for Claude Desktop

io.github.oneandroid-max/contextguard-compaction

Audit AGENTS.md & .cursorrules token burn, compile <5KB START.md cards, and stop compaction loops.

client:Claude Desktop transport:streamable-http tools:16

Install ContextGuard — AI Token-Burn & Compaction Loop Auditor in Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "contextguard-compaction": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://secondforeman.com/api/mcp"
      ]
    }
  }
}

Claude Desktop has no remote transport in its config file, so this bridges through mcp-remote. Restart the app after saving. Claude Desktop docs

What Claude Desktop can do once it is connected

ContextGuard — AI Token-Burn & Compaction Loop Auditor in other clients