Understand your codebase before you change it.
Static architecture graphs, code quality evidence, and 47 read-only MCP tools for developers and AI coding agents — running strictly on your machine.
$pip install repodna-engine$repodna start --open-browser
Real local workstation, bundled inside the wheel
Inspect module topology, audit explainable health deductions, or watch the unedited 72-second recording of RepoDNA v1.0.1 analyzing its own repository.
repodna start --open-browser
ARCH-001 · SARIF 2.1.0
1280×720 · H.264
Three evidence-led workflows, zero target code execution
Static AST analysis is not compiler type-checking and static test mapping is not runtime coverage. Every output cites verifiable file evidence and discloses its boundaries.
Explore repository architecture
Parse Python, TypeScript, JavaScript, Go, Rust, C#, Java, C, and C++ with Tree-sitter ASTs to inspect directed module dependencies, fan-in/fan-out, Git hotspots, and federated multi-repo workspaces.
repodna analyze . --format json
Find architectural and quality issues
Isolate Tarjan SCC circular dependencies, evaluate declarative layer contracts, surface complexity hotspots and Winnowing Type-1/Type-2 clones, mask secrets with [REDACTED], and export validated SARIF 2.1.0.
repodna quality . --format sarif --output repodna.sarif
Prepare bounded context for AI coding agents
Expose 47 read-only MCP tools across four scoped profiles (minimal, architecture, code-intelligence, full) with token-budgeted context packs, exact vs. estimated tokenizer disclosure, and negative-task abstention.
repodna mcp --tool-profile minimal
How RepoDNA inspects dependencies and cycles
Select any module in this synthetic educational graph to inspect outgoing imports, incoming dependents, and how a circular dependency (ARCH-001) is isolated.
core/analyzer.py
Coordinates static Tree-sitter parsing, graph assembly, and rule evaluation without executing target code.
- parsers/resolver.py
- rules/health.py
- cli/main.py
- parsers/resolver.py (cycle edge)
- agent/context.py
core/analyzer.py → rules/health.py → parsers/resolver.py → core/analyzer.py. Cutting the reverse edge breaks the strongly connected component.
Install via PyPI, VS Code Marketplace, or GitHub
Requires Python 3.12+. Python distribution v1.0.2 (VS Code extension v1.0.1).
pip install repodna-engine
repodna start --open-browser
Open on PyPI
code --install-extension Cihanak1.repodna-vscode
repodna doctor
Open Marketplace
uses: Cihanak1/RepoDNA/integrations/github-action@v1.0.2
View Release
repodna belongs to an unrelated third-party project. Always install repodna-engine — Python import repodna, the repodna CLI, and the repodna-engine alias for direct uvx repodna-engine mcp launches all work out of the box.Not Published. GHCR container publishing is Release-Gated behind vars.ENABLE_GHCR_PUBLISH; build locally from docker/Dockerfile.Reproducible measurements, honest scope
Every figure below comes directly from committed JSON artifacts in benchmarks/results/.
| Artifact | Measured Result | Scope & Caveat |
|---|---|---|
| v101_large_repo_stress.json | 504 files: 1,046 → 261 ms (58.9 MB RSS) · 5,050 files: 12,622 → 4,836 ms (120.2 MB RSS) | Real RepoDNA repo + synthetic 1,050 & 5,050 file fixtures |
| v101_ai_retrieval_abstention.json | 91.67% Recall@5 · 86.67% abstention | Local estimated tokenizer (heuristic_code_v1); no external LLM A/B study claimed |
| v101_live_soak_60m.json | 3,600.5 s · 60 edits · 1,204 SSE events · 0 failures | Continuous local file-watch soak test on Windows 11 / Python 3.12 |
| v100_real_multi_repo_validation.json | Pallets (2/2) · Encode (1/1) declared edges · 3,840 → 911 ms warm | Small sample (3 Python package edges); does not imply general cross-ecosystem accuracy |
Inspect your architecture before the next change.
Install the local Python engine, explore the MIT-licensed source code on GitHub, or browse full English and Turkish documentation.
$pip install repodna-engine$repodna start --open-browser