MCP低风险未认领

Code Index

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

achreftliliachreftlili/code-index★ 1更新于 2026年5月14日

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"
        }
      ]
    }
  ]
}

权限

声明检测
运行代码—python
安装—pypi:mcp-code-index@1.0.6
安装时运行脚本—无
网络无无
需要的凭据无无
工作区外的路径—无
智能体工具—无

检查

低风险 · 没有发现需要提醒的地方。

未经人工审核 · 已做规则检查;模型审核尚未开启。

版本

  1. #11.0.6最新2026年10月7日