Claude Context
Claude Context is an MCP plugin that adds semantic code search to Claude Code and other AI coding agents, giving them deep context from your entire codebase.
What is Claude Context?
Claude Context is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to claude context is an mcp plugin that adds semantic code search to claude code and other ai coding agents, giving them deep context from your entire codebase.
Claude Context is an MCP plugin that adds semantic code search to Claude Code and other AI coding agents, giving them deep context from your entire codebase.
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Claude Context is an MCP plugin that adds semantic code sear
Use Cases
Maintainer
Works with
Installation
NPM
npx -y @zilliz/claude-context-mcpManual Installation
npx -y @zilliz/claude-context-mcpConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Claude Context
Claude Context is an MCP plugin that brings semantic code search to Claude Code and other AI coding agents by indexing your entire codebase into a Zilliz Cloud vector database. It uses a hybrid BM25 plus dense-vector approach powered by OpenAI embeddings so queries return the most relevant code snippets regardless of exact keyword matches. Developers use it to give AI assistants deep, project-wide context when answering questions, refactoring code, or generating new features across large repositories.
Prerequisites
- Node.js 20.0.0 or higher installed
- A free Zilliz Cloud account with a cluster public endpoint and API key (MILVUS_ADDRESS and MILVUS_TOKEN)
- An OpenAI API key (OPENAI_API_KEY) for generating embeddings
- Claude Code, Cursor, VS Code, or another MCP-compatible client
Create a Zilliz Cloud cluster
Sign up at cloud.zilliz.com and create a free Serverless cluster. Copy the Public Endpoint (your MILVUS_ADDRESS) and generate an API key (your MILVUS_TOKEN) from the cluster detail page.
Obtain an OpenAI API key
Log in to platform.openai.com, navigate to API Keys, and create a new secret key. This key is used to generate vector embeddings for semantic code search.
Add the MCP server to Claude Code
Run the following command to register claude-context as an MCP server with your credentials. Replace the placeholder values with your actual keys.
claude mcp add claude-context \
-e OPENAI_API_KEY=sk-your-openai-api-key \
-e MILVUS_ADDRESS=your-zilliz-cloud-public-endpoint \
-e MILVUS_TOKEN=your-zilliz-cloud-api-key \
-- npx @zilliz/claude-context-mcp@latestConfigure other MCP clients (optional)
For Claude Desktop, Cursor, Windsurf, or VS Code, add the server block to your MCP config file (e.g., claude_desktop_config.json or .cursor/mcp.json).
{
"mcpServers": {
"claude-context": {
"command": "npx",
"args": ["-y", "@zilliz/claude-context-mcp@latest"],
"env": {
"OPENAI_API_KEY": "sk-your-openai-api-key",
"MILVUS_ADDRESS": "your-zilliz-cloud-public-endpoint",
"MILVUS_TOKEN": "your-zilliz-cloud-api-key"
}
}
}
}Index your codebase
Open your AI assistant and ask it to index the codebase. The server will crawl the project directory and build a hybrid search index in Zilliz Cloud. Large repos may take a few minutes.
Search and query your code
Once indexing is complete, ask natural-language questions about your codebase. The server exposes search_code to retrieve relevant snippets, get_indexing_status to monitor progress, and clear_index to remove an existing index.
Claude Context Examples
Client configuration
Claude Desktop or Cursor config block for claude-context using the npm package.
{
"mcpServers": {
"claude-context": {
"command": "npx",
"args": ["-y", "@zilliz/claude-context-mcp@latest"],
"env": {
"OPENAI_API_KEY": "sk-your-openai-api-key",
"MILVUS_ADDRESS": "https://in01-abc123.api.gcp-us-west1.zillizcloud.com",
"MILVUS_TOKEN": "your-zilliz-api-key"
}
}
}
}Prompts to try
After indexing, use these prompts in your AI client to leverage semantic code search across your codebase.
- "Index this codebase"
- "Check the indexing status"
- "Find functions that handle user authentication"
- "Show me all places where database connections are opened"
- "Which files implement the payment processing logic?"Troubleshooting Claude Context
Indexing appears to hang or never completes
Ask 'Check the indexing status' — the get_indexing_status tool reports progress. Very large codebases (10k+ files) take longer; ensure MILVUS_ADDRESS is correct and the Zilliz cluster is in Active state.
OPENAI_API_KEY or MILVUS_TOKEN not recognized
Verify env vars are set in the MCP config and not in a .env file the process cannot read. For Claude Code, re-run the 'claude mcp add' command with the corrected key values.
npx command not found or wrong Node version
Ensure Node.js 20+ is active (node --version). Use nvm or fnm to switch versions if needed, then retry the install command.
Frequently Asked Questions about Claude Context
What is Claude Context?
Claude Context is a Model Context Protocol (MCP) server that claude context is an mcp plugin that adds semantic code search to claude code and other ai coding agents, giving them deep context from your entire codebase. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Claude Context?
Install via npm with the command: npx -y @zilliz/claude-context-mcp. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).
Which AI clients work with Claude Context?
Claude Context works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Claude Context free to use?
Yes, Claude Context is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
Claude Context Alternatives — Similar Developer Tools Servers
Looking for alternatives to Claude Context? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Claude Context in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Claude Context?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.