io.github.achreftlili
code-index
Code Index
SQLite-backed hybrid (vector + FTS) code search index for Claude Code over MCP.
stdiocommunityapplication
Package Details
mcp-code-index
Transportstdio
Environment Variables
VOYAGE_API_KEY(str)
Secret
Voyage embeddings API key. Required when CODE_INDEX_EMBEDDER is unset or set to 'voyage' (the default backend).
CODE_INDEX_EMBEDDER(str)
Embedder backend: 'voyage' (default) or 'ollama'. Set to 'ollama' to use a local Ollama server instead of Voyage.
CODE_INDEX_EMBED_MODEL(str)
Embedding model name. Defaults to 'voyage-code-3' for Voyage. Must match the embedder's available models.
CODE_INDEX_EMBED_DIM(str)
Embedding dimension. Defaults to 1024 (matches voyage-code-3). Must match the model's output dim.
CODE_INDEX_DB(str)
Path to the SQLite index database. Defaults to .claude/index.db relative to the working directory.
OLLAMA_URL(str)
Ollama server URL when CODE_INDEX_EMBEDDER=ollama. Defaults to http://localhost:11434.