@clinetools/dead-code
v0.1.0
Published
Find unused functions, variables, imports, exports, and CSS classes across your codebase. Supports tree-shaking analysis.
Maintainers
Readme
Dead Code Detector
Find unused functions, variables, imports, exports, and CSS classes across your codebase. Supports tree-shaking analysis.
Quick Start
npx @clinetools/dead-codeSetup
1. Get your token
Sign up at clinetools.com and get your API token.
2. Set environment variable
export CLINETOOLS_TOKEN=ct_live_...3. Add to your MCP client
Claude Code
claude mcp add dead-code -- npx @clinetools/dead-codeClaude Desktop / Cline
Add to your MCP settings JSON:
{
"mcpServers": {
"dead-code": {
"command": "npx",
"args": ["@clinetools/dead-code"],
"env": {
"CLINETOOLS_TOKEN": "ct_live_..."
}
}
}
}Links
License
MIT
