Topics / #code-analysis

Code-analysis projects on GitHub

Tools and assistants for understanding, searching, and analyzing codebases.

As of , the most-starred Code-analysis projects on GitHub are graphify (155.9K stars), archify (102.2K stars) and Understand-Anything (95.1K stars). GitHub.Locker tracks 41 Code-analysis repositories with 975.8K stars combined. The fastest-growing on December 1 was graphify, with +458 stars in a day.

41Projects
975.8KStars in total
+1.4KStars in a day

Hot right now

Most stars gained in a day · Dec 1

The all-time top

41 projects · by stars

  1. #1 · Graphify-Labs/graphify

    graphify

    Graphify turns a whole codebase — plus its docs, SQL schemas, configs, and PDFs — into a queryable knowledge graph you traverse instead of grepping files.

    155.9K
  2. #2 · tt-a1i/archify

    archify

    Archify is an agent skill that turns a codebase, system description, or plan into a polished, interactive diagram (architecture, workflow, sequence, data flow, or lifecycle) directly inside a coding agent's chat.

    102.2K
  3. #3 · Egonex-AI/Understand-Anything

    Understand-Anything

    Understand Anything analyzes your codebase (or a knowledge-base/wiki) with a multi-agent pipeline and turns it into an interactive knowledge graph of every file, function, class and dependency, which you can explore in a visual dashboard.

    95.1K
  1. 4

    codegraph

    79.4Kcolbymchenry/codegraph · TypeScript

    CodeGraph pre-indexes your codebase into a knowledge graph of every symbol, call edge, and dependency, so AI coding agents get the exact code they need in one call instead of crawling files.

  2. 5

    codebase-memory-mcp

    49.3KDeusData/codebase-memory-mcp · C

    codebase-memory-mcp is a high-performance MCP server that indexes a codebase into a persistent knowledge graph so AI coding agents like Claude Code, Codex, Cursor, and Windsurf can query code structure instead of grepping files.

  3. 6

    GitNexus

    49Kabhigyanpatwari/GitNexus · TypeScript

    It indexes any codebase into a knowledge graph — dependencies, call chains, clusters, execution flows — and serves it to AI coding agents via MCP tools so they stop making blind edits.

  4. 7

    shellcheck

    40.4Kkoalaman/shellcheck · Haskell

    ShellCheck is a free static analysis tool for shell scripts: it reads your bash/sh code and reports warnings and suggestions for problems in it.

  5. 8

    code-review-graph

    33Ktirth8205/code-review-graph · Python

    A local-first code intelligence tool: it builds a persistent graph of your codebase so AI coding assistants read only the files that matter on review and large-repo tasks, instead of re-reading everything.

  6. 9

    TencentDB-Agent-Memory

    31.3KTencentCloud/TencentDB-Agent-Memory · TypeScript

    A team-level memory hub for AI agents. It turns conversations, docs, and code into four reusable memory assets — Chat Memory, Skills, Wiki, and CodeGraph — that agents across a team can share, govern, and equip.

  7. 10

    tree-sitter

    27.5Ktree-sitter/tree-sitter · Rust

    Tree-sitter is a parser generator tool and an incremental parsing library for programming tools: it builds a syntax tree for a source file and efficiently updates it as the file is edited.

  8. 11

    difftastic

    26.2KWilfred/difftastic · Rust

    Difftastic is a structural diff tool that compares files based on their syntax rather than line by line, so it highlights exactly which pieces of syntax have changed.

  9. 12

    YouCompleteMe

    25.9Kycm-core/YouCompleteMe · Python

    YouCompleteMe (YCM) is a fast, as-you-type, fuzzy-search code completion, comprehension and refactoring engine for Vim. It has several completion engines built in and supports any protocol-compliant Language Server, so it can work with practically any language.

  10. 13

    roslyn

    20.8Kdotnet/roslyn · C#

    The .NET Compiler Platform (Roslyn) — the open-source implementation of the C# and Visual Basic compilers, plus rich APIs for building code analysis tools.

  11. 14

    mypy

    20.7Kpython/mypy · Python

    Mypy is a static type checker for Python: you add type hints (PEP 484) to your code and it warns you when you use those types incorrectly, catching bugs without even running the program.

  12. 15

    golangci-lint

    19.5Kgolangci/golangci-lint · Go

    A fast linters runner for Go: one tool that runs over a hundred Go linters on your codebase in a single pass.

  13. 16

    deepwiki-open

    18.5KAsyncFuncAI/deepwiki-open · Python

    DeepWiki-Open is an open-source, AI-powered wiki generator: give it a GitHub, GitLab, or Bitbucket repository and it automatically builds a beautiful, interactive wiki explaining how the code works.

  14. 17

    PHP-Parser

    17.5Knikic/PHP-Parser · PHP

    A parser written in PHP that turns PHP code into an abstract syntax tree (AST). Its purpose is to simplify static code analysis and manipulation of PHP code.

  15. 18

    rust-analyzer

    17Krust-lang/rust-analyzer · Rust

    rust-analyzer is a language server that provides IDE functionality for writing Rust programs — the code-intelligence engine you use while writing Rust in an editor.

  16. 19

    Skill_Seekers

    15.4Kyusufkaraaslan/Skill_Seekers · Python

    Skill Seekers converts documentation sites, GitHub repos, PDFs, videos, notebooks, wikis and other sources into structured knowledge assets, ready to power AI Skills (Claude, Gemini, OpenAI), RAG pipelines, and AI coding assistants.

  17. 20

    static-analysis

    14.9Kanalysis-tools-dev/static-analysis · Rust

    A curated list of static analysis (SAST) tools, linters and formatters for all programming languages, config files and build tools, focused on tools that improve code quality.

  18. 21

    linguist

    13.8Kgithub-linguist/linguist · Ruby

    Linguist is the library GitHub.com uses to detect the programming language of files (blobs), ignore binary or vendored files, suppress generated files in diffs, and build the language breakdown graphs shown on repository pages.

  19. 22

    rust-clippy

    13.7Krust-lang/rust-clippy · Rust

    Clippy is a collection of over 800 lints that catches common mistakes in Rust code and nudges it toward idiomatic style. It runs alongside the compiler as a cargo subcommand.

  20. 23

    knip

    12.7Kwebpro-nl/knip · TypeScript

    Knip is a free and open-source tool that finds unused files, dependencies and exports in your JavaScript and TypeScript projects, so you can cut them before you ship.

  21. 24

    Trail-Code

    11.6Ktrailhq/Trail-Code · TypeScript

    Graft maps your codebase into linked markdown files — one node per system, API, or concept — and feeds the matching nodes to coding agents like Claude Code, Cursor, Codex, and Gemini, so they stop re-exploring the repo on every task and run faster, cheaper, and more accurately.

  22. 25

    codeql

    10.4Kgithub/codeql · CodeQL

    This is the standard library and query collection for CodeQL, the code analysis engine that powers GitHub Advanced Security code scanning and GitHub's commercial security products.

  23. 26

    madge

    10.2Kpahen/madge · JavaScript

    Madge is a developer tool that creates a visual graph of your module dependencies and finds circular dependencies in JavaScript and CSS preprocessor code.

  24. 27

    psalm

    5.9Kvimeo/psalm · PHP

    Psalm is a static analysis tool that scans PHP code to find errors and security vulnerabilities without running the application.

  25. 28

    OpenHeart

    5.9KAhmadHassan-BTed/OpenHeart · Rust

    OpenHeart is a static analysis compiler written in Rust that parses source code into a formal graph representation called SCPG (Succinct Compositional Program Graph) and projects it into 19 different diagrams: 14 standard UML 2.5 views plus 5 compiler pipeline IRs.

  26. 29

    codeflow

    5.5Kbraedonsaunders/codeflow · HTML

    CodeFlow turns any GitHub repository (or local folder) into an interactive architecture map: a dependency graph showing how files connect, plus security, pattern, and code-health analysis.

  27. 30

    floorplan

    4.8Khaydenschmitty/floorplan · JavaScript

    Floorplan is a tool that has Claude or Codex read your codebase and draw an interactive, plain-English map of every part, file and web request, and how they connect.

  28. 31

    CoDiver

    4.7KAhmadHassan-BTed/CoDiver · Python

    CoDiver (formerly SMC-Software-Metrics-Calculator) is a unified platform for code quality, architecture metrics, and Agile analytics, combining Python AST parsing, Java static analysis, and sprint tracking into one Streamlit dashboard.

  29. 32

    desloppify

    4.1Kpeteromallet/desloppify · Python

    Desloppify is an agent harness that gives AI coding agents the tools to detect, triage, and fix code quality issues in a codebase — combining mechanical checks (dead code, duplication, complexity) with LLM-based review of naming, abstractions, and module boundaries — and tracks progress with a score.

  30. 33

    kani

    3.7Kmodel-checking/kani · Rust

    Kani is a bit-precise model checker for Rust programs: instead of sampling inputs like a test suite, it proves that your code is free of certain bugs and undefined behavior.

  31. 34

    mantis

    2.8Kgoogle/mantis · Python

    Mantis is a toolkit of skills plus a reference agent harness (built on Google's ADK) that lets AI coding agents autonomously find, reproduce, triage, and patch vulnerabilities in a codebase.

  32. 35

    pylance-release

    2.2Kmicrosoft/pylance-release · Python

    Pylance is the default Python language server for Visual Studio Code, providing fast IntelliSense, type checking, and code navigation. This specific repository is only the documentation and issue tracker for it, not the Pylance code itself.

  33. 36

    unvibecode

    1.9KFinanceFlash/unvibecode · Python

    UnvibeCode reverse-engineers a complex codebase into business workflows, connected code maps, edge cases, and evidence-backed risk findings, helping developers understand what a large or AI-generated codebase actually does without reading every file.

  34. 37

    axiomcodegraph

    754AxiomCodeAI/axiomcodegraph · TypeScript

    AxiomCode Graph turns a codebase into a knowledge graph built with formal methods (compiler-style type resolution) rather than syntax guessing, so AI coding agents can look up exact callers, callees, call paths and affected tests instead of grepping through code.

  35. 38

    graphicle

    581Graphicle-AI/graphicle · Rust

    Graphicle is a Rust program that builds a code graph of your repository and keeps project memory (docs, decisions, past agent sessions) so your coding agent gets cited, relevant excerpts instead of re-reading the whole codebase.

  36. 39

    uml-viewer

    501unclebob/uml-viewer · Clojure

    A live UML class-diagram viewer for your codebase: it draws a project's structure from an EDN intermediate representation, is coupled to an AI agent companion, and lets you drill from components all the way down to source code.

  37. 40

    perch

    317lakeday-org/perch · JavaScript

    Perch is a command-line semantic code linter that scans a codebase for real issues using Decision Models, rather than plain syntax rules, and ranks what it finds worst-first.

  38. 41

    vet

    186laravel/vet · PHP

    Laravel Vet is a dependency audit for PHP: it shows you the code a composer update is about to write into your vendor/ directory and records the packages you trust in a vet.json file, so each next update only asks about what changed.

Often tagged together