zilliztech/claude-context

Code search MCP for Claude Code. Make entire codebase the context for any coding agent.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 57 minutes ago
Added to GitGenius on May 18th, 2026
Created on June 6th, 2025
Open Issues & Pull Requests: 141 (+0)
Number of forks: 914
Total Stargazers: 12,425 (+1)
Total Subscribers: 57 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 22.9 hours
Mean response time: 21.6 days
90th percentile: 79.2 days
Tracked items: 111

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 73% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 8% of issues opened in the past year have been closed. Three people close 65% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 79
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 176 days
Stale 30+ days: 73
Stale 90+ days: 63

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Claude Context is an MCP (Model Context Protocol) plugin developed by Zilliz that enables semantic code search capabilities for Claude Code and other AI coding agents. The tool addresses a fundamental challenge in AI-assisted development: providing language models with relevant context from large codebases without incurring prohibitive token costs. By leveraging vector database technology and semantic search, Claude Context allows developers to make their entire codebase available as context for coding tasks without needing to load entire directories into each request.

The repository is written in TypeScript and serves as both a practical tool and a reference implementation for integrating semantic search into AI coding workflows.

The core functionality centers on three main capabilities. The index_codebase tool processes a codebase directory for hybrid search combining BM25 keyword matching with dense vector embeddings. The search_code tool enables natural language queries against the indexed codebase using the same hybrid search approach. The get_indexing_status tool provides visibility into indexing progress, while clear_index allows users to reset indices as needed. The system requires a vector database backend, with Zilliz Cloud offered as the primary option, and supports multiple embedding model providers including OpenAI and VoyageAI.

Claude Context distinguishes itself through broad integration support across numerous AI coding environments. The documentation details configuration procedures for Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Cline, Augment Code, Roo Code, Cherry Studio, Void, and several other platforms. This extensive compatibility reflects the project's goal of becoming a standard tool across the AI coding ecosystem. The configuration approach varies by platform, with some supporting direct JSON configuration while others provide graphical interfaces for MCP server setup.

The project includes evaluation data demonstrating approximately 40 percent token reduction while maintaining equivalent retrieval quality. This efficiency gain translates directly to reduced API costs and faster response times in production environments. The evaluation methodology and detailed results are documented in the repository's evaluation directory, providing transparency about performance claims.

The architecture employs a hybrid search strategy combining traditional keyword-based retrieval with semantic vector search, allowing the system to capture both exact matches and conceptually related code. File inclusion and exclusion rules are configurable, enabling users to customize which files get indexed based on their project structure. The system requires Node.js version 20.0.0 or higher and integrates with external services including OpenAI for embeddings and Zilliz Cloud for vector storage.

The repository also references a companion project called memsearch, which extends Claude Code with persistent memory capabilities across sessions, suggesting an ecosystem approach to enhancing AI agent capabilities. The project's classification across multiple domains including context management, prompt engineering, token optimization, and semantic search reflects its multifaceted role in modern AI-assisted development workflows.