8 Best claude-context Alternatives in 2026 (Open Source)
claude-context — Code search MCP for Claude Code. Make entire codebase the context for any coding agent. Uses semantic search to provide relevant code context to AI coding agents instead of loading entire codebases, making it cost-effective for large projects.
These 8 open-source tools do the same job. They are ordered by how closely they match claude-context, with live GitHub data so you can see which projects are actively maintained.
| Tool | GitHub stars | Stars / 30d | Last commit |
|---|---|---|---|
| claude-context(original) | 12.6k | +1,048 | 2026-07-14 |
| Graft | 9.4k | +786 | 2026-09-30 |
| code-review-graph | 31.9k | +2,656 | 2026-09-18 |
| serena | 29.9k | +2,493 | 2026-09-30 |
| codebase-memory-mcp | 45.6k | +3,796 | 2026-09-28 |
| SolidGPT | 1.8k | +1 | 2025-01-12 |
| gpt-code-assistant | 208 | +0 | 2023-07-27 |
| bloop | 9.5k | +-4 | 2024-12-04 |
| AI Filesystem | 459 | +1 | 2024-06-01 |
1. 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
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. 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
4. 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
What sets it apart: Indexes average repositories in milliseconds with sub-ms query performance using persistent knowledge graphs rather than file-by-file exploration.
Best for: AI coding agents needing codebase understanding; Developers building code-aware AI assistants; Teams implementing MCP-based tool integration
5. 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
6. 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
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. AI Filesystem
Local semantic search. Stupidly simple.
What sets it apart: vs cloud search tools: operates entirely locally with zero external API calls — semantic search over any local folder with multi-format support, from Open Interpreter team
Best for: Semantic search across local code repositories and documentation; Privacy-preserving document search without cloud dependencies; Mixed format document collections needing intelligent retrieval
FAQ
- What are the best alternatives to claude-context?
- The closest open-source alternatives to claude-context are Graft, code-review-graph and serena, followed by codebase-memory-mcp, SolidGPT and gpt-code-assistant. They are ranked by how closely they match what claude-context does.
- Which claude-context alternative is the most popular?
- codebase-memory-mcp has the most GitHub stars among claude-context alternatives, with 45,551 stars.
- Which claude-context alternative is the most actively maintained?
- By recent activity, codebase-memory-mcp (2,093 commits in the last 90 days) is the most actively developed alternative.