</>MCP Agents Market
MCP Server

jscpd

by kucherenko6.1kTypeScriptUpdated 2026-08-29

Copy/paste detector for programming source code, supports 223 formats. AI-ready with token-efficient reporter, skill and MCP server.

Claude DesktopCursor

The jscpd MCP server detects duplicate code across 223+ programming language formats using the Rabin-Karp algorithm. It enables AI assistants to check code snippets for duplication against an entire codebase through a built-in stdio MCP server and provides installable skills that teach coding assistants to find and refactor duplicate code automatically. The tool offers both a TypeScript (v4) and Rust (v5) engine, with the Rust version delivering 24-37x faster performance while maintaining the same interface and detection capabilities.

Key Features

Built-in MCP server over stdio (--mcp flag) for direct integration with AI assistants
Supports 223+ programming language formats with cross-format detection for Vue, Svelte, Astro, and Markdown
AI reporter mode produces token-efficient output (~79% fewer tokens) optimized for LLM pipelines
Two installable agent skills (jscpd and dry-refactoring) that teach AI assistants duplication detection and guided refactoring workflows
Rust engine (v5) delivers 24-37x faster detection than TypeScript version on real-world codebases
Git blame integration shows side-by-side author comparison for detected duplicates
Thirteen output reporters including console, JSON, HTML, SARIF, markdown, and AI-optimized formats
Self-contained binary distribution for macOS, Linux, and Windows with no Node.js runtime required (v5)

Use Cases

  • 01Integrating duplication detection into AI coding assistants like Claude Desktop or Cursor for real-time code quality checks
  • 02Enabling AI agents to automatically identify and refactor duplicate code using the dry-refactoring skill workflow
  • 03Running token-efficient duplication analysis in LLM-powered development pipelines with the AI reporter
  • 04Detecting cross-file duplicates in monorepos and large codebases with 9K-17K files using the high-performance Rust engine
  • 05Identifying refactoring hotspots through codebase summaries showing top files and folders by complexity and duplication
  • 06Integrating into CI/CD pipelines via GitHub Actions or pre-commit hooks to enforce DRY principles

Related MCP Servers

View more

jscpd — FAQ

What is the jscpd MCP server?+

The jscpd MCP server is a code duplication detector that integrates with AI assistants through the Model Context Protocol. It uses the Rabin-Karp algorithm to find duplicate code blocks across 223+ programming language formats and can be accessed by AI tools via stdio or as an installable skill.

How do I install and connect the jscpd MCP server?+

For the Rust version (v5), install globally via npm (npm install -g jscpd@5) or cargo (cargo install jscpd), then launch the MCP server with the --mcp flag. For AI assistant integration, install the skills via npx skills add kucherenko/jscpd --skill jscpd or configure your client to point at the jscpd binary with the --mcp option.

Which AI clients work with jscpd?+

The jscpd MCP server works with any AI assistant that supports the Model Context Protocol over stdio, including Claude Desktop, Cursor, and similar tools. The installable skills are compatible with AI coding assistants that support the skills framework.

Do I need API keys or prerequisites to use jscpd?+

No API keys are required. For the Rust version (v5), no prerequisites are needed as it's a self-contained binary. For the TypeScript version (v4), you need Node.js installed. The MCP server and skills work directly with your local codebase.

Is the jscpd MCP server free to use?+

Yes, jscpd is open source and released under the MIT license, making it free for both personal and commercial use.

What's the difference between jscpd v4 and v5?+

Version 5 is a Rust rewrite that runs 24-37x faster than the TypeScript v4 engine while maintaining the same CLI interface and detection algorithm. V5 is a self-contained binary requiring no Node.js runtime, adds git blame integration, and includes the built-in MCP server via the --mcp flag.

How do I install jscpd?+

Open the source repository on GitHub and follow its README. jscpd is a mcp server — MCP Agents Market links you directly to the official repo.

Is jscpd free?+

jscpd is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches