Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Code Indexer MCP

MCP server by zilliztech Verified · npm:@code-indexer

Claude Context adds semantic code search to Claude Code and other AI coding agents. It indexes a codebase into a vector database so the assistant can pull in only the related code.

  • Score 91
  • 13k stars
  • 17 a week
  • MIT
  • Updated

Install Code Indexer MCP

Built from the published package, never by AI.

claude mcp add code-indexer-mcp -- npx -y @code-indexer/mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Code Indexer MCP in Claude Code

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-indexer-mcp block.

About

Claude Context is an MCP plugin that adds semantic code search to Claude Code and other AI coding agents. It finds relevant code across large codebases without multi-round discovery, and it passes the results straight into the assistant's context. The project is published by zilliztech as the npm package @zilliz/claude-context-mcp.

The codebase is stored in a vector database, which the setup shows as Zilliz Cloud, and only related code is loaded for each request. The source says this keeps costs lower than loading whole directories for every request. Setup needs Node.js 20 or later, an OpenAI API key for the embedding model, and a Zilliz Cloud key. It suits developers working on large projects who use MCP-compatible clients such as Claude Code, Cursor or Cline.

Written from the project's README and checked against it.

What you need

  • Node.js 20.0.0 or later
  • OpenAI API key for the embedding model
  • Zilliz Cloud account and API key for the vector database

Try asking

  • Index this codebase
  • Check the indexing status
  • Find functions that handle user authentication

Good to know

  • Requires a vector database, set up in the source with Zilliz Cloud

Security check

A

No 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 an AI assistant
  • Giving Claude Code context from a whole repository
  • Keeping context costs lower on big projects

Alternatives to Code Indexer MCP

All alternatives →
Supabase supabase
97

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.

AAA Local and remote 172k/wk
ArcadeDB MCP Server ArcadeData
94

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.

AAA Local 1.3k
DBHubbytebase
94

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.

AAA Local 343k/wk
MCP Toolbox for Databasesgoogleapis
94

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.

AAA Local 17k
MCP Toolbox for Databasesgoogleapis
94

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.

AAA Local 17k
mongodb-mcp-servermongodb-js
94

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.

AAA Local 203k/wk

Compare with Supabase, ArcadeDB MCP Server or DBHub

Code Indexer MCP: common questions

Does Claude Context work with Claude Code?

Yes. The README gives a command to add the server to Claude Code and shows indexing and search steps inside Claude Code.

Which vector database does Claude Context use?

The source says it needs a vector database and sets up Zilliz Cloud through the MILVUS_ADDRESS and MILVUS_TOKEN settings.

Can I use a different embedding model?

The README says custom embedding models can be configured, for example text-embedding-3-large for OpenAI or voyage-code-3 for VoyageAI.

How do I install Code Indexer MCP?

In Claude Code run claude mcp add code-indexer-mcp -- npx -y @code-indexer/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Code Indexer MCP the official server?

Code Indexer MCP is published by npm:@code-indexer from its verified domain in the official MCP Registry.

Is Code Indexer MCP free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Code Indexer 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 Indexer MCP?

Similar MCP servers: Supabase, ArcadeDB MCP Server, DBHub, MCP Toolbox for Databases.

Does Code Indexer 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.

Code Indexer MCP Install

Add to stack

Loading.