Code Index for VS Code
io.github.achreftlili/code-index
SQLite-backed hybrid (vector + FTS) code search index for Claude Code over MCP.
client:VS Code
transport:stdio
runtime:pypi
Install Code Index in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "code-index-embedder",
"description": "CODE_INDEX_EMBEDDER",
"password": true
},
{
"type": "promptString",
"id": "code-index-embed-model",
"description": "CODE_INDEX_EMBED_MODEL",
"password": true
},
{
"type": "promptString",
"id": "code-index-embed-dim",
"description": "CODE_INDEX_EMBED_DIM",
"password": true
},
{
"type": "promptString",
"id": "code-index-db",
"description": "CODE_INDEX_DB",
"password": true
},
{
"type": "promptString",
"id": "code-index-embed-batch",
"description": "CODE_INDEX_EMBED_BATCH",
"password": true
},
{
"type": "promptString",
"id": "code-index-embed-device",
"description": "CODE_INDEX_EMBED_DEVICE",
"password": true
}
],
"servers": {
"code-index": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-code-index"
],
"env": {
"CODE_INDEX_EMBEDDER": "${input:code-index-embedder}",
"CODE_INDEX_EMBED_MODEL": "${input:code-index-embed-model}",
"CODE_INDEX_EMBED_DIM": "${input:code-index-embed-dim}",
"CODE_INDEX_DB": "${input:code-index-db}",
"CODE_INDEX_EMBED_BATCH": "${input:code-index-embed-batch}",
"CODE_INDEX_EMBED_DEVICE": "${input:code-index-embed-device}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs