Code Index runs on your own machine — the client starts it, so there is no endpoint to ping. 213 installs a week from pypi. Last commit 14 May 2026.
SQLite-backed hybrid (vector + FTS) code search index for Claude Code over MCP.
We read the source, 4 h ago · rules 3dff92dd89df
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
proc = subprocess.run(
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add code-index -- uvx mcp-code-index
{
"mcpServers": {
"code-index": {
"args": [
"mcp-code-index"
],
"command": "uvx"
}
}
}
[mcp_servers.code-index]
command = "uvx"
args = ["mcp-code-index"]
{
"mcpServers": {
"code-index": {
"args": [
"mcp-code-index"
],
"command": "uvx"
}
}
}
{
"mcpServers": {
"code-index": {
"args": [
"mcp-code-index"
],
"command": "uvx"
}
}
}
This one needs environment variables set before it will start:
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.).
The author declared them in the registry entry; get the values from the project itself.
Local code search for AI coding agents: hybrid search and SQL aggregation over an in-repo index.
Build searchable AI research knowledge bases with hybrid vector search directly in Claude Desktop.
Persistent memory + FTS5 search MCP server for Claude Code conversation history.
MCP server for AiList — search and discover Ai projects from Claude Code
Persistent memory for Claude Code — offline, single-file, hybrid search.
Long-term memory for Claude Code with SQLite FTS5 search and BM25 ranking
Assembly-accelerated DuckDB MCP server for code search, indexing, and symbol lookup.
Zendesk MCP server for Claude Code and other MCP clients
Answers built from our own checks of this server.