</>MCP Agents Market
MCP Server

claude-context

by zilliztech12.4kTypeScriptUpdated 2026-07-14

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

Claude CodeClaude DesktopCursorWindsurfVS CodeClineRoo CodeVoid

claude-context is an MCP server that provides semantic code search for AI coding assistants, enabling them to efficiently query entire codebases using natural language. Built by Zilliz, it uses vector database technology to index code and retrieve relevant snippets through hybrid search (BM25 + dense embeddings), dramatically reducing context tokens while maintaining high retrieval quality. Instead of loading entire directories for every request, it stores code in a vector database and surfaces only the most relevant chunks, making it cost-effective for large codebases. The server works with Claude Code, Cursor, Windsurf, and other MCP-compatible clients.

Key Features

Semantic code search using natural language queries across millions of lines of code
Hybrid search combining BM25 sparse retrieval with dense vector embeddings for accuracy
Incremental indexing with Merkle trees to re-index only changed files
AST-based intelligent code chunking for better context preservation
Approximately 40% token reduction compared to directory-based context loading
Scalable vector storage via Zilliz Cloud or self-hosted Milvus
Support for multiple embedding providers: OpenAI, VoyageAI, Ollama, and Gemini
Multi-codebase support with per-project indexing and status tracking

Use Cases

  • 01Finding authentication or authorization functions across a large enterprise codebase
  • 02Discovering API endpoints and their implementations without manual browsing
  • 03Locating error handling patterns or specific algorithm implementations
  • 04Understanding how different modules interact across a multi-million line codebase
  • 05Reducing AI assistant costs by loading only relevant code into context
  • 06Enabling AI agents to answer questions about unfamiliar codebases efficiently

Related MCP Servers

View more

claude-context — FAQ

What is claude-context?+

claude-context is an MCP server that adds semantic code search to AI coding assistants, allowing them to query entire codebases using natural language and retrieve only the relevant code snippets.

How do I install claude-context for Claude Code?+

Run 'claude mcp add claude-context' with environment variables for your OpenAI API key, Zilliz Cloud endpoint, and API token, followed by '-- npx @zilliz/claude-context-mcp@latest'. Node.js 20+ is required.

Which AI clients support claude-context?+

It works with Claude Code, Claude Desktop, Cursor, Windsurf, VS Code (via MCP extensions), Cline, Roo Code, Void, Cherry Studio, Augment, Zencoder, and other MCP-compatible clients.

What API keys do I need?+

You need an OpenAI API key (or alternative embedding provider key) and a Zilliz Cloud API token. Zilliz Cloud offers a free tier for the vector database.

Is claude-context free to use?+

The MCP server itself is MIT-licensed and free. You'll pay for your chosen embedding provider (e.g., OpenAI) and vector database (Zilliz Cloud has a free tier).

How do I index my codebase after installation?+

Open your AI client in your project directory and ask it to 'Index this codebase'. You can check progress with 'Check the indexing status' and then search using natural language queries.

How do I install claude-context?+

Open the source repository on GitHub and follow its README. claude-context is a mcp server — MCP Agents Market links you directly to the official repo.

Is claude-context free?+

claude-context is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches