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 (127.9K stars), Understand-Anything (86.8K stars) and codegraph (74.3K stars). GitHub.Locker tracks 37 Code-analysis repositories with 818.4K stars combined. The fastest-growing on October 17 was graphify, with +592 stars in a day.

37Projects
818.4KStars in total
+1.2KStars in a day

Hot right now

Most stars gained in a day · Oct 17

The all-time top

37 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.

    127.9K
  2. #2 · 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.

    86.8K
  3. #3 · colbymchenry/codegraph

    codegraph

    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.

    74.3K
  1. 4

    GitNexus

    47.9Kabhigyanpatwari/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.

  2. 5

    codebase-memory-mcp

    46.8KDeusData/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

    shellcheck

    40.2Kkoalaman/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.

  4. 7

    code-review-graph

    32.2Ktirth8205/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.

  5. 8

    TencentDB-Agent-Memory

    29.5KTencentCloud/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.

  6. 9

    tree-sitter

    27.2Ktree-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.

  7. 10

    difftastic

    26KWilfred/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.

  8. 11

    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.

  9. 12

    roslyn

    20.7Kdotnet/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.

  10. 13

    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.

  11. 14

    golangci-lint

    19.4Kgolangci/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.

  12. 15

    deepwiki-open

    18.2KAsyncFuncAI/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.

  13. 16

    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.

  14. 17

    rust-analyzer

    16.9Krust-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.

  15. 18

    Sourcetrail

    16.5KCoatiSoftware/Sourcetrail · C++

    Sourcetrail is a free and open-source interactive source explorer: a tool that helps you get productive on unfamiliar source code by letting you explore it visually.

  16. 19

    Skill_Seekers

    15.2Kyusufkaraaslan/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.8Kanalysis-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.7Kgithub-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.6Krust-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.5Kwebpro-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

    10.3Ktrailhq/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.2Kgithub/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

    redis-3.0-annotated

    10.1Khuangzworks/redis-3.0-annotated · C

    The original Redis 3.0 source code annotated with detailed Chinese comments that explain how Redis works internally — a study copy of the codebase, not a new tool.

  25. 28

    codeflow

    5.4Kbraedonsaunders/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.

  26. 29

    kani

    3.5Kmodel-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.

  27. 30

    mantis

    2.5Kgoogle/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.

  28. 31

    uml-viewer

    441unclebob/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.

  29. 32

    perch

    353lakeday-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.

  30. 33

    graphicle

    259Graphicle-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.

  31. 34

    claude-db

    234Avijit07x/claude-db · TypeScript

    claude-db is a free, open-source persistent memory plugin for Claude Code that stores your own database locally (SQLite by default) so Claude remembers your codebase, past decisions, and abandoned approaches across sessions instead of starting from zero every time.

  32. 35

    axiomcodegraph

    191AxiomCodeAI/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.

  33. 36

    vet

    181laravel/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.

  34. 37

    source-reading-methodology

    139itshen/source-reading-methodology · Python

    A methodology for having an AI agent deep-read a large, unfamiliar open-source repository and turn it into course-like material: a four-stage process, reusable templates and a pitfalls list, built around one rule — every technical claim must trace back to specific source lines.

Often tagged together