analyze_dead_code
Detect unreachable code with configurable confidence
How to use it
analyze_dead_code is exposed by the Fossil MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the analyze_dead_code tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Fossil MCP
claude mcp add fossil fossil-mcpOther tools in Fossil MCP (7)
Find duplicated code (Type 1/2/3 clones)
Find AI scaffolding: phased comments, TODOs, placeholders, and temp files
Get rich context about a specific finding
Inspect call graph, data flow, control flow, or blast radius for any function
Incremental re-analysis after file changes (fast)
Find call paths between two functions — understand how code connects
Run all analyses (dead code + clones + scaffolding) on a project