codebase-memory-mcp vs gortex
codebase-memory-mcp: codebase-memory-mcp is a structural analysis backend that indexes codebases into a persistent knowledge graph, drastically reducing token usage for code exploration by providing precise structural results. It integrates with AI assistants like Claude Code, offering advanced capabilities such as call graph tracing, architecture overviews, and dead code detection.; gortex: Gortex is a code intelligence engine that builds an in-memory knowledge graph of repositories. It provides CLI, MCP Server, and web UI for querying symbols, dependencies, and impact analysis. Designed for AI coding agents, it cuts token usage by ~94% by replacing multiple file reads with a single smart_context call.
Both build a code knowledge graph for coding agents. Codebase Memory is MIT with a single binary and a stated focus on token savings. Gortex lists more MCP tools (49) and multi-repo workspaces, but GitHub does not detect its licence, so confirm the terms first.
TL;DR
- Your agent burns tokens searching a medium or large codebase: one graph query replaces many grep and read steps, according to the README.
- You want everything local: a single static binary with no runtime dependencies or API keys.
- You work in many languages and with several coding agents, which the installer configures automatically.
- You do not want an installer to edit your agents' config files and add hooks; the README offers --skip-config to install only the binary.
- You need project decisions and conventions rather than code structure; a scaffold such as mex is closer.
- You are cautious about unsigned binaries: some antivirus engines have flagged the release, which the project documents as a false positive.
- You work across several repositories and want cross-repo symbol resolution in one graph.
- You want a wide set of analysis tools: the README lists blast radius, dead code, hotspots, rename and test-coverage gaps among its 49 MCP tools.
- You want a CLI, an MCP server and a web UI over the same graph, covering 92 languages.
- You need clear licence terms today: GitHub does not detect a licence, so confirm the terms before using it at work.
- You are on Windows: the README lists Windows support as planned.
- You want a small tool surface; the README is very long and the tool set is large.
Side-by-Side Comparison
Features
Use Cases
Best For
FAQ
Deploy on DigitalOcean
Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.