qmetrics.net
Code-Graph-RAGMonorepo knowledge graph for AI code queries Codebase MemoryLocal MCP code intelligence knowledge graph server

Code-Graph-RAG vs Codebase Memory

How Code-Graph-RAG and Codebase Memory compare on popularity, activity, license and platforms: two open-source AI Assisted Coding projects, both alternatives to Sourcegraph.

At a glance

Side by side

Code-Graph-RAGCodebase Memory
GitHub stars★ 5,464★ 49,590 +426 in 9 days
Forks7394,170
Last committodaytoday
Latest versionv0.7.180v0.12.1
Repository startedJune 2025February 2026
LicenseMIT · permissiveMIT · permissive
Self-hostedDesktop/CLI appYes
PlatformsCLI, Linux, macOS, WindowsLinux, macOS, Windows, CLI
Main languagePythonC
Alternative toSourcegraphSourcegraph

Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.

Code-Graph-RAG

Code-Graph-RAG indexes multi-language repositories into a queryable graph and answers natural-language questions with grounded retrieval. It supports edits, dead-code detection, tracing, and MCP access.

Key features

  • Multi-language Tree-sitter indexing
  • Natural-language graph queries
  • AST-based code edits
  • Dead code detection
  • Dynamic call tracing
  • MCP server integration

Codebase Memory

Codebase Memory indexes repositories into a persistent local graph and exposes it through MCP tools and a CLI. Optional CBM Lens UI explores calls, docs, and infrastructure links on your machine.

Key features

  • Seventeen MCP graph query tools
  • Persistent local index and SQLite storage
  • Tree-sitter parsing and hybrid LSP types
  • Infrastructure and docs linked to code
  • Installer hooks for many coding agents
  • Native CLI alongside MCP access

More comparisons

Code-Graph-RAG vs …

Codebase Memory vs …

Report a mistake on this page