Skip to content
oneandroid-max avatar

ContextGuard — AI Coding Token & Compaction Auditor

oneandroid-max/contextguard-mcp

Audit and slim AI coding context files, plus compress web docs, for Claude Code, Cursor, and similar editors.

CCM score
66 of 100
tools
3
transport
HTTP
last updated
Nov 29, 2026
View on GitHub

Own this MCP server? Claim it

What it does

  • Audits CLAUDE.md, AGENTS.md, .cursorrules, plan docs, and lockfiles with contextguard_audit_workspace for startup token burn and compaction risk
  • Generates a sub-5 KB START.md boot card and .claudeignore with contextguard_slim_boot_card; compresses HTML, scripts, and stack traces with contextguard_compress_web_doc
  • Runs locally over stdio with no account or API key needed for these three tools; a paid Pro key is only required for extra exports and transcript features
  • Designed for developers trimming startup context and prompt-cache costs in long AI coding sessions

Tools

3 tools

Public tool metadata for what this MCP can expose to an agent.

contextguard_audit_workspaceAudits CLAUDE.md, AGENTS.md, .cursorrules, docs/plans/*.md, and lockfiles for token burn & compaction spirals.

Audits CLAUDE.md, AGENTS.md, .cursorrules, docs/plans/*.md, and lockfiles for token burn & compaction spirals.

No parameter schema in public metadata yet.

contextguard_slim_boot_cardGenerates a <5 KB START.md boot card and .claudeignore cutting startup reads by 60%–85%.

Generates a <5 KB START.md boot card and .claudeignore cutting startup reads by 60%–85%.

No parameter schema in public metadata yet.

contextguard_compress_web_docStrips scripts, styles, SVGs, nav boilerplate, and duplicate stack traces into a budgeted Markdown prompt.

Strips scripts, styles, SVGs, nav boilerplate, and duplicate stack traces into a budgeted Markdown prompt.

No parameter schema in public metadata yet.

Readme

ContextGuard (contextguard-mcp)

Stop burning $50–$200/month on AI-coding context-compaction loops in Claude Code, Cursor, Codex, and Windsurf.


View the full README on GitHub

Details

Repository
github.com/oneandroid-max/contextguard-mcp
Categories
Memory & Context, Developer Tools
Transport
HTTP
Registry
MCP registry, active

Similar to ContextGuard — AI Coding Token & Compaction Auditor

More Memory & Context