Claude Context
by zilliztech
A Model Context Protocol (MCP) server that indexes your entire codebase into a vector database, then feeds your coding agent only the relevant code per query using hybrid BM25 plus dense retrieval — so Claude Code stops re-reading the whole repo and burning tokens.
developmentsemantic code search MCPModel Context Protocol code searchclaude-contextcodebase vector searchMCP server coding agent
Installation
npx @zilliz/claude-context-mcp
Key Features
- ✓Semantic code search over millions of lines via a vector database backend (Zilliz Cloud / Milvus)
- ✓Hybrid retrieval combining BM25 keyword matching with dense vector embeddings for accuracy
- ✓Indexes the codebase once, then returns only relevant snippets per query — no multi-round discovery
- ✓Works with Claude Code and any MCP-compatible coding agent
- ✓Available as an MCP server, a VS Code extension, and a core npm library
- ✓Incremental re-indexing so large repos stay current without full rebuilds
Use Cases
- →Cut token spend on large monorepos by feeding the agent only relevant code instead of whole directories
- →Give Claude Code accurate context in repos too big to fit in a context window
- →Find the right function or module across millions of lines without manual file hunting
- →Speed up agentic refactors that span many files by retrieving related code in one shot