◆ Claudius
Status

code-graph-rag

MCP

MCP server that builds a knowledge graph from multi-language codebases using tree-sitter ASTs and Memgraph for RAG-based code querying and editing.

by vitali87·vitali87/code-graph-rag·Python·v0.1.38
93· A
Install
git clone https://github.com/vitali87/code-graph-rag
Stars
5,230
7d change
▲ 0.93%
Downloads / week
—
Last active
today
About

Code-Graph-RAG parses a multi-language codebase with Tree-sitter, sharpened by compiler-grade frontends and runtime traces where available, builds a knowledge graph of its structure in Memgraph, and lets you query, edit, and optimise that code in plain English. It works across a monorepo of mixed languages under one unified graph schema.

1. Index: cgr start --update-graph parses a repository into a knowledge graph (sped up)

2. Ask: cgr start answers questions and edits code, grounded in that graph

Read more on GitHub →
30-day stars
Trust factors
Source
community
Known advisories
0
Maintenance
active
License
MIT
Age
15 months
code-intelligencesearchdeveloper-tools#rag#knowledge-graph#monorepo#tree-sitter#code-analysis#memgraph#multi-language#python#ai#ast#code-understanding#codebase-search#graph-database#llm#mcp#retrieval-augmented-generation#semantic-search