{
  "slug": "io-github-achreftlili-code-index",
  "name": "io.github.achreftlili/code-index",
  "title": "Code Index",
  "description": "SQLite-backed hybrid (vector + FTS) code search index for Claude Code over MCP.",
  "version": "1.0.6",
  "publishedAt": "2026-05-14T21:04:32.716695Z",
  "updatedAt": "2026-05-14T21:04:32.716695Z",
  "repoUrl": "https://github.com/achreftlili/code-index",
  "websiteUrl": null,
  "namespace": {
    "type": "github",
    "owner": "achreftlili"
  },
  "kind": "local",
  "packages": [
    {
      "registryType": "pypi",
      "identifier": "mcp-code-index",
      "version": "1.0.6",
      "transport": "stdio",
      "runtimeHint": null
    }
  ],
  "remotes": [],
  "envVars": [
    {
      "name": "CODE_INDEX_EMBEDDER",
      "isSecret": false,
      "isRequired": false,
      "description": "Embedder backend. Only 'jina' (local jina-embeddings-v2-base-code via sentence-transformers) is supported; the variable exists for future expansion."
    },
    {
      "name": "CODE_INDEX_EMBED_MODEL",
      "isSecret": false,
      "isRequired": false,
      "description": "HuggingFace model id. Defaults to 'jinaai/jina-embeddings-v2-base-code'. Override only if you know the model is dim-compatible."
    },
    {
      "name": "CODE_INDEX_EMBED_DIM",
      "isSecret": false,
      "isRequired": false,
      "description": "Embedding dimension. Defaults to 768 (matches jina-embeddings-v2-base-code). Must match the model's output dim."
    },
    {
      "name": "CODE_INDEX_DB",
      "isSecret": false,
      "isRequired": false,
      "description": "Path to the SQLite index database. Defaults to .claude/index.db relative to the working directory."
    },
    {
      "name": "CODE_INDEX_EMBED_BATCH",
      "isSecret": false,
      "isRequired": false,
      "description": "Encode batch size (default 32). Lower (e.g. 8 or 4) to reduce peak memory if the GPU OOMs on large files."
    },
    {
      "name": "CODE_INDEX_EMBED_DEVICE",
      "isSecret": false,
      "isRequired": false,
      "description": "Torch device override: 'cpu', 'mps', or 'cuda'. Unset = auto-detect. Set 'cpu' to avoid Apple-Silicon MPS out-of-memory errors."
    }
  ],
  "category": "databases",
  "subcategory": "vector",
  "company": "",
  "categoryAuto": true,
  "checks": [
    {
      "id": "source-linked",
      "label": "Source repository linked",
      "result": "pass",
      "detail": "https://github.com/achreftlili/code-index"
    },
    {
      "id": "version-pinned",
      "label": "Version pinned",
      "result": "pass",
      "detail": "Every package has an explicit version"
    },
    {
      "id": "secrets-requested",
      "label": "Secrets requested",
      "result": "info",
      "detail": "Asks for no secrets"
    },
    {
      "id": "known-registry",
      "label": "Known package registry",
      "result": "pass",
      "detail": "All packages come from npm, PyPI, OCI, NuGet or MCPB"
    },
    {
      "id": "namespace",
      "label": "Namespace ownership",
      "result": "info",
      "detail": "Name verified via GitHub account achreftlili"
    },
    {
      "id": "meta-text",
      "label": "Registry text aimed at the AI",
      "result": "pass",
      "detail": "Description and settings contain no hidden characters or instructions to the AI"
    },
    {
      "id": "install-scripts",
      "label": "Install scripts",
      "result": "pass",
      "detail": "mcp-code-index 1.0.6 has no setup.py; nothing runs at install"
    },
    {
      "id": "code-flags",
      "label": "Code red flags",
      "result": "pass",
      "detail": "Read 70 files in mcp-code-index 1.0.6: no obfuscation, encoded execution, credential reads or data-collection endpoints found"
    },
    {
      "id": "ai-text",
      "label": "Text aimed at the AI",
      "result": "pass",
      "detail": "No hidden characters or instructions to the AI in 70 files, including comments and the README"
    }
  ],
  "scannedAt": "2026-10-29",
  "level": "Scanned",
  "install": [
    {
      "label": "Claude Desktop (pypi)",
      "kind": "claude_desktop_json",
      "text": "{\n  \"mcpServers\": {\n    \"code-index\": {\n      \"command\": \"uvx\",\n      \"args\": [\n        \"mcp-code-index==1.0.6\"\n      ]\n    }\n  }\n}"
    }
  ],
  "curated": true,
  "stars": 1,
  "archived": false,
  "pushedAt": "2026-05-14T20:11:42Z",
  "health": {
    "score": 44,
    "parts": {
      "popularity": 0.21239562471192472,
      "activity": 0.33,
      "issues": null,
      "security": 1
    },
    "fail": 0,
    "warn": 0,
    "raw": {
      "stars": 1,
      "forks": 0,
      "downloads": 75,
      "hn": null,
      "issuesOpen": 3,
      "issuesClosed": 0,
      "prsMerged": 0,
      "commits90": 0,
      "release": null,
      "pushed": "2026-05-14T20:11:42Z",
      "growth": null,
      "growthDays": null,
      "archived": false
    },
    "at": "2026-10-31T07:42:38.200Z"
  }
}
