Back to Apps

Code-Graph-RAG
Supports UIby vitali87
Multi-language codebase RAG using knowledge graphs and Tree-sitter for precise AI-powered code analysis and editing.
0 stars
Works in:claude
Exposes:ToolsResources
What it does
Code-Graph-RAG provides a sophisticated Retrieval-Augmented Generation (RAG) system that maps entire multi-language codebases into a knowledge graph using Memgraph and Tree-sitter. It allows AI agents to understand deep architectural relationships, call graphs, and structure across monorepos, enabling high-precision queries and surgical code edits.
Tools
query_code_graph: Natural language querying of the codebase structure via Cypher.get_code_snippet: Precise retrieval of source code for specific functions or classes.surgical_replace_code: AST-based surgical code replacement to avoid breaking changes.semantic_search: Vector-based search for functions based on purpose/intent.index_repository: Parses and ingests a repository into the graph database.
Installation
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"code-graph-rag": {
"command": "uv",
"args": ["--directory", "/path/to/code-graph-rag", "run", "code-graph-rag", "mcp-server"]
}
}
}
Supported hosts
- Claude Desktop
- Claude Code
Quick install
uv tool install "code-graph-rag[treesitter-full,semantic]"Information
- Pricing
- free
- Published
- 7/5/2026
- stars
- 0
Categories
Choose your AI client and follow the steps below.
Claude Desktop
Add as a stdio server using `uv run --directory /path/to/code-graph-rag code-graph-rag mcp-server`





