Serversio.github.achreftlili/code-index
I

Code Index

io.github.achreftlili/code-index · v0.4.0
▦ pypi
v0.4.0pypi pypi: mcp-code-index↗ Repository
{}server.json

The full server descriptor as registered with IndusMCP.

{
  "$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": "0.4.0",
  "packages": [
    {
      "registryType": "pypi",
      "identifier": "mcp-code-index",
      "version": "0.4.0",
      "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"
        }
      ]
    }
  ],
  "_meta": {
    "dev.indusmcp/source": "official-registry-mirror",
    "dev.indusmcp/synced": "2026-05-12"
  }
}