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

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

Checks

CheckResultDetail
Source repository linkedPasshttps://github.com/achreftlili/code-index
Version pinnedPassEvery package has an explicit version
Secrets requestedInfoAsks for no secrets
Known package registryPassAll packages come from npm, PyPI, OCI, NuGet or MCPB
Namespace ownershipInfoName verified via GitHub account achreftlili
Registry text aimed at the AIPassDescription and settings contain no hidden characters or instructions to the AI
Install scriptsPassmcp-code-index 1.0.6 has no setup.py; nothing runs at install
Code red flagsPassRead 70 files in mcp-code-index 1.0.6: no obfuscation, encoded execution, credential reads or data-collection endpoints found
Text aimed at the AIPassNo 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.

Popularity8 / 40

1 GitHub stars, 75 downloads last week, no Hacker News posts found. Best two of the three, each on a log scale.

Activity8 / 25

Last push 2026-05-14, no GitHub release, 0 commits in 90 days.

Issue health8 / 15

0 closed of 3 issues, too few to judge. No data, so half marks.

Our checks20 / 20

0 warnings, each costing a fifth.

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 nameio.github.achreftlili/code-index
PublisherGitHub account achreftlili
How the name is verifiedName verified via GitHub account achreftlili. The registry ties the name prefix to that account or domain; it does not check the code.
TypeLocal: runs on your machine from a package
Packagespypi mcp-code-index 1.0.6 (stdio)
Version1.0.6
Published
Last updated
Source repositoryhttps://github.com/achreftlili/code-index
WebsiteNone linked
CategoryDatabases & data (assigned by keyword rule, not by hand)

Related servers in Databases & data