Code Index MCP Server

Code-Index-MCP is a fast, **local-first** search index for your code. It plugs into Claude Code and other AI assistants (through the Model Context

Local serverstdioPython

What is the Code Index MCP MCP server?

Code Index MCP becomes available to MCP clients through the code index mcp mcp server. Code-Index-MCP is a fast, local-first search index for your code. It plugs into Claude Code and other AI assistants (through the Model Context Protocol, "MCP") and lets them look up any symbol or search any text in your repository almost instantly — without your code ever leaving your machine.

What Code Index MCP does

Code-Index-MCP is a fast, local-first search index for your code. It plugs into Claude Code and other AI assistants (through the Model Context Protocol, "MCP") and lets them look up any symbol or search any text in your repository almost instantly — without your code ever leaving your machine.

Tools it exposes

Once connected, the assistant can call these 2 tools directly:

  • Prerequisites — The Prerequisites tool exposed by this server
  • Installation — The Installation tool exposed by this server

Installing the code index mcp mcp server

The server is distributed via PyPI as target., so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

Before the server will start you need to supply 6 environment variables: VOYAGE_API_KEY, MCP_ALLOWED_ROOTS, VLLM_EMBEDDING_BASE_URL, MCP_CLIENT_SECRET, MCP_PROFILES_PATH, VLLM_SUMMARIZATION_BASE_URL. Keep credentials in your client's env block or a secrets manager rather than committing them.

Requirements

  • Python 3.12+ - Git

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Code Index MCP sits in that group, and the shape of its toolset — Prerequisites, Installation — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • Maintained by ViperJuice, written in Python.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the code index mcp mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
PrerequisitesThe Prerequisites tool exposed by this server.
InstallationThe Installation tool exposed by this server.

How to install the Code Index MCP MCP server

#### Docker (Windows/Mac/Linux)
```json
{
  "mcpServers": {
    "code-index-docker": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-v", "${workspace}:/workspace",
        "ghcr.io/consiliency/code-index-mcp:v1.4.0"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Python 3.12+ - Git
VariableDescriptionRequired
VOYAGE_API_KEYCredential the server authenticates with.Yes
MCP_ALLOWED_ROOTSConfiguration value read at startup.Optional
VLLM_EMBEDDING_BASE_URLEndpoint or connection string the server talks to.Yes
MCP_CLIENT_SECRETCredential the server authenticates with.Yes
MCP_PROFILES_PATHFilesystem location the server is allowed to use.Optional
VLLM_SUMMARIZATION_BASE_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Code Index MCP to Prerequisites.
  • Use Code Index MCP to Installation.

Frequently asked questions

It connects Code Index MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (Prerequisites, Installation) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Code Index MCP directly.