Code Index
io.github.achreftlili/code-index
About Code Index
Code Index is an MCP server published by the GitHub account achreftlili. SQLite-backed hybrid (vector + FTS) code search index for Claude Code over MCP.
It runs on your own machine: your AI client starts it from the PyPI package mcp-code-index at version 1.0.6.
It asks for no keys or passwords.
Version 1.0.6 was published on 14 May 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 0 warn, 0 fail, 2 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
CODE_INDEX_EMBEDDER | No | No | 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 | No | No | 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 | No | No | Embedding dimension. Defaults to 768 (matches jina-embeddings-v2-base-code). Must match the model's output dim. |
CODE_INDEX_DB | No | No | Path to the SQLite index database. Defaults to .claude/index.db relative to the working directory. |
CODE_INDEX_EMBED_BATCH | No | No | 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 | No | No | Torch device override: 'cpu', 'mps', or 'cuda'. Unset = auto-detect. Set 'cpu' to avoid Apple-Silicon MPS out-of-memory errors. |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/achreftlili/code-index |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Info | Asks for no secrets |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account achreftlili |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | mcp-code-index 1.0.6 has no setup.py; nothing runs at install |
| Code red flags | Pass | Read 70 files in mcp-code-index 1.0.6: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 70 files, including comments and the README |
Popularity & health: 44 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
0 forks, 0 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.achreftlili/code-index |
|---|---|
| Publisher | GitHub account achreftlili |
| How the name is verified | Name verified via GitHub account achreftlili. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | pypi mcp-code-index 1.0.6 (stdio) |
| Version | 1.0.6 |
| Published | |
| Last updated | |
| Source repository | https://github.com/achreftlili/code-index |
| Website | None linked |
| Category | Databases & data (assigned by keyword rule, not by hand) |
Related servers in Databases & data
- vault-index7/7Local hybrid keyword + vector search (SQLite FTS5 + sqlite-vec)…
- Cortex RMCP6/7Self-hosted homelab log intelligence over MCP, CLI, and REST with…
- sqlite-graph-memory7/7Recall over your markdown notes: vector search plus your…
- Local Memory7/7Persistent local AI memory. SQLite + FTS5 + vector search,…
- MCP DB Connect7/7MCP server for Oracle, MSSQL, PostgreSQL, MySQL, SQLite, MongoDB,…
- Memory Kernel7/7Local-first memory for AI agents: SQLite FTS5, deterministic…