codegraph vs serena
Two of the top projects in MCP servers for developers, side by side: who leads on each score part and who each one suits, then setup, license, activity and what each review found.
codegraph
Local code knowledge graph exposed to coding agents over MCP
serena
MCP server giving coding agents symbol-level code search, editing and refactoring
Verdict
codegraph ranks higher, 97 to 92. Of the 4 score parts we measure for both, codegraph leads on 3, serena on none and 1 is even.
- Adoptioncodegraph leads by 5 points, 99 to 94.
- FreshnessEven at 100.
- Maintenancecodegraph leads by 4 points, 94 to 90: close to even.
- Agent-readycodegraph leads by 15 points, 85 to 70: a wide gap.
Pick codegraph if you are
Developers running coding agents on mid-to-large codebases
- codegraph install auto-configures about 18 agents, including Claude Code, Cursor, Codex and Copilot
- Indexes dozens of languages into one graph with cross-file resolution
Pick serena if you are
Developers who want their coding agent to navigate and refactor large codebases
- Symbol-level retrieval and editing instead of line numbers or text search
- Language server backend covers over 40 languages and is free
| What we compare | codegraph | serena |
|---|---|---|
| Score parts, out of 100 | ||
| Adoption | 99, widely used | 94, widely used |
| Freshness | 100, active | 100, active |
| Maintenance | 94, healthy | 90, healthy |
| Agent-ready | 85, ready | 70, partly |
| Facts from GitHub and the README | ||
| Stars | 79.1k | 31.8k |
| License | MIT (permissive) | custom license (read the license) |
| Last commit | Nov 2026 | Nov 2026 |
| Last release | Nov 2026 | Oct 2026 |
| Language | TypeScript | Python |
| Docker | No | Yes |
| GPU | Not needed | Not stated |
| arm64 or Apple Silicon | Mentioned | Not stated |
codegraph
CodeGraph indexes a repository into a local graph of symbols, call edges and dependencies stored in a .codegraph/ directory, then serves it to coding agents through an MCP server. Agents query the graph for relevant source, call paths and change blast radius instead of grepping and reading files. One installer wires it into Claude Code, Cursor, Codex, opencode, Gemini CLI, Copilot and others, and the index auto-syncs on file changes.
Who it is for: Developers running coding agents on mid-to-large codebases
Strengths
- codegraph install auto-configures about 18 agents, including Claude Code, Cursor, Codex and Copilot
- Indexes dozens of languages into one graph with cross-file resolution
- Watches files and updates the index automatically, so no manual re-indexing
- Self-contained install with bundled runtime; Node.js is not required
Weaknesses
- Responses stay resident in context: about 80% more retrieval context at session end, per its own numbers
- Benchmarks are the author's own: seven repos, one question each
- Index is per project and must be rebuilt with codegraph index after some upgrades
- Hosted PR-analysis platform is only a waitlist; the open-source part is the local tool
- no GPU
- Models: Claude Code, Cursor, Codex CLI, opencode, Gemini CLI
serena
Serena is an MCP server that exposes IDE-style tools to a coding agent: find symbol, find referencing symbols, symbol overview, rename, and replace or insert at symbol level. It uses language servers (LSP) for over 40 languages by default, or a paid JetBrains plugin that adds move, inline, type hierarchy and a debugger. It plugs into MCP clients such as Claude Code, Codex, Gemini-CLI, VSCode and Claude Desktop, and includes a per-project memory system.
Who it is for: Developers who want their coding agent to navigate and refactor large codebases
Strengths
- Symbol-level retrieval and editing instead of line numbers or text search
- Language server backend covers over 40 languages and is free
- Works with any MCP client; stdio launch command or HTTP mode
- Layered YAML config: global, per-project, per-client context, and modes
Weaknesses
- Move, inline, type hierarchy and debugging need the paid JetBrains plugin
- Language server backend only renames symbols; no move or inline
- Some languages need extra language server dependencies installed manually
- Mixed licensing: GPL-3.0-or-later app with MIT SolidLSP component, plus a CLA
- Docker + Compose
- Needs uv, Python 3.13, language servers per language (LSP backend), JetBrains IDE and Serena plugin (optional, paid)
- Models: Any LLM through an MCP client
More in MCP servers for developers
Building with these?
We help teams pick an open-source AI stack and run it in production. Client work never changes a rank.
AI app development →Send a project brief (opens in a new tab)