PluginBench
MCP Server
Maintained
MIT

Code Index MCP Server

io.github.achreftlili/code-index

What is the Code Index MCP server?

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

How to install Code Index

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • CODE_INDEX_EMBEDDER

    Embedder backend. Only 'jina' (local jina-embeddings-v2-base-code via sentence-transformers) is supported; the variable exists for future expansion.

  • CODE_INDEX_EMBED_MODEL

    HuggingFace model id. Defaults to 'jinaai/jina-embeddings-v2-base-code'. Override only if you know the model is dim-compatible.

  • CODE_INDEX_EMBED_DIM

    Embedding dimension. Defaults to 768 (matches jina-embeddings-v2-base-code). Must match the model's output dim.

  • CODE_INDEX_DB

    Path to the SQLite index database. Defaults to .claude/index.db relative to the working directory.

  • CODE_INDEX_EMBED_BATCH

    Encode batch size (default 32). Lower (e.g. 8 or 4) to reduce peak memory if the GPU OOMs on large files.

  • CODE_INDEX_EMBED_DEVICE

    Torch device override: 'cpu', 'mps', or 'cuda'. Unset = auto-detect. Set 'cpu' to avoid Apple-Silicon MPS out-of-memory errors.

~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "code-index": {
      "command": "uvx",
      "args": [
        "mcp-code-index"
      ],
      "env": {
        "CODE_INDEX_EMBEDDER": "<YOUR_CODE_INDEX_EMBEDDER>",
        "CODE_INDEX_EMBED_MODEL": "<YOUR_CODE_INDEX_EMBED_MODEL>",
        "CODE_INDEX_EMBED_DIM": "<YOUR_CODE_INDEX_EMBED_DIM>",
        "CODE_INDEX_DB": "<YOUR_CODE_INDEX_DB>",
        "CODE_INDEX_EMBED_BATCH": "<YOUR_CODE_INDEX_EMBED_BATCH>",
        "CODE_INDEX_EMBED_DEVICE": "<YOUR_CODE_INDEX_EMBED_DEVICE>"
      }
    }
  }
}

Related MCP servers

quickstart for mcp deployment

0
TypeScript
View repository →

MOVED: This server has been renamed to com.jobdonebot/tools. Please use the new name.

10 pay-per-call tools for AI agents: QR, screenshots, DNS, OCR, PDF, email & more. USDC on Base.

View repository →
MCmcptoon logo

mcptoon

Active

Zero-dependency CLI that cuts MCP tool context by 99.2%, manages 1,000+ tools and skills across all AI agents with no config.

206
Python
Apache-2.0
View repository →

MCP server for the RegIntel API: regulatory data across 41 jurisdictions, 212 regulations.

0
Python
MIT
View repository →

AI-native crypto trading MCP server — market data, orders, grid strategies & DeFi

2
TypeScript
MIT
View repository →