Repo GraphRAG

•
7
•

Leverage LightRAG and Tree-sitter to build a repository knowledge graph from code and documentation for Q&A and implementation planning.

Repo GraphRAG is an MCP (Model Context Protocol) server designed to transform your codebase and documentation into an interactive knowledge graph. By leveraging LightRAG and Tree-sitter, it intelligently analyzes code and text documents within a repository to construct a comprehensive knowledge base. This powerful tool then facilitates intelligent Q&A, provides detailed implementation plans, and suggests concrete change steps, making it invaluable for understanding, modifying, and evolving complex software projects.

主要功能

01Builds and incrementally updates a repository knowledge graph from code and text documents.
02Generates detailed implementation plans and concrete change steps for modification requests.
03Answers questions about the codebase based on the knowledge graph, optionally combined with vector search.
04Supports knowledge graph extraction for 12 programming languages including Python, C++, Java, and JavaScript.
05Features intelligent entity merging based on semantic similarity to consolidate code and documentation references.
060 GitHub stars

使用案例

01Facilitating code comprehension and onboarding for new developers by providing a navigable knowledge graph.
02Generating structured implementation plans for new features or modifications within a project.
03Understanding complex codebases and documentation through interactive Q&A.