MCPLow riskUnclaimed

Code Index

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

achreftliliachreftlili/code-index★ 1Updated May 14, 2026

server.json

{
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "name": "io.github.achreftlili/code-index",
  "description": "SQLite-backed hybrid (vector + FTS) code search index for Claude Code over MCP.",
  "title": "Code Index",
  "repository": {
    "url": "https://github.com/achreftlili/code-index",
    "source": "github"
  },
  "version": "1.0.6",
  "packages": [
    {
      "registryType": "pypi",
      "identifier": "mcp-code-index",
      "version": "1.0.6",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Embedder backend. Only 'jina' (local jina-embeddings-v2-base-code via sentence-transformers) is supported; the variable exists for future expansion.",
          "format": "string",
          "name": "CODE_INDEX_EMBEDDER"
        },
        {
          "description": "HuggingFace model id. Defaults to 'jinaai/jina-embeddings-v2-base-code'. Override only if you know the model is dim-compatible.",
          "format": "string",
          "name": "CODE_INDEX_EMBED_MODEL"
        },
        {
          "description": "Embedding dimension. Defaults to 768 (matches jina-embeddings-v2-base-code). Must match the model's output dim.",
          "format": "string",
          "name": "CODE_INDEX_EMBED_DIM"
        },
        {
          "description": "Path to the SQLite index database. Defaults to .claude/index.db relative to the working directory.",
          "format": "string",
          "name": "CODE_INDEX_DB"
        },
        {
          "description": "Encode batch size (default 32). Lower (e.g. 8 or 4) to reduce peak memory if the GPU OOMs on large files.",
          "format": "string",
          "name": "CODE_INDEX_EMBED_BATCH"
        },
        {
          "description": "Torch device override: 'cpu', 'mps', or 'cuda'. Unset = auto-detect. Set 'cpu' to avoid Apple-Silicon MPS out-of-memory errors.",
          "format": "string",
          "name": "CODE_INDEX_EMBED_DEVICE"
        }
      ]
    }
  ]
}

Permissions

DeclaredDetected
Runs code—python
Installs—pypi:mcp-code-index@1.0.6
Runs install scripts—None
NetworkNoneNone
Needs credentialsNoneNone
Outside the workspace—None
Agent tools—None

Checks

Low risk · Nothing worth a warning was found.

Not reviewed by a person · Checked by rules; the model review is not switched on yet.

Versions

  1. #11.0.6latestOct 7, 2026