8 Best codebase-memory-mcp Alternatives in 2026 (Open Source)
codebase-memory-mcp — High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries. Indexes average repositories in milliseconds with sub-ms query performance using persistent knowledge graphs rather than file-by-file exploration.
These 8 open-source tools do the same job. They are ordered by how closely they match codebase-memory-mcp, with live GitHub data so you can see which projects are actively maintained.
| Tool | GitHub stars | Stars / 30d | Last commit |
|---|---|---|---|
| codebase-memory-mcp(original) | 45.6k | +3,796 | 2026-09-28 |
| Graphify | 122.8k | +10,231 | 2026-09-30 |
| code-review-graph | 31.9k | +2,656 | 2026-09-18 |
| Graft | 9.4k | +786 | 2026-09-30 |
| serena | 29.9k | +2,493 | 2026-09-30 |
| gpt-code-assistant | 208 | +0 | 2023-07-27 |
| SolidGPT | 1.8k | +1 | 2025-01-12 |
| bloop | 9.5k | +-4 | 2024-12-04 |
| claude-context | 12.6k | +1,048 | 2026-07-14 |
1. Graphify
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini
What sets it apart: Uses deterministic AST parsing to create an explainable knowledge graph locally, without vector stores or embeddings, specifically for AI coding workflows.
Best for: Developers using AI coding assistants; Understanding complex codebases; Navigating project documentation and relationships
2. code-review-graph
Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked contex
What sets it apart: Provides AI coding tools with a local, persistent structural map of the codebase to drastically reduce the context they need to read.
Best for: Reducing context size for AI code reviews; Improving AI coding tool performance on large repositories; Providing precise code change context to assistants
3. Graft
Turbocharge Claude Code, Cursor, Codex, Gemini & every coding agent: faster, cheaper, with contextual understanding specific to your codebase.
What sets it apart: Builds a persistent, actionable knowledge graph from your codebase that coding agents use to avoid redundant exploration.
Best for: Teams using coding agents for development; Reducing costs and latency of coding agents; Maintaining context across agent sessions
4. serena
A powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
What sets it apart: Provides IDE-level semantic tools at the symbol level for AI coding agents via MCP integration.
Best for: AI coding agents working on complex codebases; cross-file refactoring operations; symbol-aware code navigation
5. gpt-code-assistant
gpt-code-assistant is an open-source coding assistant leveraging language models to search, retrieve, explore and understand any codebase.
What sets it apart: vs GitHub Copilot / Sourcegraph: local-first CLI tool using vector embeddings for codebase-specific Q&A — works with any language, any local code, privacy-focused (code only sent when queried)
Best for: Developers wanting terminal-based natural language code search over local repos; Quick codebase onboarding and documentation queries; Bug debugging by describing errors in natural language
6. SolidGPT
Developer AI Persona Search Agent
What sets it apart: AI-powered code and workspace semantic search assistant available as VSCode extension, enabling natural language queries over your codebase
Best for: code-semantic-search; codebase-onboarding; developer-ai-assistant
7. bloop
bloop is a fast code search engine written in Rust.
What sets it apart: vs GitHub Copilot / Sourcegraph: privacy-first on-device embedding with no data leaving your machine — combines semantic AI search with precise symbol navigation for 10+ languages
Best for: Developers needing privacy-first code search with AI understanding; Exploring and documenting unfamiliar codebases; Teams wanting on-device semantic search without cloud dependencies
8. claude-context
Code search MCP for Claude Code. Make entire codebase the context for any coding agent.
What sets it apart: Uses semantic search to provide relevant code context to AI coding agents instead of loading entire codebases, making it cost-effective for large projects.
Best for: Developers using Claude Code; Teams with large codebases; AI coding agent users needing code context
FAQ
- What are the best alternatives to codebase-memory-mcp?
- The closest open-source alternatives to codebase-memory-mcp are Graphify, code-review-graph and Graft, followed by serena, gpt-code-assistant and SolidGPT. They are ranked by how closely they match what codebase-memory-mcp does.
- Which codebase-memory-mcp alternative is the most popular?
- Graphify has the most GitHub stars among codebase-memory-mcp alternatives, with 122,766 stars.
- Which codebase-memory-mcp alternative is the most actively maintained?
- By recent activity, Graphify (1,072 commits in the last 90 days) is the most actively developed alternative.