Code Context MCP
MCP server by zilliztech Verified · npm:@zilliz
Claude Context is an MCP server that adds semantic code search to Claude Code and other AI coding agents. It is for developers who want their assistant to draw on large codebases.
Install Code Context MCP
Built from the published package, never by AI.
claude mcp add code-context-mcp -- npx -y @zilliz/code-context-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"code-context-mcp": {
"args": [
"-y",
"@zilliz/code-context-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"code-context-mcp": {
"args": [
"-y",
"@zilliz/code-context-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"code-context-mcp": {
"args": [
"-y",
"@zilliz/code-context-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add code-context-mcp -- npx -y @zilliz/code-context-mcp{
"mcpServers": {
"code-context-mcp": {
"args": [
"-y",
"@zilliz/code-context-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add code-context-mcp npx -y @zilliz/code-context-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the code-context-mcp block.
About
Claude Context is an MCP server that adds semantic code search to Claude Code and other AI coding agents. It indexes a codebase into a vector database and returns only the related code to the assistant. The README says this avoids loading entire directories into every request, which can be very expensive for large projects.
The server uses stdio transport and runs with npx @zilliz/claude-context-mcp@latest. Setup needs an OpenAI API key for embeddings and a Zilliz Cloud vector database endpoint and API key. The README gives configuration steps for Claude Code, Codex CLI, Gemini CLI, Cursor, Claude Desktop, Cline and several other clients. It is aimed at developers who work on large codebases with AI coding assistants.
Written from the project's README and checked against it.
What you need
- OpenAI API key for the embedding model
- Zilliz Cloud account and API key for the vector database
- Node.js 20.0.0 or later
Try asking
- Index this codebase
- Check the indexing status
- Find functions that handle user authentication
Good to know
- Needs an external vector database and an embedding provider API key to run
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Searching large codebases with Claude Code
- Giving AI coding agents codebase context
- Reducing context costs for big projects
Alternatives to Code Context MCP
All alternatives →Connects Supabase projects to AI assistants such as Cursor, Claude and Windsurf over the Model Context Protocol. It lets assistants manage tables, fetch config and query data in a Supabase project.
ArcadeDB MCP Server is the built-in Model Context Protocol server of the ArcadeDB multi-model database. It lets AI assistants and LLMs work with ArcadeDB's graph, document, time-series, vector and other data models. It suits people who already run ArcadeDB and want assistant access to it.
Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.
MCP Toolbox for Databases is an open source MCP server that connects AI agents, IDEs and applications to enterprise databases. It provides prebuilt tools for exploring schemas and running queries, plus a framework for custom tools. It is aimed at developers building agents that need database access.
Connects AI agents, IDEs and applications to enterprise databases through the Model Context Protocol. Offers prebuilt database tools for MCP clients and a framework for building custom tools for production agents.
MongoDB MCP Server lets AI assistants interact with MongoDB databases and MongoDB Atlas. It is an official server from mongodb-js, run locally with npx or Docker. It works with self-managed deployments and Atlas clusters.
Compare with Supabase, ArcadeDB MCP Server or DBHub
Code Context MCP: common questions
What does Claude Context need to run?
The source says it needs a vector database, which is Zilliz Cloud in the README, and an OpenAI API key for the embedding model. It also requires Node.js 20.0.0 or later.
Which AI assistants does Claude Context work with?
The README gives setup steps for Claude Code, OpenAI Codex CLI, Gemini CLI, Qwen Code, Cursor, Void, Claude Desktop, Windsurf, VS Code, Cherry Studio, Cline, Augment, Roo Code and Zencoder. It also says any MCP-compatible client can run the server.
Can I use embedding models other than OpenAI?
The source says custom embedding models can be configured, for example text-embedding-3-large for OpenAI or voyage-code-3 for VoyageAI. It points to the MCP configuration examples for setup details.
How do I install Code Context MCP?
In Claude Code run claude mcp add code-context-mcp -- npx -y @zilliz/code-context-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Code Context MCP the official server?
Code Context MCP is published by npm:@zilliz from its verified domain in the official MCP Registry.
Is Code Context MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Code Context MCP safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Code Context MCP?
Similar MCP servers: Supabase, ArcadeDB MCP Server, DBHub, MCP Toolbox for Databases.
Does Code Context MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
