code-graph-rag
MCPMCP server that builds a knowledge graph from multi-language codebases using tree-sitter ASTs and Memgraph for RAG-based code querying and editing.
git clone https://github.com/vitali87/code-graph-ragCode-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.
- Source
- community
- Known advisories
- 0
- Maintenance
- active
- License
- MIT
- Age
- 13 months