ctxcap

Level CLocal

Offline token-budget linter for agent context files — measures CLAUDE.md/AGENTS.md, finds dead references, returns a ranked plan.

⭐ 3Development ToolsJavaScriptRepo ↗Updated 2026-11-16

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "ctxcap": {
      "command": "npx",
      "args": [
        "ctxcap-mcp"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/Naeha-S/ctxcap

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "ctxcap": {
      "command": "npx",
      "args": [
        "ctxcap-mcp"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers