Skip to content
The Daily Repo

kucherenko / jscpd

Copy/paste detector for source code. 220+ languages, Rust engine, SARIF/HTML/badge reporters, GitHub Action, MCP server for AI agents.

Why this job: says: mcp server; topics: mcp

What it does

  • Language-aware tokenization. per-format comment and string syntax for all 224 formats, the oxc parser for JavaScript/TypeScript/JSX/TSX, embedded-language extraction for Vue, Svelte, Astro, Markdown and Razor, and keyword/identifier/litera
  • 224 language formats, with cross-format detection (Vue SFC, Svelte, Astro, Markdown) and --cross-formats groups to match clones across JavaScript and TypeScript
  • Type-2 clones. --ignore-identifiers, --ignore-literals and --ignore-annotations find blocks that differ only in names, literal values or annotations, reported as renamed. A name must stand for one name on the other side, so x = x + x does
  • Type-3 near-miss clones. --max-gap-lines N merges a copy with a few inserted or changed lines into one similar clone with a similarity score; --similarity compares whole functions of JavaScript, TypeScript, Python, Java, Kotlin, Scala, C#,
  • Type-4 semantic clones (experimental). --semantic embeds the functions of JavaScript, TypeScript, Vue, Svelte, Astro, Python, Rust, Go, Java, Kotlin, C#, C, C++, PHP, Ruby, Scala and Swift files with a code embedding model, either one jscp

Get started

No single install command. Read the steps in the README (opens in new tab)

Maintenance
Active
Last commit 2 days ago
Stars
6,524
+28 this week
Licence
MIT
Allows business use
Downloads for
3 systems
Mac, Windows, Linux
Latest version
v5.4.3
Released 2 days ago
Built with
Rust
82% of the code

Is it looked after?

Contributors
4
Last 90 days
Issues
90% closed
46 still open
Pull requests
581 merged
6 waiting
Releases
27
27 in the last year

Similar repos

Repos similar to this one
RepoStarsLast commitLicenceDownloads for
microsoft / mcp-interviewer15857 days agoMITNo downloads
More: download files, languages, topics and project record

Download files, v5.4.3

  • Mac4 files, 64 downloads
  • Windows4 files, 53 downloads
  • Linux8 files, 107 downloads

All files on GitHub (opens in new tab)

Languages

  • Rust 82%
  • HTML 2%
  • JavaScript 2%
  • TypeScript 2%

Topics

  • copy-paste
  • duplicates
  • cpd
  • code-quality
  • clones-detection
  • ai
  • coding-agents
  • skills
  • mcp
  • dry
  • copy-paste-detection
  • cli

Project record

  • JobMCP servers
  • StatusListed
  • Commits2,460
  • Forks275
  • Watching26
  • Stars in 28 days+139
  • CreatedMay 29, 2013
  • First seen by usNov 7, 2026
  • CheckedNov 9, 2026

Type to search.

Try