# Deslop > Find duplicate code in nine languages. 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 — duplication percentages and known issues](https://deslop.live/docs/accuracy-transparency/) — How Deslop calculates duplication percentages, how the CI gate uses them, and the open GitHub issues that may affect accuracy. - [AI Agents — MCP setup for Claude Code, Cursor, and Copilot](https://deslop.live/docs/ai-integration/) — Tell your coding agent when similar code already exists, before it writes another copy. Wire deslop-mcp into Claude Code, Cursor, Continue, or Codex, and use find-similar to prevent the duplicate. - [Configuration and Reports — .deslop.toml, flags, output](https://deslop.live/docs/configuration/) — Every Deslop knob in one place — the .deslop.toml sections (exclude, report_hide, threshold, ranking, analysis, report), the built-in rules you can't turn off, every CLI flag, the three report formats, and the exit codes. - [For AI — how coding agents use Deslop to stop duplicate code](https://deslop.live/docs/for-ai/) — Addressed to the agent. Call find-similar before writing code; when MCP is unavailable, fall back to the deslop CLI. Thresholds, JSON fields, byte ranges. - [GitHub Action — gate CI on duplicated code](https://deslop.live/docs/github-action/) — Full configuration for the Deslop.live GitHub Action — every input and output, the exit-code contract, threshold precedence, measure-without-gating, supported runners, artifact handling, and how the pinned tag selects the CLI version. - [How It Works — Tree-sitter ASTs, MinHash LSH, HNSW embeddings](https://deslop.live/docs/how-it-works/) — Deslop's pipeline — tree-sitter parse, AST normalization, Merkle fingerprints, MinHash + LSH, HNSW embeddings, fused 0.85 threshold, worst-offenders ranking. Reactive analysis loop. - [Getting Started — Install Deslop and find duplicate code](https://deslop.live/docs/) — Install Deslop and find duplicate code across nine languages. The VS Code extension bundles live editor warnings, checks for coding agents, and the CLI in one install. Homebrew and Scoop for CLI-only. - [Research Background — Code-clone detection algorithms](https://deslop.live/docs/research-background/) — Deslop's research lineage — Baxter 1998, Chilowicz 2009 Merkle fingerprints, Broder 1997 MinHash, Indyk-Motwani 1998 LSH, SSCD 2024 HNSW. Each pinned to a real file. - [VS Code — Reading a duplicate-code cluster in the editor](https://deslop.live/docs/vscode-cluster-panel/) — Field guide to the Deslop VS Code extension — the Top Offenders tree, the live duplicate warning, and the cluster detail panel, including cluster ids, ranking, signals, occurrences, and comparison actions. ## Blog Posts - [Regex on source code is illegal](https://deslop.live/blog/tree-sitter-over-regex/) — Deslop parses every language with tree-sitter. No regex, no line-matching, no heuristics. Here's why that constraint matters more than any feature the tool ships with. - [Why the ranking formula is the entire product](https://deslop.live/blog/ranking-formula/) — Deslop ranks clusters by clone_node_count × (cluster_size − 1) × log2(1 + spanned_bytes). Every decision in the tool flows from that one line. Here's why it's not configurable. - [Duplication is the tax LLMs charge for speed](https://deslop.live/blog/ai-era-duplication/) — Coding agents generate plausible code faster than humans can review it. They also duplicate it faster. Here's why Deslop treats that as the defining problem of the era, not a side-effect. - [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. - [Deduplicating Dart Code When AI Writes Your Flutter App](https://deslop.live/blog/deduplicating-dart-code-ai-flutter/) — Coding agents generate Flutter widgets, repositories, and state-management classes at a pace no reviewer can keep up with. Flutter's verbosity hides the copies. Here is what to check, why line-based tools miss it, and how to deduplicate Dart structurally. - [MCP for Coding Agents: Stop 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. ## 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