🔧 Công cụ lập trình•Mã nguồn mở•
Code Review Graph
MCP server biến code review thành knowledge graph, theo dõi review comments, patterns lặp lại, và learning progress qua thời gian.
#code-review-graph
Danh mục
🔧 Công cụ lập trình
Giá
Mã nguồn mở
GitHub Stars
⭐ 32,826
Ngôn ngữ
Python
License
MIT
Ngày thêm
2026-03-27
Tóm tắt từ README GitHub
code-review-graph
A local code knowledge graph that gives AI coding tools precise review context over MCP.
English
简体中文
日本語
한국어
हिन्दी
Usage ·
Commands ·
FAQ ·
Troubleshooting ·
What's new ·
Changelog ·
GitHub Action ·
Reproducing the benchmarks ·
Roadmap ·
All docs
AI coding tools often re-read large parts of a codebase to review a change. builds a structural map of the code with Tree-sitter, keeps it updated incrementally, and serves compact context over MCP, so the assistant reads only the files a change touches.
What it does
- Maps your code. Functions, classes, imports, calls and tests become one graph.
- Shows what a change can break. The callers, dependents and tests it can reach, with a risk score.
- Stays up to date. Hooks and watch mode parse again only the files that changed.
- Works with your AI tools. One sets up each tool it finds.
- Stays on your machine. One SQLite file, no cloud service; cloud embeddings are opt-in.
---
Quick Start
Requires Python 3.10+.
Restart the editor or tool, then open the project and ask the assistant:
Undo everything with (preview with ). If something does not work, run : it checks the setup and changes nothing.
Xem thêm từ README.mdThu gọn README.md
Đánh giá chi tiết
Tổng quan
Code Review Graph là MCP server biến quá trình code review thành knowledge graph có thể truy vấn. Thay vì review comments biến mất sau khi merge, Code Review Graph lưu trữ patterns, common mistakes, và learning progress để AI assistant và developer truy cập lại. Repo có hơn 3,700 stars.
Tính năng chính
- Lưu review comments thành nodes trong knowledge graph
- Phát hiện review patterns lặp lại (cùng loại lỗi, cùng developer)
- Tracking learning progress: developer cải thiện ra sao qua thời gian
- MCP integration: Claude Code và các MCP client truy vấn graph trực tiếp
- Export báo cáo review trends
Stack kỹ thuật
- TypeScript, MCP SDK
- Neo4j hoặc SQLite cho graph storage
- GitHub API integration cho pull request data
Điểm mạnh
- Biến review knowledge thành dữ liệu có thể truy vấn
- Phát hiện pattern lỗi lặp lại, giúp cải thiện code quality
- MCP native, AI assistant tự truy cập review history
- Tracking progress hữu ích cho team lead
Hạn chế
- Cần có lịch sử review đủ lớn để graph có giá trị
- Neo4j setup phức tạp hơn SQLite mode
- Chỉ hỗ trợ GitHub PRs (chưa GitLab, Bitbucket)
- Repo còn mới, cộng đồng nhỏ
Phù hợp khi nào
Team muốn biến code review thành learning tool, theo dõi improvement patterns, và cho AI assistant context về review history của project.