kucherenko/jscpd

Copy/paste (duplicate code) detector, 220+ languages

What

Copy/paste detector for 220+ languages. v5 is a Rust binary with extra passes for dead code, complexity and a health score, plus SARIF output, a GitHub Action and an MCP server.

How to use

bash
npx jscpd .
# or install: curl -fsSL https://jscpd.dev/install.sh | bash
jscpd . --baseline-from-ref origin/main --fail-on-new-clones 0

Reach for it when

you want to find or block duplicated code.