Code Index MCP Server

SQLite-backed hybrid (vector + FTS) code search index for Claude Code over MCP.

Local serverstdio

What is the Code Index MCP Server?

Code Index is an MCP integration. SQLite-backed hybrid (vector + FTS) code search index for Claude Code over MCP.

Packages and local setup

The published pypi package is mcp-code-index, version 1.0.6. Its declared MCP transport is stdio.

The package declares CODE_INDEX_EMBEDDER: Embedder backend. Only 'jina' (local jina-embeddings-v2-base-code via sentence-transformers) is supported; the variable exists for future expansion.; CODE_INDEX_EMBED_MODEL: HuggingFace model id. Defaults to 'jinaai/jina-embeddings-v2-base-code'. Override only if you know the model is dim-compatible.; CODE_INDEX_EMBED_DIM: Embedding dimension. Defaults to 768 (matches jina-embeddings-v2-base-code). Must match the model's output dim.; CODE_INDEX_DB: Path to the SQLite index database. Defaults to .claude/index.db relative to the working directory.; CODE_INDEX_EMBED_BATCH: Encode batch size (default 32). Lower (e.g. 8 or 4) to reduce peak memory if the GPU OOMs on large files.; CODE_INDEX_EMBED_DEVICE: Torch device override: 'cpu', 'mps', or 'cuda'. Unset = auto-detect. Set 'cpu' to avoid Apple-Silicon MPS out-of-memory errors..

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository. This profile uses version 1.0.6 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related databases MCP servers for tools that cover the same kind of work.

Configuration

VariableDescriptionRequired
CODE_INDEX_EMBEDDEREmbedder backend. Only 'jina' (local jina-embeddings-v2-base-code via sentence-transformers) is supported; the variable exists for future expansion.Optional
CODE_INDEX_EMBED_MODELHuggingFace model id. Defaults to 'jinaai/jina-embeddings-v2-base-code'. Override only if you know the model is dim-compatible.Optional
CODE_INDEX_EMBED_DIMEmbedding dimension. Defaults to 768 (matches jina-embeddings-v2-base-code). Must match the model's output dim.Optional
CODE_INDEX_DBPath to the SQLite index database. Defaults to .claude/index.db relative to the working directory.Optional
CODE_INDEX_EMBED_BATCHEncode batch size (default 32). Lower (e.g. 8 or 4) to reduce peak memory if the GPU OOMs on large files.Optional
CODE_INDEX_EMBED_DEVICETorch device override: 'cpu', 'mps', or 'cuda'. Unset = auto-detect. Set 'cpu' to avoid Apple-Silicon MPS out-of-memory errors.Optional