# jscpd

> Copy/paste detector for source code in 224 languages, with an MCP server for AI agents

Source: https://talira.ai/catalog/jscpd-qyspc9pj
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, MCP server, Agent skill
- Categories: [developer tools / code quality](https://talira.ai/categories/developer-tools/code-quality), [ai / mcp / servers](https://talira.ai/categories/ai/mcp/servers)
- Platforms: macos, linux, windows, docker[^3][^4]
- Licence: MIT[^2]
- Pricing: Free[^1][^2]
- Pricing notes: Free and open source (MIT); sponsorship via Open Collective.
- Free tier: yes[^1][^2]
- MCP server: yes[^3]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^3], [Agent Skills](https://talira.ai/standards/agent-skills.md)[^3]
- Backed by: [Andrey Kucherenko](https://talira.ai/orgs/andrey-kucherenko.md)
- Creator: andrey-kucherenko

jscpd finds duplicated code in 224 languages and fails the build when duplication passes a threshold you set. It reports exact copies by default and, on request, renamed clones, near-miss clones (with gaps or by syntax-tree similarity) and experimental semantic clones found with a local code embedding model, even across languages. Boundary rules keep a module's code from being copied elsewhere, and it also finds dead code, ranks complexity, shows a health dashboard and charts duplication over git history. It's a single native Rust binary installed by script, npm, pip, cargo, Homebrew, nix or Docker, runs as a pre-commit hook, a GitHub Action or in GitLab CI with SARIF and HTML reports, has VS Code and JetBrains extensions, and serves coding agents over MCP with five companion skills and a token-saving AI reporter.

## Links

- Website: https://jscpd.dev/
- GitHub: https://github.com/kucherenko/jscpd
- Docs: https://jscpd.dev/start

## Problems it solves

- find copy-pasted code in my codebase
- fail CI when code duplication goes above a threshold
- stop AI coding agents from duplicating helpers that already exist
- find renamed or slightly edited copies of functions
- find unused files and exports in a TypeScript project
- track whether code duplication is going up over time
- check how much of a port from Python to TypeScript is done

## Features

- exact, renamed, near-miss and semantic clone detection
- 224 languages
- duplication threshold to fail builds
- boundary rules for protected code
- dead code detection for JavaScript, TypeScript and Python
- complexity ranking and a 0-100 health dashboard
- duplication history over git commits
- compare two codebases function by function
- SARIF, HTML, badge and AI reporters
- GitHub Action, GitLab CI and pre-commit
- MCP server over stdio and five agent skills
- VS Code and JetBrains extensions

## Capabilities

- Has a command line tool: plan not known
- Has an MCP server: plan not known

## Trust

Overall: 0.46 out of 1.
Signals: backing 0.50, extensibility 0.40.

- backed by Andrey Kucherenko
- created by andrey-kucherenko
- has an MCP server for agents

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [SonarQube](https://talira.ai/catalog/sonarqube-hv6cp5td.md): Code confidence for the agentic software factory

## Sources

[^1]: https://jscpd.dev/support (checked 22 Nov 2026)
[^2]: https://github.com/kucherenko/jscpd/blob/master/LICENSE (checked 22 Nov 2026)
[^3]: https://jscpd.dev/ (checked 22 Nov 2026)
[^4]: https://jscpd.dev/start/installation (checked 22 Nov 2026)
