codegraph vs codebase-memory-mcp

Two of the top mcp servers for developers, side by side: score, setup, license, activity and what each review found.

11st of 6 in MCP servers for developers

codegraph

Local code knowledge graph served to coding agents over MCP

80 out of 100
33rd of 6 in MCP servers for developers

codebase-memory-mcp

MCP server that indexes codebases into a queryable knowledge graph

62 out of 100
codegraph vs codebase-memory-mcp: score parts and facts
What we comparecodegraphcodebase-memory-mcp
Score parts, out of 100
Adoption92, widely used47, known
Freshness100, active100, active
Maintenance91, healthy81, healthy
Easy to run50, easy50, easy
Agent-ready85, ready0, none
Facts from GitHub and the README
Stars73.7k46.3k
LicenseMIT (permissive)MIT (permissive)
Last commitOct 2026Oct 2026
Last releaseOct 2026Sep 2026
LanguageCC
DockerNoNo
GPUNot neededNot needed
arm64 or Apple SiliconMentionedMentioned

codegraph

CodeGraph indexes a project into a local graph of symbols, call edges and dependencies under `.codegraph/`, then exposes it to coding agents through an MCP server. Agents can fetch relevant source, call paths and change impact in one call instead of grepping and reading files. `codegraph install` wires it into Claude Code, Cursor, Codex CLI, opencode, Gemini CLI, Kiro, GitHub Copilot and others, and auto-sync keeps the index current.

Who it is for: Developers using AI coding agents on mid-to-large codebases

Strengths

  • Runs locally; no Node.js needed, ships as a bundled installer or npm package
  • One `codegraph install` configures MCP for nine named agents and IDEs
  • Covers 30+ languages, including TypeScript, Python, Go, Rust, Java, C#, Swift
  • Watches files and updates the graph automatically; no manual re-index

Weaknesses

  • README admits about 80% more retrieval context stays resident in long sessions
  • Published benchmarks are the author's, on 7 repos with one question each
  • No Docker or compose setup; install is via curl/PowerShell script or npm
  • Hosted CodeGraph platform is a waitlist product, separate from this repo
  • no GPU

codebase-memory-mcp

A native C executable that parses repositories with tree-sitter (162 languages) into a persistent graph of functions, classes, call chains, HTTP routes and cross-service links, and exposes it through 17 MCP tools. It adds semantic search with bundled embeddings, Cypher-like queries, dead code detection, git diff impact mapping and a built-in 3D graph UI. Processing is local, and `install` configures detected coding-agent clients.

Who it is for: Developers giving coding agents structural code search over local repos

Strengths

  • Runs locally with no API key, hosted service or language runtime
  • Bundled embeddings enable semantic search without Ollama or Docker
  • Covers 162 languages; Hybrid LSP type resolution for 10 of them
  • Releases are VirusTotal-scanned and SLSA 3 attested

Weaknesses

  • Updates require re-running the install script; `update` only prints the command
  • Defender may flag release binaries as a false positive, per the README
  • All active processes must share the exact same build and cache root
  • Watcher covers only git projects opened in MCP sessions, by default
  • no GPU
  • Models: nomic-embed-code (bundled, int8, 768d)
  • port 9749

More in MCP servers for developers