codebase-memory-mcp vs SocratiCode

Local MCP codebase search and analysis tools compared

codebase-memory-mcp and SocratiCode both provide local-first codebase context to MCP-compatible coding agents, combining search with code-relationship analysis. codebase-memory-mcp centers on a persistent structural knowledge graph, while SocratiCode combines semantic and keyword search with dependency graphs and searchable project artifacts.

codebase-memory-mcpSocratiCode
LanguageCTypeScript
LicenseMITAGPL-3.0
Stars45.7k3.3k
Forks3.8k430
Last analyzedOct 3, 2026Oct 12, 2026

Key differences

  • codebase-memory-mcp stores code relationships in a local SQLite graph; SocratiCode fuses semantic and BM25 keyword search through Qdrant alongside its code graphs.
  • codebase-memory-mcp can link HTTP routes and calls across services and index Dockerfiles and Kubernetes resources; SocratiCode can index API specifications, database schemas, and infrastructure configuration.
  • codebase-memory-mcp is written in C and licensed under MIT; SocratiCode is written in TypeScript and licensed under AGPL-3.0.
  • SocratiCode's default local setup relies on Docker for Qdrant and usually Ollama, with external embedding providers and Qdrant also configurable; codebase-memory-mcp stores its graph locally in SQLite.
  • SocratiCode supports cross-project search, branch-aware indexing, and shared indexes for multiple agents; codebase-memory-mcp supports one-shot CLI access and multiple coding-agent clients.

Choose codebase-memory-mcp if you…

  • need a persistent SQLite graph for structural queries and code-relationship analysis.
  • want to trace routes and calls across services or index Dockerfiles and Kubernetes resources.
  • prefer an MIT-licensed project written in C.
Read the codebase-memory-mcp analysis →

Choose SocratiCode if you…

  • want semantic and keyword search alongside dependency graphs and symbol-level impact analysis.
  • need to search API specifications, database schemas, or infrastructure configuration with source code.
  • want cross-project search, branch-aware indexing, or shared indexes for multiple agents.
Read the SocratiCode analysis →

Compare the numbers side by side, or add more projects

This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.