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.0.534
91· A
Install
git clone https://github.com/vitali87/code-graph-rag
Stars
2,504
7d change
6.06%
Downloads / week
Last active
today
About

Code-Graph-RAG parses a multi-language codebase with Tree-sitter, 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.

Ruby Support: Ruby joins the graph through a new pluggable ast-grep tier that adds a language from a single YAML pattern file, emitting `Module`, `Function`, and `Class` nodes plus import edges without a hand-written parser. Structural Search & Replace: Find and rewrite code by AST pattern with ast-grep, exposed as agent tools so you can match and transform structure across the whole codebase instead of relying on text or regex. Data-Flow Tracing: New `FLOWS_TO` taint edges follow values thro…

See NEWS.md for the full history.

Read more on GitHub →
30-day stars
Trust factors
Source
community
Known advisories
0
Maintenance
active
License
MIT
Age
13 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