Doppelscan
Detect structural code duplication across codebases and generate parameter-aware refactoring templates for developers and coding agents.
Doppelscan is a fast, syntax-aware duplicate code finder engineered specifically for developers and AI coding agents. Powered by Rust and tree-sitter, it identifies structurally identical code fragments even when variable names, literals, or small statements differ. Beyond basic clone detection, Doppelscan reconstructs what a shared helper function should look like by identifying parameter candidates, local renames, and a ready-to-use template body. Built to run as both a standalone CLI and an MCP server, it integrates seamlessly into CI/CD pipelines and interactive agent sessions like Claude Code to automate DRY refactoring and stop code bloat.