mcpbeat Sign in

Code Index MCP Server

by achreftlili Your server? Claim it
local only

Code Index runs on your own machine — the client starts it, so there is no endpoint to ping. 200 installs a week from pypi. Last commit 14 May 2026.

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

Installs per day peak 102 · avg 38 · +21% w/w
a month agotoday
200
Installs / week
pypi · mcp-code-index
1
Stars
3 open issues
14 May 2026
Last commit
from GitHub
MIT
License
Python

What the code does

We read the source, 6 h ago · rules 995398eba69f

Capabilities

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.

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

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.

Three servers free · no card

Connect this server

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.

run in your terminal
claude mcp add code-index -- uvx mcp-code-index
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "code-index": {
      "command": "uvx",
      "args": [
        "mcp-code-index"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.code-index]
command = "uvx"
args = ["mcp-code-index"]
.cursor/mcp.json
{
  "mcpServers": {
    "code-index": {
      "command": "uvx",
      "args": [
        "mcp-code-index"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "code-index": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-code-index"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: 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).

Alternatives to Code Index

same job, measured the same way
Vault Index
by gitgudatcodeing

Local hybrid keyword + vector search (SQLite FTS5 + sqlite-vec) over markdown vaults and code.

682 installs/wk local only
Code Context
by infino-ai

Local code search for AI coding agents: hybrid keyword + semantic + SQL over an index in your repo.

114 installs/wk local only
CoderSwap MCP Server
by njlnaet

Build searchable AI research knowledge bases with hybrid vector search directly in Claude Desktop.

48 installs/wk local only
Claudex
by kunwar-shah

Persistent memory + FTS5 search MCP server for Claude Code conversation history.

84 installs/wk local only
Ailist MCP
by hifriendbot

MCP server for AiList — search and discover Ai projects from Claude Code

54 installs/wk local only
SynaBun
by danilokhury

Persistent memory MCP server for Claude Code, Codex and OpenCode, stored locally in SQLite

329 installs/wk local only
Melchizedek
by louis49

Persistent memory for Claude Code — offline, single-file, hybrid search.

71 installs/wk local only
Memory Fts
by kurovu146

Long-term memory for Claude Code with SQLite FTS5 search and BM25 ranking

54 installs/wk local only

Code Index — questions

Answers built from our own checks of this server.

Why is there no uptime for Code Index?
Code Index runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package mcp-code-index was installed 200 times last week.
How do I connect Code Index?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls mcp-code-index straight from pypi; nothing to host, nothing to sign up for.
How many people use Code Index?
The pypi package mcp-code-index was installed 200 times in the last week. Week over week that is +21%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Code Index open source?
Yes — it is published under the MIT licence, written in Python, 1 stars on GitHub and 3 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.