# Deslop > Find duplicate code in C, C#, Rust, Python, TypeScript, Go, Osprey and more. Deslop ranks what to remove first and tells your coding agent when similar code already exists — live in VS Code. ## Install - VS Code extension (preferred — bundles LSP + MCP + CLI): https://github.com/Nimblesite/Deslop/releases/latest - Release index: https://deslop.live/releases/ - Homebrew (CLI only): brew install nimblesite/tap/deslop - Scoop (CLI only): scoop install deslop ## Documentation - [Accuracy Transparency — How Deslop's accuracy is measured](https://deslop.live/docs/accuracy-transparency/) — How Deslop measures duplicate-code detection accuracy on judged clone pairs, the accuracy bugs fixed, a comparison with jscpd, and how duplication % is calculated. - [AI Agents — MCP setup for Claude Code, Cursor, and Copilot](https://deslop.live/docs/ai-integration/) — Connect the Deslop MCP server to Claude Code, Cursor, Continue, Copilot, or Codex so agents can call find-similar before writing duplicate code. - [Configuration — .deslop.toml, dials, flags, exit codes](https://deslop.live/docs/configuration/) — Every Deslop dial, .deslop.toml section and CLI flag in one reference — similarity thresholds, CI gates, exclusions and exit codes. - [For AI — how coding agents use Deslop to stop duplicate code](https://deslop.live/docs/for-ai/) — For coding agents: find the Deslop binary, call find-similar before writing, fall back to the CLI when MCP fails, reuse the cache, and fix identical clones first. - [Getting Started — Install Deslop and find duplicate code](https://deslop.live/docs/getting-started/) — Install Deslop to find duplicate code in C, C#, Rust, Python, TypeScript, Go, Osprey and more. Live VS Code warnings, MCP checks for coding agents and the CLI in one extension. - [GitHub Action — gate CI on duplicated code](https://deslop.live/docs/github-action/) — Configure the Deslop GitHub Action to measure duplicate code, gate CI by threshold, upload reports, verify release artifacts, and select the CLI version. - [How It Works — Finding and Comparing Duplicate Code](https://deslop.live/docs/how-it-works/) — How Deslop finds exact, renamed and edited copies, separates shape-only matches, and ranks duplicate code by mass. - [Reports — JSON, text and HTML output](https://deslop.live/docs/reports/) — What Deslop writes after a scan, where the files land, and how the JSON, text and HTML reports relate to each other. - [Research Background — Code-clone detection algorithms](https://deslop.live/docs/research-background/) — Read the research behind Deslop's structural, token, MinHash LSH, and embedding-based code-clone detection, with links to the source papers. - [VS Code — Inspect and Compare Duplicate Code](https://deslop.live/docs/vscode-cluster-panel/) — Read clone categories and mass, compare canonical or arbitrary occurrences, and group Deslop findings in VS Code. ## Blog Posts - [Why Deslop parses source code with tree-sitter](https://deslop.live/blog/tree-sitter-over-regex/) — Deslop uses parsed syntax trees instead of source-text patterns. Here is what that enables and where language-specific normalization fits. - [How Deslop ranks duplicate-code clusters by duplicated mass](https://deslop.live/blog/ranking-formula/) — The current ranking uses duplicated mass, without the old byte-span multiplier. - [Why coding agents need fast duplicate-code feedback](https://deslop.live/blog/ai-era-duplication/) — Coding agents do not automatically know that similar code already exists elsewhere in a repository. This is why duplicate-code feedback belongs in the editing loop. - [AI-Generated Code and Duplicate Code: What to Check](https://deslop.live/blog/ai-generated-code-duplicate-code/) — AI-generated code can multiply duplicate logic before review catches it. This guide explains what to check, why duplicate code becomes technical debt, and where to read the full Deslop research background. - [Finding Duplicate Dart Code in Flutter Projects](https://deslop.live/blog/deduplicating-dart-code-ai-flutter/) — Flutter projects repeat widget trees, repositories, mappers, and test setup. Here is how Deslop compares their structure and reports the highest-impact duplicates first. - [MCP for Coding Agents: Catch Duplicate Code Before It Lands](https://deslop.live/blog/live-mcp-lsp-duplicate-code-prevention/) — MCP gives coding agents tools. Deslop gives them live repository memory: call find-similar before writing, then reuse the code that already exists. - [Find Duplicate Code in Go: Deslop Adds Go Support](https://deslop.live/blog/find-duplicate-code-go/) — Deslop now understands Go. It parses .go syntax trees, catches renamed clone shapes, ranks the worst duplication first, and lets coding agents search before they write another copy. - [Towards 100% Accuracy: Transparent Duplicate Code Detection](https://deslop.live/blog/towards-100-percent-accuracy/) — Deslop's push toward 100% accuracy is public: the issue graph exposes known failures, dependencies, verification work, and the research behind every accuracy decision. - [What an Agent Skill Adds to Duplicate Code Detection](https://deslop.live/blog/agent-skill-duplicate-code-detection/) — A detector produces evidence. A skill supplies procedure — a read-only first pass, a stop, a verdict, a test gate, and a reproducible command in the pull request. Here is why that layer matters and how to build one. - [Deslop 0.35.0: Accuracy in Duplicate Code Detection](https://deslop.live/blog/duplicate-code-detection-accuracy/) — Finding a pair is only part of accuracy. Deslop also needs to report the complete copied code, reject unrelated lookalikes and count the right lines. ## Navigation - Home: https://deslop.live/ - Documentation: https://deslop.live/docs/ - Blog: https://deslop.live/blog/ - Releases: https://deslop.live/releases/ - Source: https://github.com/Nimblesite/Deslop