claude-context-enhanced
Enhanced fork of claude-context with stability fixes, improved sync, and better reliability for semantic code search
claude mcp add --transport stdio gitabozaid-claude-context-enhanced npx -y claude-context-enhanced@latest \ --env MILVUS_TOKEN="your-zilliz-cloud-api-key" \ --env OPENAI_API_KEY="your-openai-api-key"
How to use
Claude Context Enhanced is a stability-focused MCP plugin that adds semantic code search capabilities to Claude Code and compatible agents. It provides a hybrid search experience combining BM25 and dense vector search, incremental indexing, and automatic Milvus flush to ensure up-to-date results. The available tools allow you to index a codebase, search indexed code, clear an index, and check indexing status, enabling fast, scalable semantic search across large repositories. To use it, configure your MCP environment with the required API keys, then add the MCP server using the CLI provided in the repository documentation. Once added, you can index your codebase, run semantic searches with natural language prompts, and manage indexing status from your development workflow.
How to install
Prerequisites:
- Node.js 20.x (>= 20.0.0 and < 24.0.0) installed on your machine
- npm or pnpm for package management
Installation steps:
- Install Node.js if not already installed (select an LTS build compatible with this MCP, Node 20.x).
- Open a terminal and ensure Node and npm are available:
- node -v
- npm -v
- Install the MCP package (via npx as described in the configuration) or install locally:
- npm install -g claude-context-enhanced@latest # if you prefer a global install (if supported by the package)
- Prepare your environment variables (OpenAI API key and Milvus token) as described in the configuration:
- OPENAI_API_KEY=sk-...
- MILVUS_TOKEN=your-zilliz-cloud-api-key
- Add the MCP server using the CLI (as shown in the README), for example:
claude mcp add claude-context-enhanced
-e OPENAI_API_KEY=sk-your-openai-api-key
-e MILVUS_TOKEN=your-zilliz-cloud-api-key
-- npx claude-context-enhanced@latest
Additional notes
Tips and notes:
- Ensure Node.js version compatibility (20.x) to avoid runtime issues with claude-context-enhanced.
- Keep your Milvus token secure; do not expose it in source control.
- The MCP server relies on a vector database; configure Zilliz Cloud or your chosen backend as outlined in the documentation.
- If you encounter issues with snapshots or indexing, verify that your environment meets the prerequisites and that the API keys are set correctly.
- The integration supports automated Milvus flush after indexing to improve data availability; monitor health checks via the MCP management tooling.
Related MCP Servers
cclsp
Claude Code LSP: enhance your Claude Code experience with non-IDE dependent LSP integration.
claude-code-open
Open source AI coding platform with Web IDE, multi-agent system, 37+ tools, MCP protocol. MIT licensed.
iron-manus
Iron Manus MCP
ZMCPTools
A custom TypeScript MCP Server intended to be used with Claude Code
docmole
Dig through any documentation with AI - MCP server for Claude, Cursor, and other AI assistants
create -kit
Scaffold a production-ready Model Context Protocol (MCP) server in seconds.