codebase-memory-mcp vs gitnexus

Code knowledge graphs for AI-assisted code exploration

codebase-memory-mcp and gitnexus index repositories into code knowledge graphs that help developers and AI agents explore relationships and assess changes. codebase-memory-mcp focuses on a local MCP server with persistent SQLite storage, while gitnexus offers CLI, MCP, and browser-based exploration, including repository chat in its UI.

codebase-memory-mcpgitnexus
LanguageCTypeScript
LicenseMIT—
Stars45.7k175
Forks3.8k16
Last analyzedOct 3, 2026Oct 22, 2026

Key differences

  • codebase-memory-mcp is written in C; gitnexus is written in TypeScript.
  • codebase-memory-mcp stores graph data locally in SQLite and supports automatic change detection and re-indexing; gitnexus offers local CLI indexing and browser-based analysis.
  • codebase-memory-mcp provides structural queries, semantic and full-text search, and optional graph visualization; gitnexus adds browser-based AI-assisted repository chat and agent skill generation.
  • codebase-memory-mcp is licensed MIT; gitnexus metadata says NOASSERTION, while its README displays a PolyForm Noncommercial license badge.
  • codebase-memory-mcp is a structural backend that needs an MCP-compatible client for language-model interaction; gitnexus also offers a browser UI for exploring repositories without first configuring an editor integration.
  • codebase-memory-mcp reports 45.7k stars and 3.8k forks; gitnexus reports 173 stars and 16 forks.

Choose codebase-memory-mcp if you…

  • need a local MCP backend with persistent SQLite graph storage and automatic re-indexing.
  • want semantic and full-text search alongside structural graph queries.
  • need to trace HTTP routes and calls across services or index Dockerfiles and Kubernetes resources.
Read the codebase-memory-mcp analysis →

Choose gitnexus if you…

  • want CLI, MCP, and browser-based options for repository exploration.
  • need browser-based AI-assisted repository chat or generated agent skills and context files.
  • work across related repositories and want to group indexes for contract and impact analysis.
Read the gitnexus 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.