Skip to content
mcp/skillhub

Code Index MCP Server

by achreftliliio.github.achreftlili/code-indexv1.0.6

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

1Pythonstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Slowing5mo ago

Install Code Index MCP server

Install in Claude Code

claude mcp add code-index-achreftlili -- uvx mcp-code-index

Configuration

VariableRequiredSecretDescription
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.

Freshness

Slowing — last maintenance signal 5mo ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-05-14 · 5mo ago · GitHub

  2. Latest release

    no data · GitHub

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-05-14 · 5mo ago · official registry · v1.0.6

FAQ

›How do I install the Code Index MCP server in Claude Code?

Run: claude mcp add code-index-achreftlili -- uvx mcp-code-index. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Code Index require an API key?

No required environment variables are declared in its published metadata.

›Can I use Code Index as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is Code Index in the official MCP registry?

Yes, as io.github.achreftlili/code-index.

Alternatives to Code Index

Other database MCP servers.

View all