← Back to Leaderboard
Czilliztech

zilliztech/claude-context

Hybrid code search over indexed repositories for MCP coding agents

Engineering Health (Methodology)
A · 84/100
Maintenance Activity
● Updated 10d ago
Latest Release
Rolling commits (main)
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption18/25
Release Cadence11/20
License Clarity20/20
MCPCLI
Total Stars
★ 12,753
24h Growth
+4
7d Growth
+18
Forks
944

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

zilliztech/claude-context Star History (2025-06-21 - 2026-12-04) ALL-TIME STAR HISTORY (2025-06 – 2026-12) +12.8k in 531d · avg +24/day 13.5k 6.7k 0 2025-06-21: ★ 12025-07-26: ★ 2602025-08-30: ★ 3,0292025-10-04: ★ 3,7712025-11-08: ★ 4,2482025-12-13: ★ 4,5692026-01-17: ★ 4,9262026-02-21: ★ 5,2562026-03-28: ★ 5,6492026-05-02: ★ 10,3702026-06-06: ★ 11,5472026-07-11: ★ 11,9552026-08-15: ★ 12,2852026-09-19: ★ 12,4722026-10-24: ★ 12,6132026-12-04: ★ 12,753 ★ 12.8k 2025-06 2026-03 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Claude Context is a TypeScript pnpm monorepo with three main components: @zilliz/claude-context-core, the @zilliz/claude-context-mcp server, and the VS Code Semantic Code Search extension. The core owns the indexing and retrieval pipeline. It selects files, splits them into searchable chunks, generates embeddings through a configured provider, and uses a Milvus-compatible backend to store and query the index.

The core Context API exposes indexCodebase() with a progress callback and semanticSearch() for retrieval. The direct API example returns snippet content, relative paths, line ranges, and scores. The MCP server exposes indexing, hybrid search, status, and clearing to coding agents. The agent receives relevant snippets rather than the entire checkout, while the VS Code extension offers a separate search and navigation interface.

Key Capabilities & Differentiators

The MCP searchcode tool combines BM25 with dense-vector search. Lexical matching is useful when a query contains identifiers or distinctive terms; vector similarity helps when a developer describes behavior without knowing the implementation's vocabulary. The indexer uses Merkle trees to limit re-indexing to changed files. An AST-based splitter with automatic fallback gives the pipeline a syntax-aware option, and a LangChain character-based splitter is also available.

Indexable languages include TypeScript, JavaScript, Python, Java, C++, C#, Go, Rust, PHP, Ruby, Swift, Kotlin, Scala, and Markdown, with configurable extensions and ignore patterns. Embeddings can come from OpenAI, VoyageAI, Ollama, or Gemini; concrete model examples include text-embedding-3-small, text-embedding-3-large, and voyage-code-3. Milvus and Zilliz Cloud are the listed vector backends. A controlled evaluation reports roughly 40% lower token use at equivalent retrieval quality; use evaluation/ to assess whether the comparison applies to your workload rather than treating it as a general savings estimate.

Trade-offs & Limitations

Compared with ripgrep or an IDE's symbol navigation, Claude Context is most useful when the developer knows what the code does but not what it is called. Exact search remains the simpler choice for known symbols, and syntax-aware navigation is the better fit for verifying references. Search hits are ranked snippets, not a call graph. The gain in discovery comes with an initial indexing pass, an embedding service, a maintained vector index, and results that depend on file scope and chunking.

OpenAI embeddings and Zilliz Cloud avoid running those services yourself, but put code text on the remote embedding path and the index on a hosted backend. Ollama and self-hosted Milvus give operators more control over those paths at the cost of running and sizing both services. Neither setup determines where the MCP client sends retrieved snippets. For proprietary repositories, verify exclusion rules before indexing, and plan to validate retrieval quality and rebuild the index when changing embedding models.

Hardware & Deployment Guide

The MCP server requires Node.js 20 or newer, an embedding provider, and a vector database. The Claude Code setup registers npx @zilliz/claude-context-mcp@latest with claude mcp add; the OpenAI and Zilliz Cloud example passes OPENAI_API_KEY, MILVUS_ADDRESS, and MILVUS_TOKEN. For repeatable rollouts, pin a tested package version instead of tracking @latest. The source workspace requires pnpm 10 or newer and includes pnpm build:mcp, pnpm build:core, and pnpm build:vscode.

Ollama and self-hosted Milvus can keep the embedding and index services on infrastructure you control. An offline rollout still needs local access to the npm package and model artifacts, plus a separate check of the MCP client's model traffic. Managed services reduce local compute and storage needs but add network dependencies and credential management. No GitHub release entry is listed, so there is no release-based timeline to use for tracking recent changes.

Package boundaries: TypeScript indexing core, a Node.js MCP server, and a VS Code search extension.
Retrieval: searchcode combines BM25 lexical matching with dense-vector similarity on indexed code.
Index lifecycle: Merkle trees limit re-indexing to changed files; MCP exposes progress and per-codebase clearing.
Chunking: AST-based splitting with automatic fallback, plus a LangChain character-based splitter and configurable file scope.
Infrastructure: OpenAI, VoyageAI, Ollama, or Gemini for embeddings; Milvus or Zilliz Cloud for vector storage.
Integration: CLI registration for Claude Code, TOML for Codex CLI, and JSON configurations for clients including Gemini CLI and Cursor.
Best For

Teams repeatedly navigating large or unfamiliar repositories with an MCP coding agent, especially when they can describe the behavior but don't know the symbol names.

Skip If

Exact search and symbol navigation already cover the job, you cannot operate or approve an embedding service and vector store, or you need exhaustive references rather than ranked snippets.

Reviewed on 2026-12-01 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

MCPCLI
npx @zilliz/claude-context-mcp@latest

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
claude-context ★12.8k+18TypeScriptMITHybrid code search over indexed repositories for MCP coding agents
graphify156.8k+2.4kPythonApache-2.0Local AST graphs for dependency tracing, with CLI and MCP access.
codebase-memory-mcp49.6k+362CMITA local code graph for tracing code, docs, and infrastructure via MCP.
rea488.8k+7.6kTypeScriptMITA local CLI and MCP server for evidence-backed app and binary analysis

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/zilliztech/claude-context.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

zilliztech/claude-context Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about claude-context

How does a coding agent connect to the index, and what is the indexing lifecycle?

Register the Node.js server with your MCP client, configure an embedding provider and a Milvus-compatible backend, then call indexcodebase for the project directory. getindexingstatus reports progress, searchcode queries the index, and clearindex removes the index for that codebase. Applications that do not use MCP can call the TypeScript core directly.

Does the MCP server need a GPU, and how should I size a local deployment?

No GPU is required on the MCP host when embeddings and vector search are handled by remote services. With local Ollama, size CPU, RAM, and any GPU or VRAM for the selected embedding model and concurrent requests. With self-hosted Milvus, also budget memory and disk for the chunk count and vector dimensions. Measure initial indexing and routine updates separately; there is no single hardware minimum for all configurations.

Can we self-host it for commercial use with proprietary code?

The repository is MIT-licensed, so commercial use and modification are permitted; retain the required copyright and license notices when redistributing it. Embedding models, dependencies, and hosted services have their own terms. For sensitive code, review which files are indexed, where text is embedded, where the index is stored, and where retrieved snippets go after the MCP client receives them.

When is this preferable to ripgrep or an IDE's Find References?

Use rg or an IDE's symbol navigation when you know the exact identifier or need references tied to a specific symbol. Use Claude Context when you can describe behavior but do not know how it is named in the repository. Hybrid search can surface relevant snippets, but a ranked match is not proof of a call relationship or a complete list of references.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining zilliztech/claude-context? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature zilliztech/claude-context on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare