Code-Graph-RAG vs Serena MCP: the IDE for your agent
Code-Graph-RAG is an open-source MCP server for knowledge and memory. Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- Code-Graph-RAG is best for ask how a function is reached in an unfamiliar monorepo.
- Serena MCP: the IDE for your agent is best for rename symbols across files.
- What it is
- Code-Graph-RAG is an open-source MCP server for knowledge and memory.Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- Best for
- Ask how a function is reached in an unfamiliar monorepoRename symbols across files
- Kind
- MCP serverMCP server
- Pricing
- Open sourceOpen source
- Platforms
- CLI, self-hostedCLI, self-hosted, vscode, jetbrains
- Runs
- LocallyLocally
- GitHub stars
- 31.5K
- Last commit
- Nov 2026
- Open source
- Good for
- Ask how a function is reached in an unfamiliar monorepo; Find unreachable functions before a cleanup; Apply a pattern-based rewrite across a whole codebaseRename symbols across files; Navigate references in a monorepo; Refactor large codebases with an agent
What Code-Graph-RAG does
Tree-sitter graph index
Parses 14 languages into one graph schema of functions, classes, modules and dependencies.
Natural-language queries
Translates plain-English questions into Cypher queries over the code graph.
AST-based editing
Replaces specific functions with a diff preview shown before anything changes.
Dead code detection
Walks call and reference edges from entry points to find unreachable functions.
Structural search and replace
Uses ast-grep patterns to match and rewrite code by structure, not text.
Runtime trace overlay
Merges calls observed in a test run into the graph with the cgr trace command.
What Serena MCP: the IDE for your agent does
Symbol-level tools
Retrieval and editing based on code structure.
Refactoring support
Cross-file renames and moves in single calls.
Client-agnostic
Works with any MCP-capable client or LLM.
Two connection modes
Launch command or HTTP mode.
Language support
Covers many languages through semantic analysis.
Code-Graph-RAG vs Serena MCP: the IDE for your agent: questions
Is Code-Graph-RAG or Serena MCP: the IDE for your agent cheaper?
Both are open source. Compare current plans on each official site.
What is the difference between Code-Graph-RAG and Serena MCP: the IDE for your agent?
Code-Graph-RAG is an open-source MCP server for knowledge and memory. Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
