{"full_name":"tirth8205/code-review-graph","owner":"tirth8205","name":"code-review-graph","shard":"1","url":"https://github.com/tirth8205/code-review-graph","description":"Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.","homepage":"https://code-review-graph.com","topics":["ai-coding","claude","claude-code","code-review","graphrag","incremental","knowledge-graph","llm","mcp","python","static-analysis","tree-sitter"],"tag_pages":["ai-coding","claude","claude-code","code-review","graphrag","knowledge-graph","llm","mcp","python","static-analysis","tree-sitter"],"language":"Python","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/68604113?u=08f875cd62d60b59efce0afed5b144467f34e16b&v=4","created_at":"2026-02-26T17:25:13Z","pushed_at":"2026-11-12T17:19:53Z","metrics":{"stars":32779,"forks":2982,"watchers":92,"issues":400,"prs":769,"releases":31,"issues_open":37,"issues_closed":363,"prs_open":15,"prs_closed":284,"prs_merged":470,"discussions":38},"growth":{"day":{"stars":14,"forks":3,"base_day":"2026-11-15"},"week":{"stars":198,"forks":17,"base_day":"2026-11-04"},"month":{"stars":697,"forks":46,"base_day":"2026-10-17"}},"history":{"dates":["2026-09-06","2026-09-07","2026-09-08","2026-09-09","2026-09-10","2026-09-11","2026-09-12","2026-09-13","2026-09-14","2026-09-15","2026-09-16","2026-09-17","2026-09-18","2026-09-19","2026-09-20","2026-09-21","2026-09-22","2026-09-23","2026-09-24","2026-09-25","2026-09-26","2026-09-27","2026-09-28","2026-09-29","2026-09-30","2026-10-01","2026-10-02","2026-10-03","2026-10-04","2026-10-05","2026-10-06","2026-10-07","2026-10-08","2026-10-09","2026-10-10","2026-10-11","2026-10-12","2026-10-13","2026-10-14","2026-10-15","2026-10-16","2026-10-17","2026-10-18","2026-10-19","2026-10-20","2026-10-21","2026-10-22","2026-10-23","2026-10-24","2026-10-25","2026-10-26","2026-10-27","2026-10-28","2026-10-29","2026-10-30","2026-10-31","2026-11-01","2026-11-02","2026-11-03","2026-11-04","2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[30777,30826,30885,30923,30940,30958,30997,31067,31108,31150,31178,31200,31237,31261,31287,31310,31334,31355,31417,31463,31504,31547,31587,31611,31682,31713,31745,31767,31786,31805,31827,31855,31889,31894,31904,31928,31936,31957,31981,32003,32025,32082,32115,32150,32169,32196,32219,32264,32285,32307,32323,32347,32373,32409,32432,32455,32476,32508,32562,32581,32681,32717,32730,32736,32752,32765,32779],"forks":[2799,2806,2807,2814,2816,2816,2822,2830,2834,2837,2841,2842,2842,2846,2847,2849,2851,2851,2855,2856,2862,2867,2871,2877,2893,2899,2905,2905,2904,2908,2912,2914,2916,2917,2916,2925,2922,2926,2928,2931,2935,2936,2938,2946,2951,2972,2997,3065,3040,2953,2953,2956,2958,2958,2957,2958,2959,2957,2964,2965,2973,2974,2974,2974,2978,2979,2982],"watchers":[97,97,99,99,99,99,100,102,102,103,103,103,103,102,102,102,102,102,102,102,102,103,102,102,103,102,102,102,102,102,102,102,102,102,102,102,102,102,102,101,101,101,101,101,101,101,101,100,100,100,100,100,95,95,95,95,94,94,93,93,null,92,92,92,92,92,92],"issues_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,36,36,36,37,37,37],"prs_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,11,11,14,14,14,15]},"boards":{},"same_owner":[],"issues":[{"number":262,"title":"Windows 11: MCP-based review is extremely slow while CLI graph operations are fast","comments":10,"created_at":"2026-04-13T10:19:53Z"},{"number":1042,"title":"Promotion gate: testing to main","comments":7,"created_at":"2026-09-18T13:21:35Z"},{"number":436,"title":"[Feature]: Add JSON & YAML for AST parser","comments":1,"created_at":"2026-05-06T21:30:11Z"},{"number":63,"title":"better-sqlite3 ABI mismatch crashes extension on WSL 2 — NODE_MODULE_VERSION 137 vs 127","comments":6,"created_at":"2026-03-25T17:40:54Z"},{"number":721,"title":"[Bug]: Hang at \"INFO: Spring event resolver: indexed 0 events and emitted 0 CALLS edges\"","comments":5,"created_at":"2026-07-23T06:51:10Z"},{"number":620,"title":"Bug: Codex installer generates Unix-only hooks on Windows","comments":4,"created_at":"2026-07-14T18:38:56Z"},{"number":311,"title":"How to configure code-review-graph for a workspace of sibling repos + worktrees (Claude Code in VS Code)?","comments":4,"created_at":"2026-04-17T14:34:54Z"},{"number":209,"title":"# Code-Review-Graph MCP Issue with Windsurf","comments":4,"created_at":"2026-04-10T20:24:10Z"}],"discussions":[{"number":1169,"title":"New release date?","comments":0,"category":"General","created_at":"2026-11-09T14:52:58Z"},{"number":1136,"title":"Can I use code-review-graph against a sub-repo?","comments":1,"category":"Q&A","created_at":"2026-10-26T11:55:38Z"},{"number":1091,"title":"Slow build ~40 minutes for 5000 files","comments":1,"category":"Q&A","created_at":"2026-10-05T06:48:48Z"},{"number":965,"title":"Move from Claude to Codex: will CRG still work?","comments":1,"category":"Q&A","created_at":"2026-09-09T03:49:02Z"},{"number":732,"title":"Claude Code - better instructions","comments":1,"category":"Ideas","created_at":"2026-07-24T05:49:52Z"},{"number":724,"title":"Differences from codegraph","comments":2,"category":"Q&A","created_at":"2026-07-23T09:38:32Z"},{"number":719,"title":"Is it working for team work?","comments":1,"category":"Q&A","created_at":"2026-07-23T05:55:56Z"},{"number":695,"title":"Proposal: a phased approach to improving JavaScript/TypeScript flow detection","comments":1,"category":"Ideas","created_at":"2026-07-21T09:33:27Z"}],"latest_release":{"name":"v2.4.0","tag":"v2.4.0","published_at":"2026-11-11T13:59:13Z","body":"## [2.4.0] - 2026-11-10\r\n\r\nTwo new platforms, MiMo Code and DeepSeek Harness, so `install` now supports\r\n18. HTML, XSLT, Liquid, JSON and plain YAML files are indexed, and so are\r\n`.cjs` and `.kts` files, which every build used to skip. The graph links calls,\r\nimports and tests more carefully: a call it could not check no longer looks\r\nlike a real link, every call edge says how sure it is, calls to inherited\r\nmethods and imports of workspace packages are followed, and `tests_for` finds\r\nJava, Ruby and PHP tests. The graph schema moves from 13 to 15. Several new\r\nsettings are off unless you turn them on. Read *Upgrade notes* at the end of\r\nthis section before you upgrade.\r\n\r\n### Added\r\n\r\n- DeepSeek Harness is a supported platform (#1100, #1101, thanks @sumingwang233).\r\n  `install --platform dsh` adds one `insert` entry for DSH's own MCP client to\r\n  `~/.dsh/cordis.patch.yml` (or `$DSH_HOME/cordis.patch.yml`), which every DSH\r\n  profile reads, and the graph block to `AGENTS.md`. Comments, `!!js` values and\r\n  other entries in the file are kept byte for byte, and `uninstall` takes the\r\n  entry out again. Plain `install` picks DSH up when its home folder exists.\r\n- HTML pages (`.html`, `.htm`) are indexed (#521). They used to give nothing at\r\n  all. Inline scripts are parsed as JavaScript or TypeScript with the page's own\r\n  line numbers, and a `<script src>` becomes an import of the local file, so\r\n  `importers_of` lists the pages that load a script. An `onclick` that calls a\r\n  function on the page becomes a call. A `div`, `section` or `article` with an id\r\n  becomes a new `DocSection` node, which you can find by its anchor or its first\r\n  heading. The body text is not indexed. Style blocks and heading anchors stay\r\n  out, and pages over 2 MB keep only their file node. Run `build` to pick up\r\n  pages in a graph you already have.\r\n- XSLT stylesheets (`.xsl`, `.xslt`) are indexed (#1052). Each template and\r\n  `xsl:function` becomes a `Function` node, named by its `name` or written as\r\n  `match=para mode=toc`. `xsl:import` and `xsl:include` become imports, and\r\n  `xsl:call-template` becomes a call. `xsl:apply-templates` is chosen from the\r\n  input document when the stylesheet runs, so it becomes a call only where its\r\n  `select` names a step or its `mode` narrows the choice. Where neither does, no\r\n  edge is added and `dynamic_apply_count` on the template says so. A template with\r\n  a `match`, named or not, is never reported as dead code. Run `build` to pick up\r\n  stylesheets in a graph you already have.\r\n- CI now installs every direct dependency at its declared minimum, on each\r\n  supported Python, and runs the test suite there. `tests/test_dependency_floors.py`\r\n  keeps `pyproject.toml` and the pinned list in step in both directions. (#896)\r\n- A `Dockerfile` that works with Docker and Podman, so the tool can run from a\r\n  container. It installs this source, includes Git, and runs as a non-root user.\r\n  Mount a repository at `/workspace`; the graph stays in that repository. It\r\n  stores `/workspace` paths, so use the container for later commands or rebuild\r\n  on the host. No image is published. See the README. (#1037)\r\n- Liquid templates (`.liquid`) are indexed. A template gets `Variable` nodes for\r\n  `assign` and `Output` nodes for `{{ ... }}`, and `render` and `include` link to\r\n  the `snippets/<name>.liquid` file, so `importers_of` answers who renders a\r\n  snippet and it counts towards impact. `raw`, `comment`, `doc`, `schema`,\r\n  `javascript` and `stylesheet` blocks, `#` comments and quoted text are not read\r\n  as code. Names hold no line number, so an edit above them does not rename them,\r\n  and a repeated name is one node that lists every line. `Output` nodes are found\r\n  by search only with `kind=\"Output\"`: on Shopify's Dawn theme they otherwise took\r\n  all ten top hits for \"product\". (#878, #348)\r\n- `get_impact_radius_tool(detail_level=\"compact\")` and `code-review-graph impact\r\n  --detail-level compact` return the blast ra","is_prerelease":false},"readme":true,"readme_zh":true,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}