
kucherenko/jscpd
Duplicate code detection with jscpd: check snippets and files
by kucherenkoOpen source
Description
jscpd is a copy and paste detector for source code. It supports more than 220 languages, and its engine is written in Rust and ships as a self-contained binary. It tokenizes each file using the rules of its own language, including that language's comment and string syntax, rather than treating code as plain text, and then finds duplicated sequences of tokens across files using a rolling hash. Optional passes catch copies that differ only in names or values. Reports can be produced as text, SARIF, HTML or badges, and the project offers a GitHub Action to check pull requests. It also includes an MCP server for AI agents, and a token-efficient reporter for use with assistants. The README describes further features in the same tool, including dead code detection, complexity hotspots, duplication trends over git history and a health score for the codebase. Documentation is at jscpd.dev.…
Highlights
- Duplicate detection in more than 220 languages
- Rust engine as a self-contained binary
- SARIF, HTML and badge reports
- GitHub Action and MCP server for agents
Ratings & Reviews
No ratings yet
Be the first to rate kucherenko/jscpd.
People also visit

code-reviewer
Thorough code review with focus on security, performance, and best practices
kucherenko/jscpd FAQ
What is jscpd?
A copy and paste detector for source code, with support for more than 220 languages.
Is it free?
The project is open source and its repository is public on GitHub. The README does not list prices.
How does it find duplicates?
It tokenizes each file using its language's rules, then uses a rolling hash to find duplicated token sequences across files.
Can it run in CI?
Yes. The README lists a GitHub Action, and it can produce SARIF reports.
Does it work with AI assistants?
Yes. The README lists an MCP server for AI agents and a token-efficient reporter.
What are the best kucherenko/jscpd alternatives?
Popular alternatives to kucherenko/jscpd include jscpd, dry-refactoring and fallow. See all kucherenko/jscpd alternatives















