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.
Hot right now
Most stars gained in a day · Oct 17
+592graphify
Graphify-Labs/graphify · ★ 127.9KGraphify turns a whole codebase — plus its docs, SQL schemas, configs, and PDFs — into a queryable knowledge graph you traverse instead of grepping files.
+154Understand-Anything
Egonex-AI/Understand-Anything · ★ 86.8KUnderstand 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.
+103TencentDB-Agent-Memory
TencentCloud/TencentDB-Agent-Memory · ★ 29.5KA 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.
+78Trail-Code
trailhq/Trail-Code · ★ 10.3KGraft 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.
The all-time top
37 projects · by stars
- 127.9K
#1 · Graphify-Labs/graphifygraphify
Graphify turns a whole codebase — plus its docs, SQL schemas, configs, and PDFs — into a queryable knowledge graph you traverse instead of grepping files.
- 86.8K
#2 · Egonex-AI/Understand-AnythingUnderstand-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.
- 74.3K
#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.
- 4
GitNexus
47.9Kabhigyanpatwari/GitNexus · TypeScriptIt 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.
- 5

codebase-memory-mcp
46.8KDeusData/codebase-memory-mcp · Ccodebase-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.
- 6

shellcheck
40.2Kkoalaman/shellcheck · HaskellShellCheck is a free static analysis tool for shell scripts: it reads your bash/sh code and reports warnings and suggestions for problems in it.
- 7

code-review-graph
32.2Ktirth8205/code-review-graph · PythonA 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.
- 8

TencentDB-Agent-Memory
29.5KTencentCloud/TencentDB-Agent-Memory · TypeScriptA 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.
- 9

tree-sitter
27.2Ktree-sitter/tree-sitter · RustTree-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.
- 10

difftastic
26KWilfred/difftastic · RustDifftastic 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.
- 11

YouCompleteMe
25.9Kycm-core/YouCompleteMe · PythonYouCompleteMe (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.
- 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.
- 13
mypy
20.7Kpython/mypy · PythonMypy 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.
- 14

golangci-lint
19.4Kgolangci/golangci-lint · GoA fast linters runner for Go: one tool that runs over a hundred Go linters on your codebase in a single pass.
- 15
deepwiki-open
18.2KAsyncFuncAI/deepwiki-open · PythonDeepWiki-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.
- 16

PHP-Parser
17.5Knikic/PHP-Parser · PHPA 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.
- 17
rust-analyzer
16.9Krust-lang/rust-analyzer · Rustrust-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.
- 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.
- 19

Skill_Seekers
15.2Kyusufkaraaslan/Skill_Seekers · PythonSkill 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.
- 20
static-analysis
14.8Kanalysis-tools-dev/static-analysis · RustA 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.
- 21

linguist
13.7Kgithub-linguist/linguist · RubyLinguist 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.
- 22

rust-clippy
13.6Krust-lang/rust-clippy · RustClippy 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.
- 23
knip
12.5Kwebpro-nl/knip · TypeScriptKnip 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.
- 24

Trail-Code
10.3Ktrailhq/Trail-Code · TypeScriptGraft 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.
- 25

codeql
10.2Kgithub/codeql · CodeQLThis 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.
- 26

madge
10.2Kpahen/madge · JavaScriptMadge is a developer tool that creates a visual graph of your module dependencies and finds circular dependencies in JavaScript and CSS preprocessor code.
- 27

redis-3.0-annotated
10.1Khuangzworks/redis-3.0-annotated · CThe 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.
- 28

codeflow
5.4Kbraedonsaunders/codeflow · HTMLCodeFlow 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.
- 29

kani
3.5Kmodel-checking/kani · RustKani 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.
- 30

mantis
2.5Kgoogle/mantis · PythonMantis 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.
- 31

uml-viewer
441unclebob/uml-viewer · ClojureA 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.
- 32
perch
353lakeday-org/perch · JavaScriptPerch 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.
- 33
graphicle
259Graphicle-AI/graphicle · RustGraphicle 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.
- 34
claude-db
234Avijit07x/claude-db · TypeScriptclaude-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.
- 35

axiomcodegraph
191AxiomCodeAI/axiomcodegraph · TypeScriptAxiomCode 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.
- 36

vet
181laravel/vet · PHPLaravel 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.
- 37

source-reading-methodology
139itshen/source-reading-methodology · PythonA 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.
Related topics
Often tagged together
- developer-tools2,927
- linux4,181
- macos3,544
- windows3,401
- cli2,227
- open-source5,666
- static-analysis126
- mit3,311
- tool1,294
- cross-platform2,622
- claude-code908
- typescript1,832
- mcp917
- python2,396
- terminal1,100
- code-quality100
- code-review103
- codex714
- knowledge-graph93
- mcp-server458
- tree-sitter26
- ai-agents1,294
- command-line-tool715
- cursor279