# code-graph-rag | Vitali Avagyan | Knowledge Base | Instagit

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

GitHub Stars: 3.8k

Repository: https://github.com/vitali87/code-graph-rag

---

## Articles

### [Prerequisites for Installing Code-Graph-RAG: Complete System Requirements Guide](/vitali87/code-graph-rag/what-are-prerequisites-for-installing-code-graph-rag)

Install Code-Graph-RAG smoothly. Discover essential system requirements including Python 3.12+, Docker, API keys, and more in this comprehensive guide.

- Tags: how-to-guide
- Published: 2026-09-08

### [How Code-Graph-RAG Handles Data Flow Analysis: Taint Tracking via Property Graphs](/vitali87/code-graph-rag/how-code-graph-rag-handles-data-flow-analysis)

Discover how Code-Graph-RAG handles data flow analysis using property graphs and FLOWS_TO edges for precise taint tracking. Learn to query value propagation with the FlowVerdict API.

- Tags: deep-dive
- Published: 2026-09-08

### [Code-Graph-RAG Schema Relationships: Complete Guide to the 30+ Edge Types in codec/schema.proto](/vitali87/code-graph-rag/what-are-key-relationships-in-code-graph-rag-schema)

Explore the vital code graph schema relationships in Code-Graph-RAG. Understand 30+ edge types like CONTAINS PACKAGE, CALLS, INHERITS, HAS VULNERABILITY, and HAS SMELL for better code analysis.

- Tags: deep-dive
- Published: 2026-09-08

### [What Are the Node Types in the Code-Graph-RAG Knowledge Graph Schema?](/vitali87/code-graph-rag/what-are-node-types-in-code-graph-rag-knowledge-graph-schema)

Explore the nine node types in the Code-Graph-RAG knowledge graph schema including FUNCTION, METHOD, and CLASS. Standardize code representation for any programming language.

- Tags: api-reference
- Published: 2026-09-08

### [How to Set Up Claude Code with Code-Graph-RAG: Complete MCP Integration Guide](/vitali87/code-graph-rag/how-to-set-up-claude-code-with-code-graph-rag)

Integrate Claude Code with Code-Graph-RAG using the Model Context Protocol for natural language queries and AST-based code edits. Get the complete MCP integration guide.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Start the MCP Server for Claude Code Integration with Code-Graph-RAG](/vitali87/code-graph-rag/how-to-start-mcp-server-for-claude-code-integration)

Start the MCP server for Claude Code integration with vitali87/code-graph-rag. Run cgr mcp-server after cgr daemon up and add the server with claude mcp add for AI code queries.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Configure the Minimum Size for Detecting Duplicated Code in Code-Graph-RAG](/vitali87/code-graph-rag/how-to-configure-minimum-size-for-detecting-duplicated-code)

Learn how to configure the minimum size for detecting duplicated code in Code-Graph-RAG using the min_size parameter. Filter out trivial functions and find substantial code clones.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Tune the Similarity Threshold for Duplicate Code Detection in Code‑Graph‑RAG](/vitali87/code-graph-rag/how-to-tune-similarity-threshold-for-duplicate-code-detection)

Learn how to tune the similarity threshold for duplicate code detection in Code-Graph-RAG. Adjust the threshold via CLI, API, or configuration for precise results.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Find Structurally Duplicated Code with Code-Graph-RAG](/vitali87/code-graph-rag/how-to-find-structurally-duplicated-code-with-code-graph-rag)

Learn how to find structurally duplicated code using Code-Graph-RAG. This tool employs a two-stage pipeline for precise detection and offers both CLI and Python async interfaces for seamless integration.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Integrate Dead Code Analysis into CI Pipelines: A Complete Guide](/vitali87/code-graph-rag/how-to-integrate-dead-code-analysis-into-ci-pipelines)

Integrate dead code analysis into CI pipelines with cgr CLI from code-graph-rag. Block builds with unreachable symbols automatically. Learn how to implement today.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Exclude Specific Files or Patterns from Dead Code Analysis](/vitali87/code-graph-rag/how-to-exclude-files-or-patterns-from-dead-code-analysis)

Learn how to exclude specific files or patterns from dead code analysis using the cgr dead-code --exclude flag. Filter unwanted symbols from your reports effectively.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Specify Entry Points for Dead Code Analysis in Code-Graph-RAG](/vitali87/code-graph-rag/how-to-specify-entry-points-for-dead-code-analysis)

Learn how to specify entry points for dead code analysis in code-graph-rag using the --entry-points CLI option. Support for JSON YAML and comma-separated lists.

- Tags: how-to-guide
- Published: 2026-09-08

### [Code-Graph-RAG Supported Languages for Code Optimization: Complete 2024 Guide](/vitali87/code-graph-rag/what-languages-supported-for-code-optimization-with-code-graph-rag)

Discover the 14 programming languages Code-Graph-RAG supports for code optimization in 2024, including Python, Java, and Rust. Enhance your code analysis with our comprehensive guide.

- Tags: guide
- Published: 2026-09-08

### [How to Use Code-Graph-RAG for AI-Powered Code Optimization](/vitali87/code-graph-rag/how-to-use-code-graph-rag-for-ai-powered-code-optimization)

Learn how to use Code-Graph-RAG for AI-powered code optimization. Parse code into a knowledge graph, query for refactoring, dead code, and performance improvements with this interactive CLI tool.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Export the Knowledge Graph from Code-Graph-RAG: A Complete Developer Guide](/vitali87/code-graph-rag/how-to-export-knowledge-graph-from-code-graph-rag)

Learn to export your knowledge graph from Code-Graph-RAG using the export_graph_to_file function. This guide shows developers how to save your graph data to a portable JSON file.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Perform a Clean Rebuild of the Code Graph in code-graph-rag](/vitali87/code-graph-rag/how-to-perform-clean-rebuild-of-code-graph)

Learn how to perform a clean rebuild of the code graph in code-graph-rag. Delete the graph.json cache and run cgr build for a fresh parse of your source tree.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Parse a Codebase and Update the Graph in Code-Graph-RAG](/vitali87/code-graph-rag/how-to-parse-codebase-and-update-graph-in-code-graph-rag)

Learn how to parse a codebase and update the graph in Code-Graph-RAG. Discover the three-pass pipeline that efficiently ingests source files into a graph database.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Start the Memgraph and Qdrant Stack for Code-Graph-RAG](/vitali87/code-graph-rag/how-to-start-memgraph-qdrant-stack-for-code-graph-rag)

Quickly start the Memgraph and Qdrant stack for Code-Graph-RAG with a single command. Learn how `cgr daemon up` orchestrates Docker Compose and ensures services are healthy.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Install Code-Graph-RAG with All Optional Extras: Complete Setup Guide](/vitali87/code-graph-rag/how-to-install-code-graph-rag-with-optional-extras)

Install Code-Graph-RAG with all optional extras for complete setup. Follow our guide for PyPI or source repository installation. Get the full functionality today.

- Tags: how-to-guide
- Published: 2026-09-08

### [The Role of Tree-sitter in Code-Graph-RAG: Architecture and Implementation](/vitali87/code-graph-rag/role-of-tree-sitter-in-code-graph-rag)

Explore Tree-sitter's crucial role in Code-Graph-RAG. Discover how it builds language-agnostic ASTs for powerful RAG pipelines and queryable code graphs.

- Tags: architecture
- Published: 2026-09-08

### [How Code-Graph-RAG Builds a Knowledge Graph from Source Code](/vitali87/code-graph-rag/how-code-graph-rag-builds-knowledge-graph-from-code)

Discover how Code-Graph-RAG builds a knowledge graph from source code. Learn about its five-stage pipeline for parsing, extraction, and graph database streaming.

- Tags: how-to-guide
- Published: 2026-09-08

### [How to Set Up Code-Graph-RAG for a New Project: Complete Installation Guide](/vitali87/code-graph-rag/how-to-set-up-code-graph-rag-for-new-project)

Install Code-Graph-RAG for your new project. Follow this guide to set up the Python CLI, launch the Memgraph stack, and index your repository for powerful code analysis.

- Tags: getting-started
- Published: 2026-09-08

### [How to Index a Repository to Protobuf for Offline Use with Code-Graph-RAG](/vitali87/code-graph-rag/how-to-index-repository-to-protobuf-for-offline-use-with-code-graph-rag)

Index your code repository to Protobuf for offline use with Code-Graph-RAG. Reload your code graphs instantly without re-parsing source files for faster development.

- Tags: how-to-guide
- Published: 2026-09-06

### [What Is the ast_fingerprint Property in Code-Graph-RAG?](/vitali87/code-graph-rag/what-is-the-purpose-of-ast-fingerprint-property-in-code-graph-rag)

Discover the ast_fingerprint property in Code-Graph-RAG. This structural hash identifies function syntax for fast clone detection, near-duplicate scoring, and graph checks.

- Tags: deep-dive
- Published: 2026-09-06

### [How Code-Graph-RAG Handles Duplicate Code Definitions and Method Overloading](/vitali87/code-graph-rag/how-does-code-graph-rag-handle-duplicate-code-definitions-like-overloading)

Discover how Code-Graph-RAG tackles duplicate code and method overloading using line-number markers for precise clone detection and accurate call resolution.

- Tags: deep-dive
- Published: 2026-09-06

### [Edge-Site Properties in the Code-Graph-RAG Graph Schema](/vitali87/code-graph-rag/what-are-the-edge-site-properties-in-code-graph-rag-graph-schema)

Discover edge-site properties in Code-Graph-RAG graph schema. Learn how these metadata dictionaries pinpoint source-code locations for relationship edges. Essential for precise code analysis.

- Tags: internals
- Published: 2026-09-06

### [How to Pull eBPF Profiles for Code‑Graph‑RAG Analysis: A Complete 3‑Step Pipeline](/vitali87/code-graph-rag/how-to-pull-ebpf-profiles-for-code-graph-rag-analysis)

Learn how to pull eBPF profiles for Code-Graph-RAG analysis in 3 simple steps. Convert and ingest dynamic CALLS edges into your knowledge graph efficiently.

- Tags: how-to-guide
- Published: 2026-09-06

### [How to Convert Rust pprof Profiles for Code-Graph-RAG: A Complete Guide](/vitali87/code-graph-rag/how-to-convert-rust-pprof-profiles-for-code-graph-rag)

Convert Rust pprof profiles for Code-Graph-RAG using our guide. Learn to demangle symbols and filter repositories with convert_rust_pprof. Optimize your RAG workflow today.

- Tags: how-to-guide
- Published: 2026-09-06

### [How to Ingest Node.js CPU Profile Trace Data with code-graph-rag: A Complete Guide](/vitali87/code-graph-rag/how-to-ingest-trace-data-from-node-js-cpu-profiles)

Learn to ingest Node.js CPU profile trace data into code-graph-rag. Convert V8 .cpuprofile files to weighted call-graph edges using cgr trace convert and cgr trace ingest.

- Tags: how-to-guide
- Published: 2026-09-06

### [How to Enable Dynamic Call Tracing in Python with Code-Graph-RAG](/vitali87/code-graph-rag/how-to-enable-dynamic-call-tracing-in-python-with-code-graph-rag)

Enable dynamic call tracing in Python using Code-Graph-RAG. Capture function calls at runtime with sys monitoring and export traces to JSON-L for graph analysis.

- Tags: how-to-guide
- Published: 2026-09-06

### [How to Adjust the Similarity Threshold for Duplicate Code Detection in Code-Graph-RAG](/vitali87/code-graph-rag/how-to-adjust-similarity-threshold-for-duplicate-code-detection)

Learn how to adjust the similarity threshold for duplicate code detection in Code-Graph-RAG. Customize the threshold via command line or source code for precise duplicate identification.

- Tags: how-to-guide
- Published: 2026-09-06

### [How to Detect Duplicate Code with Code-Graph-RAG: A Complete Technical Guide](/vitali87/code-graph-rag/how-to-detect-duplicate-code-with-code-graph-rag)

Detect duplicate code with Code-Graph-RAG using cgr duplicates. Analyze AST fingerprints in Memgraph to find exact and similar code clones with custom thresholds.

- Tags: how-to-guide
- Published: 2026-09-06

### [How to Exclude Directories from Dead Code Analysis in Code-Graph-RAG](/vitali87/code-graph-rag/how-to-exclude-directories-from-dead-code-analysis)

Learn how to exclude directories from dead code analysis in Code-Graph-RAG using the exclude_patterns parameter. Filter files effectively before generating your report.

- Tags: how-to-guide
- Published: 2026-09-06

### [How to Configure Custom Entry Points for Dead Code Detection in code-graph-rag](/vitali87/code-graph-rag/how-to-configure-custom-entry-points-for-dead-code-detection)

Learn to configure custom entry points for dead code detection in code-graph-rag via CLI or Python API. Improve code analysis accuracy now.

- Tags: how-to-guide
- Published: 2026-09-06

### [How to Detect Dead Code Using Code-Graph-RAG: A Complete Guide](/vitali87/code-graph-rag/how-to-detect-dead-code-using-code-graph-rag)

Learn to detect dead code with Code-Graph-RAG. Build a call graph in Memgraph and use the cgr dead-code command to find unreachable symbols. A complete guide for developers.

- Tags: how-to-guide
- Published: 2026-09-06

### [How to Perform AI-Powered Code Optimization with Code-Graph-RAG: A Complete Guide](/vitali87/code-graph-rag/how-to-perform-ai-powered-code-optimization-with-code-graph-rag)

Learn AI-powered code optimization with Code-Graph-RAG. Discover how this powerful tool analyzes and optimizes code using LLMs and property graphs.

- Tags: how-to-guide
- Published: 2026-09-06

### [How to Export the Code‑Graph‑RAG Knowledge Graph: A Complete Guide](/vitali87/code-graph-rag/how-to-export-code-graph-rag-knowledge-graph)

Export your Code-Graph-RAG knowledge graph to a portable JSON file. This guide covers Python functions and CLI commands for seamless data export.

- Tags: how-to-guide
- Published: 2026-09-06

### [How to Update a Knowledge Graph for a Repository Using code-graph-rag](/vitali87/code-graph-rag/how-to-update-knowledge-graph-for-repository)

Learn how to update the knowledge graph for a repository using code-graph-rag. The GraphUpdater reingest method efficiently re-parses only changed files for incremental updates.

- Tags: how-to-guide
- Published: 2026-09-06

### [How to Start the Code-Graph-RAG Daemon: A Complete CLI Guide](/vitali87/code-graph-rag/how-to-start-code-graph-rag-daemon)

Start the Code-Graph-RAG daemon easily with the cgr daemon up command. This guide provides a complete CLI walkthrough to launch the Docker-Compose stack for Memgraph and Qdrant.

- Tags: how-to-guide
- Published: 2026-09-06

### [How the RAG System Works in Code‑Graph‑RAG: Architecture and Data Flow Explained](/vitali87/code-graph-rag/how-does-the-rag-system-in-code-graph-rag-work)

Discover how the RAG system in Code-Graph-RAG transforms queries into Cypher, queries a Memgraph knowledge graph, and generates context-aware answers or AST patches. Explore the architecture and data flow.

- Tags: architecture
- Published: 2026-09-06

### [How to Query Code Structure Using Natural Language With Code-Graph-RAG](/vitali87/code-graph-rag/how-to-query-code-structure-using-natural-language-with-code-graph-rag)

Query code structure with natural language using Code-Graph-RAG. Transform English questions into safe Cypher queries against your codebase graph database for quick insights.

- Tags: how-to-guide
- Published: 2026-09-06

### [Code-Graph-RAG Graph Schema: Complete Protocol Buffers Reference for Property Graph Modeling](/vitali87/code-graph-rag/what-is-the-graph-schema-for-code-graph-rag)

Explore the Code-Graph-RAG graph schema defined in Protocol Buffers. Understand nodes like Project, Class, Function, and relationships like CONTAINS_FILE, CALLS for codebase modeling.

- Tags: api-reference
- Published: 2026-09-06

### [How to Parse a Code Repository into a Knowledge Graph Using Tree-sitter](/vitali87/code-graph-rag/how-to-parse-code-repository-into-knowledge-graph-using-tree-sitter)

Learn to parse code repositories into knowledge graphs with Tree-sitter. This guide explores extracting typed entities and ingesting them using a custom DefinitionProcessor and modular mix-ins.

- Tags: how-to-guide
- Published: 2026-09-06

### [How to Set Up Code-Graph-RAG with Memgraph: Complete Configuration Guide](/vitali87/code-graph-rag/how-to-set-up-code-graph-rag-with-memgraph)

Master Code-Graph-RAG setup with Memgraph. Follow our guide to configure persistence using MemgraphIngestor and connect_memgraph for efficient code graph management. Get started today!

- Tags: how-to-guide
- Published: 2026-09-06

### [How to Trace Python Code Execution with pytest: Using the cgr Call-Graph Plugin](/vitali87/code-graph-rag/how-to-trace-python-code-execution-with-pytest)

Trace Python code execution with pytest using the cgr plugin. Automatically record detailed runtime call-graphs for every test invoked via sys.monitoring. Understand your code's behavior.

- Tags: how-to-guide
- Published: 2026-09-05

### [How to Get Definition Details Using the Definition MCP Tool in Code-Graph-RAG](/vitali87/code-graph-rag/how-to-get-definition-details-using-the-definition-mcp-tool)

Learn how to get definition details using the definition MCP tool in Code-Graph-RAG. Retrieve code entity metadata like paths, signatures, and docstrings from the Memgraph knowledge graph.

- Tags: how-to-guide
- Published: 2026-09-05

### [How to Use the Resolve MCP Tool in Code-Graph-RAG](/vitali87/code-graph-rag/how-to-use-the-resolve-mcp-tool)

Learn to use the Resolve MCP tool in Code-Graph-RAG to get fully-qualified names for symbols and file locations directly from the knowledge graph.

- Tags: how-to-guide
- Published: 2026-09-05

### [How to Integrate Code-Graph-RAG with Claude Code MCP: Complete Setup Guide](/vitali87/code-graph-rag/how-to-integrate-code-graph-rag-with-claude-code-mcp)

Integrate Code-Graph-RAG with Claude Code MCP by registering cgr mcp-server using stdio, setting env vars, and running Memgraph for natural language codebase queries. Get the complete setup guide now.

- Tags: how-to-guide
- Published: 2026-09-05

### [How to Start the Code‑Graph‑RAG MCP Server: A Complete Setup Guide](/vitali87/code-graph-rag/how-to-start-the-code-graph-rag-mcp-server)

Start the code-graph-rag MCP server effortlessly. Follow our guide to launch the server using the cgr CLI command after setting up your Memgraph instance.

- Tags: how-to-guide
- Published: 2026-09-05

### [How to Optimize JavaScript Code with Code-Graph-RAG: A Complete Guide](/vitali87/code-graph-rag/how-to-optimize-javascript-code-with-code-graph-rag)

Optimize JavaScript code with Code-Graph-RAG. Learn how to leverage LLM analysis and knowledge graphs for intelligent refactoring, preserving dependencies and call-graph integrity. Get the complete guide.

- Tags: how-to-guide
- Published: 2026-09-05

### [How to Optimize Python Code with Code-Graph-RAG: A Complete Guide](/vitali87/code-graph-rag/how-to-optimize-python-code-with-code-graph-rag)

Learn to optimize Python code with Code-Graph-RAG. Transform your repo into a knowledge graph for AI-driven improvements and apply AST-safe patches with approval.

- Tags: how-to-guide
- Published: 2026-09-05

### [How to Find Duplicate Code with code-graph-rag: Complete Detection Guide](/vitali87/code-graph-rag/how-to-find-duplicate-code-with-code-graph-rag)

Find duplicate code with code-graph-rag using its two-stage detection pipeline. Detect exact clones and structurally similar functions via the CLI or Python API for complete code analysis.

- Tags: how-to-guide
- Published: 2026-09-05

### [How to Exclude Specific Files or Patterns from Dead Code Analysis in Code-Graph-RAG](/vitali87/code-graph-rag/how-to-exclude-specific-files-or-patterns-from-dead-code-analysis)

Exclude files and patterns from dead code analysis using the cgr dead-code --exclude flag. Filter generated, vendored, or test files from your reachability analysis.

- Tags: how-to-guide
- Published: 2026-09-05

### [How to Specify Entry Points for Dead Code Detection in Code Graph RAG](/vitali87/code-graph-rag/how-to-specify-entry-points-for-dead-code-detection)

Specify entry points for dead code detection in Code Graph RAG by populating the entry_points tuple in DeadCodeConfig. Learn how this enables accurate reachable symbol identification.

- Tags: how-to-guide
- Published: 2026-09-05

### [How to Find Dead Code Using code-graph-rag: Graph-Based Detection Guide](/vitali87/code-graph-rag/how-to-find-dead-code-using-code-graph-rag)

Discover how to find dead code with code-graph-rag. This guide explains using GraphQueryClient and collect_dead_code() for efficient detection of unreachable symbols. Optimize your codebase today.

- Tags: how-to-guide
- Published: 2026-09-05

### [How to Export the code-graph-rag Graph to JSON: CLI and Python API Guide](/vitali87/code-graph-rag/how-to-export-the-code-graph-rag-graph-to-json)

Export your code-graph-rag graph to JSON effortlessly using the CLI command or the Python API. Learn how to get your code graph data in JSON format now.

- Tags: how-to-guide
- Published: 2026-09-05

### [How to Start an Interactive Query Session with Code-Graph-RAG: A Complete CLI Guide](/vitali87/code-graph-rag/how-to-start-an-interactive-query-session-with-code-graph-rag)

Learn to start an interactive query session with Code-Graph-RAG using the CLI. Follow this guide to launch the natural-language-to-Cypher REPL and explore your codebase efficiently.

- Tags: how-to-guide
- Published: 2026-09-05

### [How to Perform a Clean Rebuild of the Code-Graph-RAG Index](/vitali87/code-graph-rag/how-to-perform-a-clean-rebuild-of-the-code-graph-rag-index)

Learn how to perform a clean rebuild of the code-graph-rag index. Wipe the Memgraph database and local cache, then re-index your repository for a fresh code graph from scratch.

- Tags: how-to-guide
- Published: 2026-09-05

### [How to Index a Repository with Code-Graph-RAG: A Complete Guide](/vitali87/code-graph-rag/how-to-index-a-repository-with-code-graph-rag)

Learn how to index a repository with code-graph-rag. This guide details the cgr index command, semantic graph construction, and vector persistence for efficient querying.

- Tags: how-to-guide
- Published: 2026-09-05

### [How to Set the C++ Frontend for Code-Graph-RAG: Three Methods Explained](/vitali87/code-graph-rag/how-to-set-the-cpp-frontend-for-code-graph-rag)

Learn how to set the C++ frontend for code-graph-rag using CLI flags, environment variables, or Python API. Explore Tree-sitter, Hybrid, and Libclang parsing options.

- Tags: how-to-guide
- Published: 2026-09-05

### [Default Memgraph Settings for code-graph-rag: Complete Configuration Reference](/vitali87/code-graph-rag/what-are-the-default-memgraph-settings-for-code-graph-rag)

Discover the default Memgraph settings for code-graph-rag. Explore connection details, batch sizes, and query memory limits in this complete configuration reference.

- Tags: api-reference
- Published: 2026-09-05

### [How to Configure code-graph-rag with Ollama for Local Models](/vitali87/code-graph-rag/how-to-configure-code-graph-rag-with-ollama-for-local-models)

Configure code-graph-rag with Ollama for local models by setting ORCHESTRATOR_PROVIDER to ollama and ORCHESTRATOR_MODEL to your desired model. Run LLM requests locally without an API key.

- Tags: how-to-guide
- Published: 2026-09-05

### [How to Configure code-graph-rag with OpenAI: Environment Variables and Programmatic Setup](/vitali87/code-graph-rag/how-to-configure-code-graph-rag-with-openai)

Learn to configure code-graph-rag with OpenAI using environment variables or programmatic setup. Integrate powerful LLM capabilities seamlessly into your project.

- Tags: how-to-guide
- Published: 2026-09-05

### [How to Start the code-graph-rag Daemon: CLI and Programmatic Guide](/vitali87/code-graph-rag/how-to-start-the-code-graph-rag-daemon)

Learn to start the code-graph-rag daemon using the CLI command cgr daemon up. Easily launch background Docker services like Memgraph and Qdrant on localhost.

- Tags: how-to-guide
- Published: 2026-09-05

### [How to Install Code-Graph-RAG with uv: A Complete Setup Guide](/vitali87/code-graph-rag/how-to-install-code-graph-rag-with-uv)

Install code-graph-rag with uv using a simple command. Follow this guide to set up, verify, and start the backend for powerful code analysis.

- Tags: getting-started
- Published: 2026-09-05

### [How to Ingest Parsed Code into Memgraph with Code-Graph-RAG](/vitali87/code-graph-rag/how-to-ingest-parsed-code-into-memgraph-with-code-graph-rag)

Learn to ingest parsed code into Memgraph using Code-Graph-RAG. Discover how the MemgraphIngestor class efficiently loads nodes and relationships via Cypher for powerful code knowledge graphs.

- Tags: how-to-guide
- Published: 2026-09-04

### [How the AST-grep Tier Works in Code-Graph-RAG: Structural Search Architecture](/vitali87/code-graph-rag/how-does-the-ast-grep-tier-work-in-code-graph-rag)

Explore the ast_grep tier in Code-Graph-RAG. Learn how it uses abstract syntax trees for structural search and replace, going beyond plain text regex for precise code pattern matching.

- Tags: architecture
- Published: 2026-09-04

### [How to Integrate Code-Graph-RAG with Claude Code: Complete MCP Server Guide](/vitali87/code-graph-rag/how-to-integrate-code-graph-rag-with-claude-code)

Integrate Code-Graph-RAG with Claude Code to query, navigate, and edit codebases using natural language. This guide provides a complete MCP server setup for seamless integration.

- Tags: how-to-guide
- Published: 2026-09-04

### [Available Capture Groups for Indexing in Code-Graph-RAG: Complete Reference](/vitali87/code-graph-rag/what-are-the-available-capture-groups-for-indexing-in-code-graph-rag)

Explore available capture groups like io call and inherit for indexing in Code-Graph-RAG. Control indexed edges and node labels with CGR_CAPTURE or --capture for efficient codebase analysis.

- Tags: api-reference
- Published: 2026-09-04

### [How Configuration is Managed in Code-Graph-RAG: A Complete Guide](/vitali87/code-graph-rag/how-is-configuration-managed-in-code-graph-rag)

Discover how Code-Graph-RAG manages configuration centrally using Pydantic AppConfig, environment variables, and dotenv files for Memgraph, LLMs, and security.

- Tags: how-to-guide
- Published: 2026-09-04

### [How to Set Up Real-Time Updates for Code-Graph-RAG](/vitali87/code-graph-rag/how-to-set-up-real-time-updates-for-code-graph-rag)

Set up real-time updates for Code-Graph-RAG with `make watch`. Enable automatic knowledge graph synchronization and incremental updates for debounced file changes, reflecting only affected nodes.

- Tags: how-to-guide
- Published: 2026-09-04

### [Vector Stores Supported for Semantic Search in Code-Graph-RAG: Qdrant and Milvus Explained](/vitali87/code-graph-rag/what-vector-stores-are-supported-for-semantic-search-in-code-graph-rag)

Discover supported vector stores for semantic search in Code-Graph-RAG: Qdrant and Milvus. Easily configure your backend for efficient code retrieval.

- Tags: deep-dive
- Published: 2026-09-04

### [How to Perform Semantic Search with Code-Graph-RAG](/vitali87/code-graph-rag/how-to-perform-semantic-search-with-code-graph-rag)

Learn semantic search with Code-Graph-RAG. Embed code and retrieve relevant snippets using cosine similarity and graph proximity. Explore the vitali87/code-graph-rag repository.

- Tags: how-to-guide
- Published: 2026-09-04

### [How the Surgical File Editor Works in Code-Graph-RAG: Precision Code Modification Explained](/vitali87/code-graph-rag/how-does-the-surgical-file-editor-work-in-code-graph-rag)

Discover how the surgical file editor in Code-Graph-RAG achieves precise code modification. Learn about atomic replacements, exact string matching, and minimal diff generation for safe code updates.

- Tags: deep-dive
- Published: 2026-09-04

### [How to Perform Structural Replace in Code-Graph-RAG](/vitali87/code-graph-rag/how-to-perform-structural-replace-in-code-graph-rag)

Learn to perform structural replace in Code-Graph-RAG using AST-grep patterns and rewrite templates for efficient codebase refactoring. Preview changes with dry-run options.

- Tags: how-to-guide
- Published: 2026-09-04

### [How to Perform Structural Search in Code-Graph-RAG: AST Pattern Matching Guide](/vitali87/code-graph-rag/how-to-perform-structural-search-in-code-graph-rag)

Learn structural search in Code-Graph-RAG with AST pattern matching. Use ast-grep via Python Tool, MCP command, or API to find code patterns beyond text.

- Tags: how-to-guide
- Published: 2026-09-04

### [How to Detect Code Duplication with Code-Graph-RAG: A Complete Guide to Finding Exact and Similar Clones](/vitali87/code-graph-rag/how-to-detect-code-duplication-with-code-graph-rag)

Detect code duplication with Code-Graph-RAG. Learn to find exact and similar code clones using AST and branch fingerprint analysis. A complete guide for developers.

- Tags: how-to-guide
- Published: 2026-09-04

### [Resource Types for Data Flow Analysis in Code-Graph-RAG: A Complete Reference](/vitali87/code-graph-rag/what-are-the-resource-types-for-data-flow-analysis-in-code-graph-rag)

Explore ten resource types like ENV, FILE, NETWORK, DATABASE, and ENDPOINT for data flow analysis in Code-Graph-RAG. Understand program elements and external system interactions.

- Tags: api-reference
- Published: 2026-09-04

### [How to Perform Data Flow Analysis with Code-Graph-RAG: A Complete Guide](/vitali87/code-graph-rag/how-to-perform-data-flow-analysis-with-code-graph-rag)

Learn data flow analysis with Code-Graph-RAG. Use flow_reachability_verdict() to trace data flow from source to sink in Neo4j. Get your complete guide now.

- Tags: how-to-guide
- Published: 2026-09-04

### [How to Enable Dynamic Tracing for Node.js with Code-Graph-RAG](/vitali87/code-graph-rag/how-to-enable-dynamic-tracing-for-node-js-with-code-graph-rag)

Enable dynamic tracing for Node.js applications with Code-Graph-RAG. Convert V8 CPU profiles into dynamic CALLS relationships using CLI commands for enhanced code analysis.

- Tags: how-to-guide
- Published: 2026-09-04

### [How to Enable Dynamic Tracing for Java with Code-Graph-RAG](/vitali87/code-graph-rag/how-to-enable-dynamic-tracing-for-java-with-code-graph-rag)

Learn how to enable dynamic tracing for Java using Code-Graph-RAG. Enrich your knowledge graphs with runtime JVM execution data for deeper insights into your applications.

- Tags: how-to-guide
- Published: 2026-09-04

### [How to Enable Dynamic Tracing for Python with Code-Graph-RAG](/vitali87/code-graph-rag/how-to-enable-dynamic-tracing-for-python-with-code-graph-rag)

Learn how to enable dynamic tracing for Python using Code-Graph-RAG's CallGraphTracer. Capture caller-callee relationships, dynamic dispatch, and workload attribution with this powerful tool.

- Tags: how-to-guide
- Published: 2026-09-04

### [Supported Runtimes for Dynamic Tracing in Code-Graph-RAG](/vitali87/code-graph-rag/what-runtimes-are-supported-for-dynamic-tracing-in-code-graph-rag)

Explore supported runtimes for dynamic tracing in Code-Graph-RAG, including Python, Java, Node.js, .NET, PHP, Lua, Dart, Go, C/C++, Rust, and eBPF. Enhance your code analysis today.

- Tags: api-reference
- Published: 2026-09-04

### [How to Perform Dynamic Call Tracing with Code-Graph-RAG: A Complete Guide](/vitali87/code-graph-rag/how-to-perform-dynamic-call-tracing-with-code-graph-rag)

Learn dynamic call tracing with Code-Graph-RAG. This guide shows how to use CallGraphTracer and sys monitoring to capture runtime caller-callee relationships for graph construction.

- Tags: how-to-guide
- Published: 2026-09-04

### [How to Query Code Using Natural Language with Code-Graph-RAG](/vitali87/code-graph-rag/how-to-query-code-using-natural-language-with-code-graph-rag)

Query code using natural language with Code-Graph-RAG. Ask questions in plain English and get precise answers from a live knowledge graph in Memgraph. Explore the vitali87/code-graph-rag repository.

- Tags: how-to-guide
- Published: 2026-09-04

### [Understanding the Knowledge Graph Schema in Code-Graph-RAG: A Deep Dive into the Protobuf Structure](/vitali87/code-graph-rag/what-is-the-knowledge-graph-schema-for-code-graph-rag)

Explore the Code-Graph-RAG knowledge graph schema. Understand the Protobuf structure, GraphCodeIndex, Node messages, and Relationship edges for efficient code indexing.

- Tags: deep-dive
- Published: 2026-09-04

### [Which Programming Languages Does Code-Graph-RAG Support?](/vitali87/code-graph-rag/what-languages-does-code-graph-rag-support)

Discover which programming languages Code-Graph-RAG supports. Explore the full list of 13 languages, including Python, JavaScript, and Java, with more coming soon.

- Tags: getting-started
- Published: 2026-09-04

### [How to Configure API Keys and Model Settings for code-graph-rag AI Components](/vitali87/code-graph-rag/how-to-configure-api-keys-model-settings-ai-components)

Learn to configure API keys and model settings for code-graph-rag AI components using environment variables or .env files. Easily select providers and models at runtime.

- Tags: how-to-guide
- Published: 2026-08-20

### [How to Integrate Production eBPF Profiles (Parca, Pyroscope) with Code‑Graph‑RAG Tracing](/vitali87/code-graph-rag/how-to-integrate-production-ebpf-profiles-parca-pyroscope-tracing)

Learn to integrate production eBPF profiles from Parca or Pyroscope with Code-Graph-RAG tracing. Convert call stacks into dynamic CALLS edges for enhanced analysis.

- Tags: how-to-guide
- Published: 2026-08-20

### [How to Use C++ Semantic Mode for Complex Parsing in Code‑Graph‑RAG](/vitali87/code-graph-rag/how-to-use-cpp-semantic-mode-complex-parsing)

Master C++ semantic mode for complex parsing. Install the cpp extra, set CG_RAG_CPP_FRONTEND=libclang, and run the indexer for advanced symbol resolution and template parsing with Code-Graph-RAG.

- Tags: how-to-guide
- Published: 2026-08-20

### [How to Use Semantic Search with Vector Embeddings in code‑graph‑rag](/vitali87/code-graph-rag/how-to-use-semantic-search-vector-embeddings)

Learn how to implement semantic search with vector embeddings in code-graph-rag. Discover how to convert queries, retrieve code, and fetch graph nodes for powerful code understanding.

- Tags: how-to-guide
- Published: 2026-08-20

### [How to Handle Incremental Parsing for Large Codebases: A Deep Dive into code-graph-rag's Architecture](/vitali87/code-graph-rag/how-to-handle-incremental-parsing-large-codebases)

Discover how code-graph-rag handles incremental parsing for large codebases efficiently. Learn to re-parse only changed files and maintain full-index accuracy in seconds.

- Tags: deep-dive
- Published: 2026-08-20

### [Code-Graph-RAG Supported Languages: 14 Programming Languages and Their Capabilities](/vitali87/code-graph-rag/what-languages-supported-code-graph-rag-capabilities)

Explore Code-Graph-RAG's 14 supported programming languages, including Python, Java, and JavaScript. Understand their capabilities and how Tree-sitter creates a unified knowledge graph.

- Tags: supported-languages
- Published: 2026-08-20

### [How to Run Code Optimization Against Language Best Practices with Code‑Graph‑RAG](/vitali87/code-graph-rag/how-to-use-code-optimization-language-best-practices)

Optimize code against language best practices using Code-Graph-RAG. Leverage LLM-powered passes and interactive AST-preserving suggestions to enhance your codebase.

- Tags: how-to-guide
- Published: 2026-08-20

### [How the RAG System Converts Natural Language to Cypher Queries: A Technical Deep Dive](/vitali87/code-graph-rag/how-rag-system-convert-natural-language-cypher-queries)

Discover how the RAG system converts natural language to Cypher queries. Learn about the LLM agent, generation method, and validation for secure Memgraph execution.

- Tags: deep-dive
- Published: 2026-08-20

### [How to Query the Knowledge Graph Using Natural Language in code-graph-rag](/vitali87/code-graph-rag/how-to-query-knowledge-graph-natural-language)

Learn to query the knowledge graph using natural language with code-graph-rag. This tool translates your questions into Cypher queries for Memgraph, returning formatted results.

- Tags: how-to-guide
- Published: 2026-08-20

### [How to Set Up the Memgraph and Qdrant Stack with Docker for Code-Graph-RAG](/vitali87/code-graph-rag/how-to-set-up-memgraph-qdrant-stack-docker)

Quickly set up Memgraph and Qdrant with Docker for your Code-Graph-RAG project. Follow these simple steps to pull images, expose ports, and verify connectivity.

- Tags: how-to-guide
- Published: 2026-08-20

### [Code-Graph-RAG CLI Commands: Complete Guide to `start`, `daemon`, `trace`, `query`, `export`, and `optimize`](/vitali87/code-graph-rag/what-cli-commands-code-graph-rag-start-daemon-trace-query-export-optimize)

Master Code-Graph-RAG CLI commands start daemon trace query export and optimize for efficient codebase analysis. Explore this complete guide to unlock graph-based operations.

- Tags: how-to-guide
- Published: 2026-08-20

### [How to Configure Real-Time Graph Updates When Your Code Changes in Code-Graph-RAG](/vitali87/code-graph-rag/how-to-configure-real-time-updates-code-changes)

Learn how to configure real-time graph updates in Code-Graph-RAG. Discover the watchdog updater for automatic knowledge graph rebuilding on code changes.

- Tags: how-to-guide
- Published: 2026-08-20

### [How to Use the Python SDK for Graph-Loader, Cypher-Generator, and Semantic-Search](/vitali87/code-graph-rag/how-to-use-python-sdk-graph-loader-cypher-generator-semantic-search)

Master the code-graph-rag Python SDK. Learn to parse code into graphs with GraphLoader, generate Cypher with CypherGenerator, and perform semantic search with semantic_search for powerful code analysis.

- Tags: how-to-guide
- Published: 2026-08-20

### [How the Multi-Language Parser Handles Mixed Language Monorepos: A Deep Dive into Code-Graph-RAG Architecture](/vitali87/code-graph-rag/how-multi-language-parser-handle-mixed-language-monorepos)

Learn how the code-graph-rag parser tackles mixed language monorepos by using language-specific frontends and building a global symbol table for cross-language analysis.

- Tags: deep-dive
- Published: 2026-08-20

### [How to Add Support for a New Language Using the Pluggable AST-Grep Tier](/vitali87/code-graph-rag/how-to-add-support-new-language-pluggable-ast-grep-tier)

Easily add new language support to code-graph-rag with the pluggable AST-grep tier. Create a single YAML file, no Python needed, to extend its capabilities.

- Tags: how-to-guide
- Published: 2026-08-20

### [How to Configure Ignore Patterns to Exclude Files from Parsing in Code‑Graph‑RAG](/vitali87/code-graph-rag/how-to-configure-ignore-patterns-exclude-files-parsing)

Learn to configure ignore patterns for Code-Graph-RAG. Create a .cgrignore file at your repo root to exclude files from parsing and speed up indexing.

- Tags: how-to-guide
- Published: 2026-08-20

### [How to Export the Knowledge Graph to Cypher or Other Formats in code-graph-rag](/vitali87/code-graph-rag/how-to-export-knowledge-graph-cypher-formats)

Export code-graph-rag knowledge graphs to Cypher for database transfer or JSON for portable storage. Learn efficient data export methods for your projects.

- Tags: how-to-guide
- Published: 2026-08-20

### [How to Use ast-grep for Structural Search and Replace in Python: A Complete Guide](/vitali87/code-graph-rag/how-to-use-ast-grep-structural-search-replace-operations)

Master ast-grep for Python structural search and replace. This guide shows how to use its AST pattern matching for accurate code transformations and avoid regex errors.

- Tags: how-to-guide
- Published: 2026-08-20

### [How to Detect Dead Code by Walking Call and Reference Edges in code-graph-rag](/vitali87/code-graph-rag/how-to-detect-dead-code-walking-call-reference-edges)

Learn to detect dead code by walking call and reference edges. code-graph-rag uses BFS to find unused code efficiently. Explore this powerful technique for cleaner codebases.

- Tags: how-to-guide
- Published: 2026-08-20

### [How to Use Runtime Call Tracing to Expose Dynamic Dispatch in Code-Graph-RAG](/vitali87/code-graph-rag/how-to-use-runtime-call-tracing-expose-dynamic-dispatch-graph)

Discover how runtime call tracing in code-graph-rag reveals dynamic dispatch. Instrument the Python interpreter using sys.monitoring to pinpoint actual classes invoked at runtime.

- Tags: how-to-guide
- Published: 2026-08-20

### [Code-Graph-RAG Graph Schema: A Complete Guide to Nodes and Edges](/vitali87/code-graph-rag/what-is-graph-schema-nodes-edges-code-graph-rag)

Explore the Code-Graph-RAG graph schema, detailing 17 node types and 18 relationship types. Understand the structure of this property graph built with Protocol Buffers. Learn more now.

- Tags: api-reference
- Published: 2026-08-20

### [How to Configure MCP Server for Claude Code Integration: A Complete Setup Guide](/vitali87/code-graph-rag/how-to-configure-mcp-server-claude-code-integration)

Learn to configure MCP server for Claude Code integration in Code-Graph-RAG. Connect Claude to your codebase using environment variables and graph-powered tools for seamless natural language interaction.

- Tags: how-to-guide
- Published: 2026-08-20

### [How Tree-sitter Parser Extracts Code Relationships into the Memgraph Knowledge Graph](/vitali87/code-graph-rag/how-does-tree-sitter-parser-extract-code-relationships-memgraph-knowledge-graph)

Discover how Tree-sitter parser extracts code relationships into Memgraph knowledge graph. Learn about AST queries, node batching, and efficient data ingestion for code analysis.

- Tags: how-to-guide
- Published: 2026-08-20

### [How to Migrate from Existing Code Search Tools to Code-Graph-RAG: A Complete Guide](/vitali87/code-graph-rag/migrate-existing-code-search-tools-code-graph-rag)

Migrate from existing code search tools to Code-Graph-RAG. Replace text indexing with a single command to build a language-aware graph index. Query using Cypher or natural language.

- Tags: migration-guide
- Published: 2026-08-19

### [Best Practices for Indexing Large Monorepos with Code-Graph-RAG: A Complete Guide](/vitali87/code-graph-rag/best-practices-indexing-large-monorepos-code-graph-rag)

Master indexing large monorepos with Code-Graph-RAG. Learn best practices for efficient scaling, memory management, and parallel processing in this complete guide.

- Tags: best-practices
- Published: 2026-08-19

### [How ast-grep Integration Enables Structural Search and Replace in Code-Graph-RAG](/vitali87/code-graph-rag/ast-grep-integration-structural-search-replace-code-graph-rag)

Discover how ast-grep integration empowers Code-Graph-RAG with powerful structural search and replace. Enhance code understanding and manipulation with AST-based pattern matching.

- Tags: how-to-guide
- Published: 2026-08-19

### [Python SDK for Code-Graph-RAG: Installation and Usage Guide](/vitali87/code-graph-rag/python-sdk-code-graph-rag-usage)

Install and use the Python SDK for Code-Graph-RAG. Explore repository parsing, knowledge-graph construction, and semantic search with the codebase_rag package and CLI.

- Tags: getting-started
- Published: 2026-08-19

### [How to Integrate Code-Graph-RAG with CI/CD Pipelines](/vitali87/code-graph-rag/integrate-code-graph-rag-ci-cd-pipelines)

Learn how to integrate Code-Graph-RAG with CI/CD pipelines. Orchestrate its parser and Memgraph backend using CLI commands to build knowledge graphs and validate code structure.

- Tags: how-to-guide
- Published: 2026-08-19

### [Security Considerations for Deploying Code-Graph-RAG in Production](/vitali87/code-graph-rag/security-considerations-deploying-code-graph-rag-production)

Learn security considerations for deploying Code-Graph-RAG in production. Secure your deployment by binding services, disabling untrusted front-ends, and restricting API keys.

- Tags: best-practices
- Published: 2026-08-19

### [How to Optimize Code Using Code-Graph-RAG's AI-Powered CLI](/vitali87/code-graph-rag/optimize-code-tools-code-graph-rag)

Optimize code with Code-Graph-RAG's AI powered CLI. Analyze your repo knowledge graph, detect anti-patterns, and apply optimizations interactively.

- Tags: how-to-guide
- Published: 2026-08-19

### [Static Analysis vs Dynamic Tracing in Code-Graph-RAG: Implementation Guide](/vitali87/code-graph-rag/static-analysis-vs-dynamic-tracing-code-graph-rag)

Understand static analysis vs dynamic tracing in Code-Graph-RAG. Learn how static analysis extracts call relationships and dynamic tracing records actual call paths for better code understanding.

- Tags: deep-dive
- Published: 2026-08-19

### [How the Real-Time Updates Feature Works in Code-Graph-RAG: Architecture and Implementation](/vitali87/code-graph-rag/real-time-updates-feature-code-graph-rag)

Discover how Code-Graph-RAG's real-time updates feature synchronizes its knowledge graph with live repository changes using file-system watchers and an incremental pipeline for efficient updates.

- Tags: architecture
- Published: 2026-08-19

### [How to Add Support for a New Programming Language in Code-Graph-RAG: A Complete Guide](/vitali87/code-graph-rag/add-new-programming-language-support-code-graph-rag)

Learn how to add support for a new programming language in Code-Graph-RAG. This guide covers FQNSpec, LanguageSpec, enum extension, and registry registration for seamless integration.

- Tags: how-to-guide
- Published: 2026-08-19

### [Performance Optimization Strategies for Code-Graph-RAG's Parser: 6 Techniques Explained](/vitali87/code-graph-rag/performance-optimization-strategies-parser-code-graph-rag)

Optimize Code-Graph-RAG's parser with 6 performance strategies. Discover lazy loading, caching, query compilation, and memory efficiency for faster code analysis.

- Tags: performance
- Published: 2026-08-19

### [How to Export the Knowledge Graph from Code-Graph-RAG](/vitali87/code-graph-rag/export-knowledge-graph-code-graph-rag)

Learn how to export the knowledge graph from Code-Graph-RAG. Follow simple steps to serialize your code entities into a portable JSON file for analysis and sharing.

- Tags: how-to-guide
- Published: 2026-08-19

### [How Code-Graph-RAG Detects Dead Code Using Its Knowledge Graph](/vitali87/code-graph-rag/dead-code-detection-knowledge-graph-code-graph-rag)

Discover how Code-Graph-RAG detects dead code. It builds a knowledge graph and uses BFS to identify unreachable symbols, streamlining your codebase.

- Tags: how-to-guide
- Published: 2026-08-19

### [Architecture of the Semantic Search Feature in Code-Graph-RAG: A Deep Dive into the Pipeline](/vitali87/code-graph-rag/architecture-semantic-search-feature-code-graph-rag)

Explore the four-stage pipeline architecture of Code-Graph-RAG's semantic search. Learn how it converts queries to vectors, retrieves data, and hydrates results for advanced code understanding. Dive deep into the pipeline!

- Tags: architecture
- Published: 2026-08-18

### [Code-Graph-RAG CLI Commands for Parsing and Querying Codebases: A Complete Guide](/vitali87/code-graph-rag/cli-commands-parsing-querying-codebases-code-graph-rag)

Discover Code-Graph-RAG CLI commands for parsing codebases into graphs with cgr index and querying with cgr start. Explore your code interactively with this complete guide.

- Tags: how-to-guide
- Published: 2026-08-18

### [How Runtime Call Tracing Works Across Languages in Code‑Graph‑RAG](/vitali87/code-graph-rag/runtime-call-tracing-across-languages-code-graph-rag)

Explore how Code-Graph-RAG unifies runtime call tracing across Python PHP Go Rust JVM and .NET. Learn how native profiling outputs convert to a shared JSON-L format for cross-language analysis.

- Tags: internals
- Published: 2026-08-18

### [How to Set Up the MCP Server for Claude Code Integration in Code-Graph-RAG](/vitali87/code-graph-rag/setup-mcp-server-claude-code-integration-code-graph-rag)

Learn to set up the MCP server for Claude Code integration in Code-Graph-RAG. Configure environment variables and run a command to expose graph intelligence directly within Claude Code.

- Tags: how-to-guide
- Published: 2026-08-18

### [Code-Graph-RAG Programming Languages: Complete Support Matrix and Multi-Language Analysis](/vitali87/code-graph-rag/supported-programming-languages-code-graph-rag)

Explore Code-Graph-RAG's complete programming language support matrix. Analyze 14 languages including Python, JS, Java, C++, Go, and Rust for unified cross-language code analysis.

- Tags: api-reference
- Published: 2026-08-18

### [How Code-Graph-RAG Generates Cypher Queries for Its RAG System](/vitali87/code-graph-rag/code-graph-rag-cypher-query-generation-rag)

Learn how Code-Graph-RAG generates Cypher queries using static templates and dynamic builders for efficient graph data ingestion and retrieval in its RAG system.

- Tags: how-to-guide
- Published: 2026-08-18

### [How to Configure Ignore Patterns for Code Parsing in Code-Graph-RAG](/vitali87/code-graph-rag/configure-ignore-patterns-code-parsing-code-graph-rag)

Learn to configure ignore patterns for code parsing in Code-Graph-RAG using built-in rules .gitignore and .cgrignore files for efficient code analysis.

- Tags: how-to-guide
- Published: 2026-08-18

### [Memgraph Graph Schema for Code-Graph-RAG: Protobuf Definition and Implementation](/vitali87/code-graph-rag/memgraph-graph-schema-code-graph-rag)

Discover the Memgraph graph schema for Code-Graph-RAG. Explore its Protobuf definition, featuring typed nodes and directed edges for efficient code analysis.

- Tags: api-reference
- Published: 2026-08-18

### [How Code-Graph-RAG's Multi-Language Parser Utilizes Tree-Sitter for Universal Code Analysis](/vitali87/code-graph-rag/how-does-code-graph-rag-multi-language-parser-utilize-tree-sitter)

Discover how Code-Graph-RAG's multi-language parser uses Tree-sitter for universal code analysis. Learn about its efficient AST querying and caching across Python, JavaScript, Rust, and more.

- Tags: internals
- Published: 2026-08-18

### [Underlying Technologies in Code-Graph-RAG: Python, Neo4j, and LLM Integration Explained](/vitali87/code-graph-rag/what-are-the-underlying-technologies-used-in-code-graph-rag)

Discover the core technologies powering Code-Graph-RAG. Explore Python, Neo4j, Tree-sitter, PyTorch, FAISS, and LangChain for efficient code retrieval and generation.

- Tags: deep-dive
- Published: 2026-08-18

### [How to Use Code-Graph-RAG for Semantic Code Refactoring](/vitali87/code-graph-rag/can-code-graph-rag-be-used-for-code-refactoring)

Discover how code-graph-rag enables automated semantic code refactoring across languages. Leverage AST-aware editing and knowledge graph queries for efficient code transformations.

- Tags: how-to-guide
- Published: 2026-08-18

### [Benefits of Using a Code Graph: 9 Advantages for AI-Assisted Development](/vitali87/code-graph-rag/what-are-the-benefits-of-using-a-code-graph)

Discover the benefits of using a code graph for AI-assisted development. Unlock powerful code navigation, dead-code detection, and cross-language analysis beyond text search.

- Tags: tutorial
- Published: 2026-08-18

### [How to Generate a Graph for a Specific Part of a Codebase with Code-Graph-RAG](/vitali87/code-graph-rag/how-to-generate-a-graph-for-a-specific-part-of-the-codebase)

Generate a code graph for a specific part of your codebase using Code-Graph-RAG. Load, query, filter, and export sub-graphs with simple Python collections.

- Tags: how-to-guide
- Published: 2026-08-18

### [How to Update code-graph-rag: Complete Upgrade Guide](/vitali87/code-graph-rag/how-to-update-code-graph-rag)

Easily update code-graph-rag with our comprehensive guide. Learn to pull the latest code, reinstall dependencies, and rebuild the knowledge graph for a seamless upgrade.

- Tags: migration-guide
- Published: 2026-08-18

### [Code-Graph-RAG License: MIT Open Source Terms Explained](/vitali87/code-graph-rag/what-is-the-license-for-code-graph-rag)

Understand the MIT License terms for Code-Graph-RAG. This permissive open-source license allows free use, modification, and distribution with attribution.

- Tags: license-explained
- Published: 2026-08-18

### [How to Contribute to code-graph-rag: A Complete Developer Guide](/vitali87/code-graph-rag/how-to-contribute-to-code-graph-rag)

Learn how to contribute to code-graph-rag. Follow this guide to fork the repo, set up your environment, and submit pull requests for a seamless contribution experience.

- Tags: how-to-guide
- Published: 2026-08-18

### [How to Troubleshoot Configuration Issues in Code‑Graph‑RAG](/vitali87/code-graph-rag/how-to-troubleshoot-configuration-issues-in-code-graph-rag)

Troubleshoot Code-Graph-RAG configuration issues. Learn how to fix common problems with AppConfig, environment variables, and API keys for seamless operation. Get your setup right today.

- Tags: how-to-guide
- Published: 2026-08-18

### [What Kind of Output Does code-graph-rag Produce? A Complete Guide to Graphs, Vectors, and RAG Results](/vitali87/code-graph-rag/what-kind-of-output-does-code-graph-rag-produce)

Explore code-graph-rag outputs: code knowledge graphs, FAISS vectors, RAG answers with citations, and diagnostic logs. Understand your RAG results comprehensively.

- Tags: deep-dive
- Published: 2026-08-18

### [How to Use the code-graph-rag CLI: Setup, Commands, and Configuration](/vitali87/code-graph-rag/how-to-use-the-code-graph-rag-cli)

Learn to use the code-graph-rag CLI for ingesting Git repos, building code graphs, and running RAG queries. Master setup, commands, and configuration easily.

- Tags: how-to-guide
- Published: 2026-08-18

### [Complete Guide to Dependencies for Running Code-Graph-RAG](/vitali87/code-graph-rag/what-are-the-dependencies-for-running-code-graph-rag)

Discover the essential dependencies for running Code-Graph-RAG. Learn about core requirements and optional groups for full language support, testing, and more.

- Tags: how-to-guide
- Published: 2026-08-18

### [How to Visualize the Generated Code Graph in code-graph-rag](/vitali87/code-graph-rag/how-to-visualize-the-generated-code-graph)

Learn to visualize the generated code graph with code-graph-rag. Export code to JSON, ingest into Memgraph or Neo4j, and use the Cypher procedure for a clear visualization.

- Tags: how-to-guide
- Published: 2026-08-18

### [Performance Implications of Using Code-Graph-RAG: CPU Bounds, Indexing Strategies, and Memory Scaling](/vitali87/code-graph-rag/what-are-the-performance-implications-of-using-code-graph-rag)

Explore Code-Graph-RAG performance: CPU bounds, indexing strategies, and memory scaling. Discover how FunctionRegistryTrie boosts speed by 200x with linear memory usage.

- Tags: performance
- Published: 2026-08-18

### [How code-graph-rag Parses Code for Graph Generation: Tree-Sitter AST to Knowledge Graph Pipeline](/vitali87/code-graph-rag/how-does-code-graph-rag-parse-code-for-graph-generation)

Explore how code-graph-rag parses code for graph generation. It transforms Tree-Sitter ASTs into knowledge graphs using language analyzers and the GraphUpdater class. Learn the pipeline.

- Tags: internals
- Published: 2026-08-18

### [How to Customize Graph Generation in code-graph-rag: 4 Methods Explained](/vitali87/code-graph-rag/can-i-customize-the-graph-generation-in-code-graph-rag)

Customize graph generation in code-graph-rag using capture selection, parser config, CLI flags, or subclassing GraphUpdater. Explore 4 methods to tailor your code knowledge graphs.

- Tags: how-to-guide
- Published: 2026-08-18

### [Configuration Options for code-graph-rag: Environment Variables, CLI Flags, and Dataclass Settings](/vitali87/code-graph-rag/what-are-the-configuration-options-for-code-graph-rag)

Explore code-graph-rag configuration options: use environment variables for secrets, CLI flags for runtime overrides, and the CGRConfig dataclass for programmatic control. Optimize your setup easily.

- Tags: how-to-guide
- Published: 2026-08-18

### [How to Configure code-graph-rag: Environment Variables, CLI Flags, and Code Examples](/vitali87/code-graph-rag/how-to-configure-code-graph-rag)

Configure code-graph-rag easily using environment variables, CLI flags like --repo, or programmatic setup with CGRConfig for efficient graph building and RAG.

- Tags: how-to-guide
- Published: 2026-08-18

### [How diff-match-patch Generates Code Change Previews in code-graph-rag](/vitali87/code-graph-rag/how-does-diff-match-patch-generate-code-change-previews-in-code-graph-rag)

Learn how diff-match-patch generates code change previews in code-graph-rag. Discover the semantic difference computation and unified diff rendering process.

- Tags: how-to-guide
- Published: 2026-08-16

### [How the Health Checker Verifies Memgraph and Qdrant Connections in code-graph-rag](/vitali87/code-graph-rag/how-does-the-health-checker-verify-memgraph-and-qdrant-connections-in-code-graph-rag)

Learn how the Health Checker verifies Memgraph and Qdrant connections in code-graph-rag using TCP and HTTP checks. Ensure your RAG pipeline starts smoothly.

- Tags: how-to-guide
- Published: 2026-08-16

### [Workspace Management in code-graph-rag: How to Handle Multiple Repositories](/vitali87/code-graph-rag/how-does-the-workspace-management-in-code-graph-rag-handle-multiple-repositories)

Learn how code-graph-rag manages multiple repositories seamlessly using TOML-based configuration. Explore efficient workspace management for your code projects.

- Tags: how-to-guide
- Published: 2026-08-16

### [How the Interactive Querying Mode Works in the code-graph-rag CLI](/vitali87/code-graph-rag/how-does-the-interactive-querying-mode-work-with-the-cli-in-code-graph-rag)

Explore the interactive querying mode in the code-graph-rag CLI. Ask natural language questions about your codebase and get instant answers via a REPL loop.

- Tags: how-to-guide
- Published: 2026-08-16

### [How the pytest Plugin Integrates Call Tracing with Test Runs in code-graph-rag](/vitali87/code-graph-rag/how-does-the-pytest-plugin-integrate-call-tracing-with-test-runs-in-code-graph-rag)

Discover how the pytest plugin in code-graph-rag instruments test runs to capture detailed call graphs, linking every function call directly to its triggering test case for enhanced debugging and analysis.

- Tags: how-to-guide
- Published: 2026-08-16

### [How Multi-Project Configuration Works in Code-Graph-RAG to Share a Single Graph](/vitali87/code-graph-rag/how-is-multi-project-configuration-handled-to-share-a-single-graph-in-code-graph-rag)

Learn how Code-Graph-RAG efficiently shares a single graph across multiple projects using project name prefixes for isolated subgraphs without database duplication. Optimize your multi-project setup.

- Tags: internals
- Published: 2026-08-16

### [How code-graph-rag Finds Functions by Name or Intent: A Technical Deep Dive](/vitali87/code-graph-rag/how-does-the-code-retrieval-tool-in-code-graph-rag-find-functions-by-name-or-intent)

Explore how code-graph-rag finds functions by name or intent using Cypher queries and UniXcoder embeddings. Learn about its powerful code retrieval pipelines.

- Tags: deep-dive
- Published: 2026-08-16

### [How to Add Support for a New Programming Language to the Code-Graph-RAG Parser System](/vitali87/code-graph-rag/how-to-add-support-for-a-new-programming-language-to-the-code-graph-rag-parser-system)

Easily add a new programming language to the Code-Graph-RAG parser. Learn how to extend constants, language specifications, and custom handlers for seamless integration.

- Tags: how-to-guide
- Published: 2026-08-16

### [How the Graph Export Feature in code-graph-rag Works for External Analysis Tools](/vitali87/code-graph-rag/how-does-the-graph-export-feature-in-code-graph-rag-work-for-external-analysis-tools)

Learn how code-graph-rag's graph export feature converts your code graph to portable JSON for external analysis. Seamlessly integrate with your tools using Cypher queries and Memgraph.

- Tags: how-to-guide
- Published: 2026-08-16

### [Language-Specific Type Inference in code-graph-rag: Python, Rust, and Java Explained](/vitali87/code-graph-rag/what-is-the-language-specific-type-inference-mechanism-in-code-graph-rag-for-python-rust-java)

Discover language-specific type inference in code-graph-rag for Python Rust and Java. Understand how AST nodes map to types for robust call-edge resolution and cross-language retrieval.

- Tags: deep-dive
- Published: 2026-08-16

### [How Dead Code Detection Works in code-graph-rag by Walking CALL and REFERENCE Edges](/vitali87/code-graph-rag/how-does-dead-code-detection-work-in-code-graph-rag-by-walking-call-and-reference-edges)

Discover how dead code detection in code-graph-rag works. Learn how it walks CALL and REFERENCE edges to identify and report unreachable code, optimizing your codebase.

- Tags: internals
- Published: 2026-08-16

### [How the Python SDK's GraphLoader Ingests Code into Memgraph for code-graph-rag](/vitali87/code-graph-rag/how-does-the-python-sdk-s-graph-loader-ingest-code-into-memgraph-for-code-graph-rag)

Learn how the Python SDK's GraphLoader ingests code into Memgraph for code-graph-rag. Discover efficient batch processing and bulk Cypher queries for seamless data ingestion.

- Tags: how-to-guide
- Published: 2026-08-16

### [How to Configure Ignore Patterns for Excluding Files from Parsing in Code‑Graph‑RAG](/vitali87/code-graph-rag/how-to-configure-ignore-patterns-for-excluding-files-from-parsing-in-code-graph-rag)

Learn to configure ignore patterns for excluding files in Code-Graph-RAG. Use .cgrignore or --exclude flags to skip files during graph construction efficiently.

- Tags: how-to-guide
- Published: 2026-08-16

### [How Realtime Updater Monitors File System Changes in code-graph-rag: A Deep Dive into watchdog-Based Event Processing](/vitali87/code-graph-rag/how-does-the-realtime-updater-monitor-file-system-changes-in-code-graph-rag)

Discover how the realtime_updater in code-graph-rag leverages the Python watchdog library for efficient file system change monitoring and consistent graph updates, avoiding redundant recompilations.

- Tags: deep-dive
- Published: 2026-08-16

### [How vitali87/code-graph-rag Generates Cypher Queries from Natural Language](/vitali87/code-graph-rag/how-does-vitali87-code-graph-rag-generate-cypher-queries-from-natural-language)

Discover how vitali87/code-graph-rag transforms natural language into Cypher queries. Learn about its five-step pipeline combining LLMs and post-processing for accurate results.

- Tags: how-to-guide
- Published: 2026-08-16

### [How class_ingest/relationships.py Extracts Class Hierarchies and Inheritance in code-graph-rag](/vitali87/code-graph-rag/how-does-class-ingest-relationships-py-extract-class-hierarchies-and-inheritance-in-code-graph-rag)

Learn how class_ingest/relationships.py in code-graph-rag extracts class hierarchies and inheritance. Discover its process for parent class discovery and graph edge creation.

- Tags: how-to-guide
- Published: 2026-08-16

### [How FileEditor Performs AST‑Based Surgical Code Patching in code‑graph‑rag](/vitali87/code-graph-rag/how-does-file-editor-perform-ast-based-surgical-code-patching-in-code-graph-rag)

Discover how FileEditor uses AST parsing and byte-level offsets for precise, language-aware code patching in code-graph-rag, eliminating line-number guesswork for efficient edits.

- Tags: internals
- Published: 2026-08-16

### [How Semantic Search Uses Qdrant for Vector-Based Code Retrieval in code-graph-rag](/vitali87/code-graph-rag/how-does-semantic-search-use-qdrant-for-vector-based-code-retrieval-in-code-graph-rag)

Discover how code-graph-rag leverages Qdrant for vector-based code retrieval. This semantic search approach efficiently finds relevant code snippets using natural language queries.

- Tags: how-to-guide
- Published: 2026-08-16

### [How the MCP Server Integrates with the Codebase Knowledge Graph in Code-Graph-RAG](/vitali87/code-graph-rag/how-does-the-mcp-server-integrate-with-the-codebase-knowledge-graph-in-code-graph-rag)

Learn how the MCP server integrates with the codebase knowledge graph in Code-Graph-RAG. Discover how to query and modify the Memgraph knowledge graph via STDIO or HTTP.

- Tags: how-to-guide
- Published: 2026-08-16

### [How Code-Graph-RAG Runtime Call Tracing Works with the Trace CLI](/vitali87/code-graph-rag/how-does-the-runtime-call-tracing-feature-work-with-the-trace-cli-in-code-graph-rag)

Explore how Code-Graph-RAG runtime call tracing captures dynamic Python call graphs with its low-overhead trace CLI, recording caller-callee pairs and invocation counts.

- Tags: how-to-guide
- Published: 2026-08-16

### [How vitali87/code-graph-rag Resolves Function Calls Across the Knowledge Graph](/vitali87/code-graph-rag/how-does-vitali87-code-graph-rag-resolve-function-calls-across-the-knowledge-graph)

Discover how vitali87/code-graph-rag resolves function calls using a trie-backed registry and a multi-stage resolver for precise CALLS edges. Learn the techniques for accurate function lookup and disambiguation.

- Tags: deep-dive
- Published: 2026-08-16

### [How to Represent Code Relationships (CALLS, READS_FROM, WRITES_TO) in Code-Graph-RAG](/vitali87/code-graph-rag/representing-code-relationships-schema-code-graph-rag)

Learn to represent CALLS, READS_FROM, and WRITES_TO relationships in Code-Graph-RAG. Understand default function calls and optional I/O relationships for advanced code analysis.

- Tags: how-to-guide
- Published: 2026-08-15

### [How to Use Ignore Patterns to Exclude Files and Directories from Code‑Graph‑RAG Analysis](/vitali87/code-graph-rag/using-ignore-patterns-exclude-files-directories-code-graph-rag-analysis)

Master Code-Graph-RAG ignore patterns to exclude files and directories. Learn to filter out build artifacts and environments for cleaner code analysis.

- Tags: how-to-guide
- Published: 2026-08-15

### [Semantic Search with Qdrant Vector Database Integration in Code-Graph-RAG](/vitali87/code-graph-rag/semantic-search-qdrant-vector-database-integration-code-graph-rag)

Integrate Qdrant for semantic search in Code-Graph-RAG. Leverage vector embeddings, project filtering, and robust retry logic for efficient code retrieval.

- Tags: how-to-guide
- Published: 2026-08-15

### [Configuring LLM Providers (Anthropic, Google, Ollama) for Code-Graph-RAG Orchestration](/vitali87/code-graph-rag/configuring-llm-providers-code-graph-rag-orchestration)

Effortlessly configure LLM providers like Anthropic, Google, and Ollama for Code-Graph-RAG orchestration. Set environment variables and let the config.py validate and instantiate your chosen provider.

- Tags: how-to-guide
- Published: 2026-08-15

### [Impact of Batch Size on Memgraph Performance in Code-Graph-RAG](/vitali87/code-graph-rag/impact-batch-size-memgraph-performance-code-graph-rag)

Discover the impact of batch size on Memgraph performance in Code-Graph-RAG. Optimize ingestion with our findings on ideal batch sizes for efficient data loading.

- Tags: performance
- Published: 2026-08-15

### [Specifying Custom Entry Points for Dead Code Analysis in Code-Graph-RAG](/vitali87/code-graph-rag/specifying-custom-entry-points-dead-code-analysis-code-graph-rag)

Prevent false positives in dead code analysis with Code-Graph-RAG. Use the --entry-points flag or entry_points parameter to specify custom roots and ensure accurate results.

- Tags: how-to-guide
- Published: 2026-08-15

### [Configuring Code-Graph-RAG Using Settings and Environment Variables](/vitali87/code-graph-rag/configuring-code-graph-rag-settings-environment-variables)

Learn to configure Code-Graph-RAG using environment variables and .env files. Easily manage your runtime settings for seamless integration and operation. Get started today!

- Tags: how-to-guide
- Published: 2026-08-15

### [Code-Graph-RAG Language Support Matrix: Complete Guide to Supported Languages and Features](/vitali87/code-graph-rag/code-graph-rag-language-support-matrix-features)

Explore the Code-Graph-RAG language support matrix. Discover which languages offer production-ready parsing and call-graph extraction to enhance your code analysis.

- Tags: getting-started
- Published: 2026-08-15

### [Managing Multiple Projects in a Shared Graph with cgr CLI](/vitali87/code-graph-rag/managing-multiple-projects-shared-graph-cgr-cli)

Effectively manage multiple projects in a shared graph using cgr CLI project namespaces. Isolate codebases while enabling cross-project queries and incremental updates.

- Tags: how-to-guide
- Published: 2026-08-15

### [Real-Time Filesystem Updates with Watchdog Integration in Code-Graph-RAG](/vitali87/code-graph-rag/real-time-filesystem-updates-watchdog-integration-code-graph-rag)

Keep your Code-Graph-RAG knowledge graph synced with live codebases using Watchdog. Instantly propagate filesystem changes to Memgraph for real-time updates.

- Tags: how-to-guide
- Published: 2026-08-15

### [How to Configure Capture Selection for Relationship Types in Code-Graph-RAG](/vitali87/code-graph-rag/configuring-capture-selection-relationship-types-code-graph-rag)

Configure capture selection for relationship types in Code-Graph-RAG. Control inclusion/exclusion of calls, io, types, and more with the CGR_CAPTURE variable.

- Tags: how-to-guide
- Published: 2026-08-15

### [How Memgraph Stores and Queries Code Graph Relationships in code-graph-rag](/vitali87/code-graph-rag/how-memgraph-stores-queries-code-graph-relationships)

Discover how Memgraph stores and queries code graph relationships using labeled property graphs and efficient Cypher writes. Explore direct query capabilities with the CLI.

- Tags: internals
- Published: 2026-08-15

### [How to Export Code-Graph-RAG Knowledge Graph to JSON: A Complete Technical Guide](/vitali87/code-graph-rag/exporting-code-graph-rag-knowledge-graph-json)

Export your Code-Graph-RAG knowledge graph to JSON using the CLI or programmatically. Save your Memgraph knowledge graph as a portable JSON document preserving all data.

- Tags: how-to-guide
- Published: 2026-08-15

### [Providing Custom Reference Documentation for AI Code Optimization with code-graph-rag](/vitali87/code-graph-rag/providing-custom-reference-documentation-ai-code-optimization)

Optimize code with AI using custom reference documentation. code-graph-rag builds a semantic codebase graph for LLMs, providing precise, context-aware insights.

- Tags: how-to-guide
- Published: 2026-08-15

### [AI-Powered Code Optimization Options in Code-Graph-RAG: A Complete Guide](/vitali87/code-graph-rag/ai-powered-code-optimization-options-code-graph-rag)

Discover AI-powered code optimization with Code-Graph-RAG. Automate code scanning, identify issues, and apply fixes directly from the command line. Enhance performance and maintainability effortlessly.

- Tags: deep-dive
- Published: 2026-08-15

### [How to Configure MCP Server for Claude Code Integration: A Complete Guide](/vitali87/code-graph-rag/configuring-mcp-server-claude-code-integration)

Configure your MCP server for Claude Code integration. Learn how to set TARGET_REPO_PATH and register the server with claude mcp add for seamless code understanding.

- Tags: how-to-guide
- Published: 2026-08-15

### [Generating Cypher Queries from Natural Language for Code-Graph-RAG: A Complete Implementation Guide](/vitali87/code-graph-rag/generating-cypher-queries-natural-language-code-graph-rag)

Generate Cypher queries from natural language for Code-Graph-RAG. Discover how the vitali87/code-graph-rag repository uses LLMs and multi-layer validation for safe, bounded query generation.

- Tags: how-to-guide
- Published: 2026-08-15

### [Multi-Language Parser Architecture with Tree-sitter for AST Extraction in code-graph-rag](/vitali87/code-graph-rag/multi-language-parser-architecture-tree-sitter-ast-extraction)

Explore a multi language parser architecture for AST extraction using Tree-sitter. Discover its three-layer design for efficient code analysis.

- Tags: architecture
- Published: 2026-08-15

### [Using ast-grep for Structural Search and Replace by AST Pattern in code-graph-rag](/vitali87/code-graph-rag/using-ast-grep-structural-search-replace-ast-pattern)

Learn to perform structural search and replace with ast-grep in code-graph-rag. Transform code efficiently using AST patterns, not fragile regex, for language-agnostic refactoring.

- Tags: how-to-guide
- Published: 2026-08-15

### [How to Merge Dynamic Call Data Into the Knowledge Graph in Code-Graph-RAG](/vitali87/code-graph-rag/how-to-merge-dynamic-call-data-into-knowledge-graph)

Learn to merge dynamic call data into your Knowledge Graph with Code-Graph-RAG. Follow our three-step pipeline for efficient runtime event capture and graph integration.

- Tags: how-to-guide
- Published: 2026-08-15

### [How Code-Graph-RAG Runtime Call Tracing Works: A Deep Dive into Python sys.monitoring](/vitali87/code-graph-rag/how-does-code-graph-rag-runtime-call-tracing-work)

Explore Code-Graph-RAG's runtime call tracing using Python sys.monitoring. Understand how caller-callee pairs and workload tags are recorded for efficient debugging and performance analysis.

- Tags: deep-dive
- Published: 2026-08-15

### [Code-Graph-RAG Performance Benchmarks: GraphLoader, Trie, and String Operation Speed Tests](/vitali87/code-graph-rag/what-performance-benchmarks-are-available-for-code-graph-rag)

Explore Code-Graph-RAG performance benchmarks for GraphLoader, Trie, and string operations. Discover component latency on workloads up to 50,000 nodes.

- Tags: performance
- Published: 2026-08-14

### [How to Fine-Tune the RAG Model for Specific Code Domains in Code-Graph-RAG](/vitali87/code-graph-rag/how-to-fine-tune-the-rag-model-for-specific-code-domains-in-code-graph-rag)

Learn to fine-tune the RAG model for your code domain. Adapt UnixCoder embeddings and re-index your codebase for improved retrieval accuracy with Code-Graph-RAG.

- Tags: how-to-guide
- Published: 2026-08-14

### [Code-Graph-RAG Use Cases: 9 Practical Applications for AI-Powered Code Understanding](/vitali87/code-graph-rag/what-are-the-use-cases-for-code-graph-rag)

Explore 9 practical code-graph-rag use cases. Unlock AI-powered code understanding for refactoring, dead-code elimination, and AI-assisted editing with this queryable knowledge graph.

- Tags: tutorial
- Published: 2026-08-14

### [How to Visualize the Code Graph Generated by code‑graph‑rag: 3 Export Methods Explained](/vitali87/code-graph-rag/how-to-visualize-the-code-graph-generated-by-code-graph-rag)

Visualize code graphs from code-graph-rag using DOT/GraphViz, NetworkX or Neo4j. Learn 3 export methods to create interactive and static diagrams from your protobuf-based GraphCodeIndex.

- Tags: how-to-guide
- Published: 2026-08-14

### [Supported Graph Database Technologies in code-graph-rag: Memgraph Integration Explained](/vitali87/code-graph-rag/what-are-the-supported-graph-database-technologies-for-code-graph-rag)

Discover code-graph-rag's supported graph database technologies. Learn how Memgraph powers graph storage and Qdrant manages vector embeddings for efficient code analysis.

- Tags: deep-dive
- Published: 2026-08-14

### [How to Query the Code Graph Generated by code-graph-rag: A Complete Guide](/vitali87/code-graph-rag/how-to-query-the-code-graph-generated-by-code-graph-rag)

Learn how to query the code graph generated by code-graph-rag using the query-graph tool. Translate natural language questions into Cypher and execute against Memgraph via CLI or Python API.

- Tags: how-to-guide
- Published: 2026-08-14

### [Code-Graph-RAG Roadmap: 2026–2027 Development Plan](/vitali87/code-graph-rag/what-is-the-roadmap-for-code-graph-rag)

Explore the Code-Graph-RAG roadmap through mid-2027. Discover how this open-source system transforms source code into a queryable knowledge graph for enhanced development.

- Tags: roadmap
- Published: 2026-08-14

### [How to Contribute to the code-graph-rag Project: A Step-by-Step Guide](/vitali87/code-graph-rag/how-to-contribute-to-the-code-graph-rag-project)

Learn how to contribute to the code-graph-rag project. Fork the repo, install dependencies, run tests, and submit a PR with Conventional Commits for a smooth contribution process.

- Tags: how-to-guide
- Published: 2026-08-14

### [Code-Graph-RAG Limitations: 9 Critical Constraints in the Multi-Language Analysis Tool](/vitali87/code-graph-rag/what-are-the-limitations-of-code-graph-rag)

Explore 9 critical limitations of Code-Graph-RAG for multi-language analysis. Understand constraints in language coverage, static analysis, and indexing for better retrieval accuracy.

- Tags: deep-dive
- Published: 2026-08-14

### [What Are the Benefits of Using Code‑Graph‑RAG for Large Codebase Analysis?](/vitali87/code-graph-rag/what-are-the-benefits-of-using-code-graph-rag)

Discover the benefits of Code-Graph-RAG for large codebase analysis. Explore, refactor, and analyze codebases with natural language and AI assistance powered by Tree-sitter and Memgraph.

- Tags: benefits
- Published: 2026-08-14

### [How Code‑Graph‑RAG Handles Large Codebases: Bounded Caching, Batch Ingestion, and Incremental Parsing](/vitali87/code-graph-rag/how-does-code-graph-rag-handle-large-codebases)

Learn how Code-Graph-RAG efficiently handles large codebases using bounded caching, batch ingestion, and incremental parsing for predictable memory and latency. Explore the vitali87/code-graph-rag repository.

- Tags: how-to-guide
- Published: 2026-08-14

### [What Kind of Code Analysis Does Code-Graph-RAG Perform? A Deep Dive into Static Analysis Architecture](/vitali87/code-graph-rag/what-kind-of-code-analysis-does-code-graph-rag-perform)

Explore code-graph-rag's multi-language static code analysis architecture. Discover how it parses code into a knowledge graph for structural queries, dead-code detection, and natural language semantic search.

- Tags: deep-dive
- Published: 2026-08-14

### [How to Integrate Code‑Graph‑RAG with Existing Projects: A Complete Guide](/vitali87/code-graph-rag/how-to-integrate-code-graph-rag-with-existing-projects)

Learn to integrate Code-Graph-RAG into your projects using the CLI, Python SDK, or MCP server. Enhance your codebase with graph-backed code intelligence effortlessly. Read the complete guide now.

- Tags: how-to-guide
- Published: 2026-08-14

### [Code-Graph-RAG Prerequisites: Complete Installation Requirements Guide](/vitali87/code-graph-rag/what-are-the-prerequisites-for-installing-code-graph-rag)

Install Code-Graph-RAG easily. Discover essential prerequisites including Python 3.12+, Docker, cmake, ripgrep, and LLM options. Get your development environment ready now.

- Tags: getting-started
- Published: 2026-08-14

### [How to Set Up code-graph-rag for Local Development: Complete Installation Guide](/vitali87/code-graph-rag/how-to-set-up-code-graph-rag-for-local-development)

Easily set up code-graph-rag for local development with our complete installation guide. Install dependencies, configure your environment, and launch the code analysis stack in minutes.

- Tags: getting-started
- Published: 2026-08-14

### [Which LLMs Are Compatible with code‑graph‑rag? Complete Provider Guide](/vitali87/code-graph-rag/what-llms-are-compatible-with-code-graph-rag)

Discover which LLMs are compatible with code-graph-rag. Explore providers like OpenAI, Anthropic, Google, and more in this comprehensive guide.

- Tags: getting-started
- Published: 2026-08-14

### [What Is the Role of RAG in Code‑Graph‑RAG? A Technical Breakdown](/vitali87/code-graph-rag/what-is-the-role-of-rag-in-code-graph-rag)

Learn how Retrieval-Augmented Generation (RAG) empowers Code-Graph-RAG to answer code questions accurately by querying knowledge graphs and grounding LLM responses in source files.

- Tags: deep-dive
- Published: 2026-08-14

### [How the Code Graph Is Generated in code-graph-rag: A Deep Dive Into the Multi-Pass Pipeline](/vitali87/code-graph-rag/how-is-the-code-graph-generated-in-code-graph-rag)

Discover how code-graph-rag generates its code graph via a language-agnostic multi-pass pipeline. Learn about parsing, relationship extraction, and ingestion into Neo4j.

- Tags: deep-dive
- Published: 2026-08-14

### [Code Graph RAG Programming Language Support: 14 Languages with Tree-sitter Parser](/vitali87/code-graph-rag/what-programming-languages-does-code-graph-rag-support)

Discover Code Graph RAG's extensive programming language support for 14 languages including Python, JavaScript, Java, Go, and Rust. Parse code into a unified knowledge graph with Tree-sitter.

- Tags: getting-started
- Published: 2026-08-14

### [Core Components of code-graph-rag: A Complete Architecture Guide](/vitali87/code-graph-rag/what-are-the-core-components-of-code-graph-rag)

Explore the core components of code-graph-rag: codebase_rag, services, providers, tools, and evals. Understand this complete architecture for advanced code analysis and LLM integration.

- Tags: architecture
- Published: 2026-08-14

### [How Code-Graph-RAG Works: A Deep Dive Into Multi-Language Code Graph Retrieval-Augmented Generation](/vitali87/code-graph-rag/how-does-code-graph-rag-work)

Discover how Code-Graph-RAG transforms code repos into a language-agnostic knowledge graph. Query your codebase with natural language using LLMs and Memgraph.

- Tags: deep-dive
- Published: 2026-08-14

### [What Is Code-Graph-RAG? A Multi-Language Code Knowledge Graph Framework Explained](/vitali87/code-graph-rag/what-is-code-graph-rag)

Explore Code-Graph-RAG, an open-source Python framework creating language-agnostic knowledge graphs from code. Enable semantic search and AI code analysis with natural language queries.

- Tags: explained
- Published: 2026-08-14

### [Data Flow Architecture from Source Code to Graph Queries in code-graph-rag](/vitali87/code-graph-rag/what-is-data-flow-architecture-from-source-code-to-graph-queries)

Explore the 10-phase data flow architecture in code-graph-rag, transforming source code into graph queries via AST parsing, Cypher ingestion, and LLM generation. Understand the pipeline from code to queries.

- Tags: architecture
- Published: 2026-08-13

### [How the CLI Handles Concurrent Parsing with Memory Limits in Code-Graph-RAG](/vitali87/code-graph-rag/how-does-cli-handle-concurrent-parsing-with-memory-limits)

Discover how the Code-Graph-RAG CLI manages concurrent parsing with memory limits using ThreadPoolExecutor, BoundedASTCache, and semaphores for efficient resource control.

- Tags: internals
- Published: 2026-08-13

### [How to Run Tests and Evaluate Retrieval Quality for New Languages in code-graph-rag](/vitali87/code-graph-rag/how-to-run-tests-and-evaluate-retrieval-quality-for-new-languages)

Easily run tests and evaluate retrieval quality for new languages in code-graph-rag. Benchmark CALLS-edge retrieval by implementing an oracle and registering a new CLI command.

- Tags: how-to-guide
- Published: 2026-08-13

### [Security Considerations When Deploying the Code-Graph-RAG MCP Server](/vitali87/code-graph-rag/what-are-security-considerations-when-deploying-mcp-server)

Learn vital security considerations for deploying the Code-Graph-RAG MCP server. Understand default configurations, token authentication, environment variable secrets, and sandboxed operations for secure deployment.

- Tags: security-guide
- Published: 2026-08-13

### [How to Build a Binary Distribution from Source for Code-Graph-RAG](/vitali87/code-graph-rag/how-to-build-binary-distribution-from-source)

Learn how to build a binary distribution from source for Code-Graph-RAG. Follow simple steps to create a standalone executable from the vitali87/code-graph-rag repository.

- Tags: how-to-guide
- Published: 2026-08-13

### [How AST-Based Surgical Patching with Diff Preview Works in Code-Graph-RAG](/vitali87/code-graph-rag/how-does-ast-based-surgical-patching-with-diff-preview-work)

Learn how AST-based surgical patching in Code-Graph-RAG precisely locates code blocks, previews diffs, and applies changes atomically for reliable updates. Explore the technique today.

- Tags: internals
- Published: 2026-08-13

### [How to Use Semantic Vector Search for Code Retrieval in Code-Graph-RAG](/vitali87/code-graph-rag/how-to-use-semantic-vector-search-for-code-retrieval)

Learn to use semantic vector search for code retrieval with Code-Graph-RAG. Embed queries, search vectors, and resolve code matches efficiently.

- Tags: how-to-guide
- Published: 2026-08-13

### [How Incremental Parsing Handles Cross-Language Symbol Collisions in Code-Graph-RAG](/vitali87/code-graph-rag/how-does-incremental-parsing-handle-cross-language-symbol-collisions)

Learn how Code-Graph-RAG prevents cross-language symbol collisions with incremental parsing. Discover how it disambiguates names and maintains a QN to file path map for accurate indexing.

- Tags: internals
- Published: 2026-08-13

### [How to Export the Code‑Graph Knowledge Graph for External Analysis](/vitali87/code-graph-rag/how-to-export-knowledge-graph-for-external-analysis)

Export your Code-Graph knowledge graph to a portable JSON file for external analysis. Use the CLI command or programmatic function to extract complete node and relationship data.

- Tags: how-to-guide
- Published: 2026-08-13

### [How to Configure Ignore Patterns for Large Monorepos in Code‑Graph‑RAG](/vitali87/code-graph-rag/how-to-configure-ignore-patterns-for-large-monorepos)

Learn to configure ignore patterns for large monorepos in Code-Graph-RAG using .cgrignore files and CLI flags for efficient file filtering and indexing.

- Tags: how-to-guide
- Published: 2026-08-13

### [Graph Schema for Nodes and Edges: Unified Code-Graph-RAG Model Across 13 Languages](/vitali87/code-graph-rag/what-is-the-graph-schema-for-nodes-and-edges-across-different-languages)

Explore the unified graph schema for nodes and edges in Code-Graph-RAG. Normalize AST elements from 13 languages into a language-agnostic knowledge graph.

- Tags: architecture
- Published: 2026-08-13

### [How to Detect Dead Code by Walking Call Graph Edges from Entry Points](/vitali87/code-graph-rag/how-to-detect-dead-code-by-walking-call-graph-edges-from-entry-points)

Learn how to detect dead code by walking call graph edges from entry points. Traverse your code's call graph using Neo4j and BFS to identify unreachable code.

- Tags: how-to-guide
- Published: 2026-08-13

### [How Cypher Query Generation from Natural Language Works in Code‑Graph‑RAG](/vitali87/code-graph-rag/how-does-cypher-query-generation-from-natural-language-work)

Discover how Code-Graph-RAG generates Cypher queries from natural language. This LLM pipeline ensures schema compliance and prevents destructive operations for safe code analysis.

- Tags: how-to-guide
- Published: 2026-08-13

### [How to Set Up Memgraph and Qdrant with the cgr Daemon Command](/vitali87/code-graph-rag/how-to-set-up-memgraph-and-qdrant-with-cgr-daemon-command)

Easily set up Memgraph and Qdrant locally with the cgr daemon command. Deploy a secure Docker Compose stack in one command for efficient local development.

- Tags: how-to-guide
- Published: 2026-08-13

### [How to Add Custom Languages Using the ast-grep YAML Tier](/vitali87/code-graph-rag/how-to-add-custom-languages-using-ast-grep-yaml-tier)

Easily add custom languages to code-graph-rag with YAML tier configurations. Define file extensions and ast-grep patterns without touching Python source code.

- Tags: how-to-guide
- Published: 2026-08-13

### [How the FLOWS_TO Taint Analysis Detects Security Vulnerabilities in Code Graph RAG](/vitali87/code-graph-rag/how-does-flows-to-taint-analysis-work-for-security-vulnerabilities)

Discover how FLOWS_TO taint analysis in Code Graph RAG detects security vulnerabilities by tracking data flow and checking exploitability in execution paths.

- Tags: deep-dive
- Published: 2026-08-13

### [How to Configure the MCP Server for Claude Code Integration in Code-Graph-RAG](/vitali87/code-graph-rag/how-to-configure-mcp-server-for-claude-code-integration)

Integrate Claude Code with your code repository by configuring the MCP server. Learn to set TARGET_REPO_PATH and register with claude mcp add for semantic codebase queries.

- Tags: how-to-guide
- Published: 2026-08-13

### [How Code-Graph-RAG's Tree-sitter Parser Extracts Code Structure into Memgraph](/vitali87/code-graph-rag/how-does-code-graph-rag-tree-sitter-parser-extract-code-structure-into-memgraph)

Discover how Code-Graph-RAG's Tree-sitter parser extracts code structure into Memgraph. Learn about its three-pass pipeline for parsing, definition extraction, and streaming data.

- Tags: how-to-guide
- Published: 2026-08-13

### [What Are the Optional Dependencies for Code-Graph-RAG? Complete Installation Guide](/vitali87/code-graph-rag/what-are-optional-dependencies-for-code-graph-rag)

Explore optional dependencies for Code-Graph-RAG including test, treesitter-full, semantic, milvus, and ast-grep. Enhance your installation with testing, parsing, and search tools.

- Tags: how-to-guide
- Published: 2026-08-12

### [Which LLM Providers Can Be Used with Code-Graph-RAG for Cypher Query Generation?](/vitali87/code-graph-rag/what-llm-providers-can-be-used-with-code-graph-rag-for-cypher-query-generation)

Discover which LLM providers work with Code-Graph-RAG for Cypher query generation. Explore integrations with OpenAI, Anthropic, Google Vertex AI, and more.

- Tags: how-to-guide
- Published: 2026-08-12

### [How Code-Graph-RAG Performs Data Flow Analysis: A Three-Verdict Reachability Algorithm](/vitali87/code-graph-rag/how-does-code-graph-rag-perform-data-flow-analysis)

Learn how Code-Graph-RAG performs data flow analysis using a BFS on an adjacency map to determine reachability with FOUND NO_FLOW or UNKNOWN verdicts.

- Tags: deep-dive
- Published: 2026-08-12

### [How to integrate Code-Graph-RAG with Claude Code via MCP server](/vitali87/code-graph-rag/how-to-integrate-code-graph-rag-with-claude-code-via-mcp-server)

Integrate Code-Graph-RAG with Claude Code using the MCP server. Query your codebase structure and semantics with natural language. Learn how with this guide.

- Tags: how-to-guide
- Published: 2026-08-11

### [How the File Watcher in Code-Graph-RAG Enables Real-Time Graph Updates](/vitali87/code-graph-rag/how-does-file-watcher-in-code-graph-rag-work-for-real-time-updates)

Discover how the Code-Graph-RAG file watcher uses watchdog and hybrid debouncing to sync codebase changes with Memgraph in real-time. Keep your graph updated automatically.

- Tags: internals
- Published: 2026-08-11

### [How to Enable Semantic Search in Code-Graph-RAG: A Complete Setup Guide](/vitali87/code-graph-rag/how-to-enable-semantic-search-in-code-graph-rag)

Learn to enable semantic search in Code-Graph-RAG with this complete setup guide. Install the semantic extra, start Qdrant, and run the indexer to embed functions for powerful code querying.

- Tags: how-to-guide
- Published: 2026-08-11

### [How to Configure Code-Graph-RAG Using Environment Variables](/vitali87/code-graph-rag/how-to-configure-code-graph-rag-using-environment-variables)

Learn to configure Code-Graph-RAG using environment variables. Discover how Pydantic and .env files streamline runtime settings for your codebase RAG application.

- Tags: how-to-guide
- Published: 2026-08-11

### [How Code-Graph-RAG Performs Natural Language Querying: From English to Cypher](/vitali87/code-graph-rag/how-does-code-graph-rag-perform-natural-language-querying)

Discover how Code-Graph-RAG enables natural language querying by transforming English questions into executable Cypher queries with an LLM pipeline and Memgraph.

- Tags: deep-dive
- Published: 2026-08-11

### [Understanding the Key Relationships in the Code-Graph-RAG Graph Schema](/vitali87/code-graph-rag/what-are-key-relationships-in-code-graph-rag-graph-schema)

Explore the vital relationships within the Code-Graph-RAG graph schema, from containment to call graphs, connecting your code's structure in a Protocol Buffers knowledge graph.

- Tags: deep-dive
- Published: 2026-08-11

### [What Is the Knowledge Graph Schema in Code-Graph-RAG?](/vitali87/code-graph-rag/what-is-knowledge-graph-schema-in-code-graph-rag)

Understand the knowledge graph schema in Code-Graph-RAG. Discover how protobuf defines Node entities and Relationship edges for a flattened, ID-based codebase graph representation.

- Tags: deep-dive
- Published: 2026-08-11

### [How Code-Graph-RAG Uses Tree-sitter for Multi-Language Code Analysis](/vitali87/code-graph-rag/how-does-code-graph-rag-use-tree-sitter)

Explore how Code-Graph-RAG utilizes Tree-sitter for efficient, multi-language code analysis. Discover its power in semantic extraction and incremental code-graph construction.

- Tags: how-to-guide
- Published: 2026-08-11

### [Which Programming Languages Does Code-Graph-RAG Support? (14 Languages Covered)](/vitali87/code-graph-rag/which-programming-languages-does-code-graph-rag-support)

Discover which programming languages Code-Graph-RAG supports. Explore 14 languages like Python, JavaScript, Java, C++ and more, enabling language agnostic knowledge graphs.

- Tags: supported-languages
- Published: 2026-08-11

### [How to Stop the Memgraph Daemon for Code-Graph-RAG](/vitali87/code-graph-rag/how-to-stop-memgraph-daemon-for-code-graph-rag)

Easily stop the Memgraph daemon for your Code-Graph-RAG project. Learn commands to halt Memgraph only or bring down the entire stack for efficient resource management.

- Tags: how-to-guide
- Published: 2026-08-11

### [How to Run Code-Graph-RAG as an MCP Server: STDIO and HTTP Setup Guide](/vitali87/code-graph-rag/how-to-run-code-graph-rag-as-mcp-server)

Learn to run Code-Graph-RAG as an MCP server with STDIO for local clients or HTTP for REST API access. Follow this setup guide for vitali87/code-graph-rag.

- Tags: how-to-guide
- Published: 2026-08-11

### [How to Surgically Edit Code Using Code-Graph-RAG: AST-Level Precision](/vitali87/code-graph-rag/how-to-surgically-edit-code-using-code-graph-rag)

Surgically edit code with Code-Graph-RAG. Transform natural language edits into precise AST-level diffs and apply minimal patches to your codebase. Learn how.

- Tags: how-to-guide
- Published: 2026-08-11

### [How to Query the Knowledge Graph with Code-Graph-RAG: A Complete Guide](/vitali87/code-graph-rag/how-to-query-knowledge-graph-with-code-graph-rag)

Learn to query the knowledge graph with Code-Graph-RAG. This guide walks you through setup and natural language querying, translating questions into Cypher for powerful insights.

- Tags: how-to-guide
- Published: 2026-08-11

### [How to Parse and Index a Code Repository with Code-Graph-RAG: A Complete Guide](/vitali87/code-graph-rag/how-to-parse-and-index-code-repository-with-code-graph-rag)

Learn to parse and index any code repository with Code-Graph-RAG. This guide details how to transform source code into queryable knowledge graphs using AST extraction, graph construction, and Memgraph indexing.

- Tags: how-to-guide
- Published: 2026-08-11

### [How to Start the Memgraph Daemon for Code-Graph-RAG: A Complete Guide](/vitali87/code-graph-rag/how-to-start-memgraph-daemon-for-code-graph-rag)

Learn to start the Memgraph daemon for Code-Graph-RAG easily. Run the cgr daemon up command for a seamless setup with Memgraph and Qdrant containers.

- Tags: how-to-guide
- Published: 2026-08-11

### [Prerequisites for Code-Graph-RAG: Complete Installation Guide and System Requirements](/vitali87/code-graph-rag/what-are-the-prerequisites-for-code-graph-rag)

Learn the prerequisites for Code-Graph-RAG. Install Python 3.12+, Docker, CMake, and ripgrep. Get the complete installation guide and system requirements for efficient code analysis.

- Tags: getting-started
- Published: 2026-08-11

### [How to Install Code-Graph-RAG: Complete Setup Guide for Multi-Language Code Intelligence](/vitali87/code-graph-rag/how-to-install-code-graph-rag)

Install Code-Graph-RAG for multi-language code intelligence. Follow our guide to set up the repository, launch Docker, and index your code for natural language querying.

- Tags: how-to-guide
- Published: 2026-08-11

