Skip to content
Claude Code

Code Index for Claude Code

io.github.achreftlili/code-index

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

client:Claude Code transport:stdio runtime:pypi

Install Code Index in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add code-index -e CODE_INDEX_EMBEDDER=<CODE_INDEX_EMBEDDER> -e CODE_INDEX_EMBED_MODEL=<CODE_INDEX_EMBED_MODEL> -e CODE_INDEX_EMBED_DIM=<CODE_INDEX_EMBED_DIM> -e CODE_INDEX_DB=<CODE_INDEX_DB> -e CODE_INDEX_EMBED_BATCH=<CODE_INDEX_EMBED_BATCH> -e CODE_INDEX_EMBED_DEVICE=<CODE_INDEX_EMBED_DEVICE> -- uvx mcp-code-index

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

Code Index in other clients