Find copied and pasted code across a software project, in more than 220 programming languages and file formats.
Your data
Your choice: device or online
Coding needed
Developers only
Cost
Free
Runs on
Mac, Windows, Linux
Computer
An ordinary computer is fine
Can run on your device
Drafted with AIMostly for developers
What it does
jscpd scans a software project for duplicated code: the same lines copied into several places, which makes bugs harder to fix everywhere. Its makers say it understands more than 220 languages and file formats, and optional checks also catch copies with renamed parts or a few changed lines.
It can also find unused code, rank files by how complicated they are, track how duplication changes over a project's history, and give the whole project one health score. Results can be shown in the terminal or saved as reports, including HTML pages and badges.
It runs as a single command-line program on Mac, Windows and Linux, and as a GitHub Action that checks code automatically.
AI integration
jscpd has a built-in MCP server (a standard plug for AI assistants), so an AI coding assistant can check new code against your project for copies, list a file's copies and compare two folders. An experimental option uses an AI model to find code that does the same thing written differently; its makers say the model runs on your computer, or you can point it at an outside service. There is also a short report format for AI.
Type
Built-in AI features and a connector for AI assistants
Enabled by default
No. The AI features must be enabled by the user or an administrator.
Compatible with
AI coding assistants that support MCP; its semantic check uses a model run on your computer or an OpenAI-compatible service such as Ollama
Who it's for
Software developers and teams who want to keep their code tidy and spot copy-and-paste repetition.
Can I use it without coding?
Developers only. It is a command-line tool you point at a code folder, so it suits people who work with code. New to this? Start here.
Can I run it?
Cost
FreeNothing to pay or sign up for.
Runs on
Mac, Windows, Linux
Computer
An ordinary computer is fine
Privacy
Your choice: run it on your device or use an online service
API key
Not needed
Try it
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?
Before you install
Only download from the official GitHub page. Copies with similar names exist for many popular projects.
Plain-AyI is an independent guide and doesn't host or review the software it lists. Please check each project's official page before installing.
License (MIT): Very permissive: free to use, change and share, including for business.