7 Best codebase-memory-mcp Alternatives in 2026 (Open Source)

codebase-memory-mcp — MCP server indexing codebases into a persistent knowledge graph with tree-sitter and hybrid LSP. Indexes average repositories in milliseconds with sub-ms query performance using persistent knowledge graphs rather than file-by-file exploration.

Short answer

  • Closest match to codebase-memory-mcp: Graphify.
  • Most actively developed: Graphify (1,048 commits in the last 90 days).
  • Fastest growing: Graphify (+6,525 GitHub stars in the last 30 days).
  • No commit in 6+ months: gpt-code-assistant and bloop.

These 7 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.

ToolGitHub starsStars / 30dLast commit
codebase-memory-mcp(original)45.7k+1,7252026-10-02
Graphify123.2k+6,5252026-09-30
code-review-graph31.9k+3302026-09-18
Graft9.5k+1,0652026-09-30
serena29.9k+4202026-09-30
gpt-code-assistant20802023-07-27
bloop9.5k-42024-12-04
claude-context12.6k+752026-07-14
  1. 1. Graphify

    Local tool that parses code, docs, SQL schemas, configs, and PDFs into a queryable knowledge graph

    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. 2. code-review-graph

    Local code knowledge graph serving compact review context to AI coding tools over MCP

    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. 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. 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. 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. 6. 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

  7. 7. 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 bloop. 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 123,201 stars.
Which codebase-memory-mcp alternative is the most actively maintained?
By recent activity, Graphify (1,048 commits in the last 90 days) is the most actively developed alternative.