code-graph-rag vitali87

The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with the power of AI and knowledge graphs

主要言語
Python
Stars
4,214
Forks
588

タグ

  • CLIツール
  • RAG
  • MCP
  • 知識グラフ
  • コード解析
  • モノレポ

概要

Tree-sitterで複数言語のコードベースを解析し、Memgraph上に知識グラフを構築して自然言語でコードを検索・理解・編集できるコード特化RAG。Cypherクエリ生成とベクトル検索を組み合わせ、関数やクラスの実体を意図に基づいて取得でき、ASTベースの構造的検索・置換やデッドコード発見にも対応する。CLIツールとして動作するほかMCPサーバーとしても公開されており、Claude CodeなどのAIエージェントから直接コードベースを操作できる。モノレポ内の多言語プロジェクトの理解・保守・最適化に適している。

README

<div align="center"> <!-- Bitbucket strips <picture>/<source> tags, so we use a single light-mode <img>. Restore the theme-aware <picture> block below when the GitHub account is reinstated: <picture> <source srcset="assets/logo-dark-any.png" media="(prefers-color-scheme: dark)"> <source srcset="ass…

查看完整页面