Comparison

codebase-memory-mcp vs Sourcegraph

A like-for-like, spec-level comparison. Both entries are verified against their docs and repo.

codebase-memory-mcp

Code-intelligence MCP server that indexes codebases into a knowledge graph.

  • + Sub-ms structural queries across the whole codebase
  • + Replaces dozens of grep and read calls with one graph query
  • + Single static binary, local-first, zero dependencies
  • − Needs an initial index per project
  • − Pure-C codebase; extending it needs a C toolchain

Sourcegraph

Enterprise code intelligence, search, and agent context.

  • + Precise SCIP indexing and cross-repository search
  • + Enterprise-grade code understanding at scale
  • − Proprietary and enterprise-priced
  • − Heavier deployment than a local MCP
Spec codebase-memory-mcp Sourcegraph
Role Code intelligence Code intelligence
Tags code-intelligence, memory code-intelligence
License MIT Proprietary
Open source Yes No
Self-hostable Yes No
MCP support Yes Yes
Pricing free paid
Price Free Custom
Usage cost No model cost Included
Models multi multi
Languages c
GitHub stars 25.6k
Last activity 2026-07-04