CocoIndex Code for Claude Desktop
io.github.cocoindex-io/cocoindex-code
Semantic code search over a local repository, with AST-based chunks and incremental re-indexing.
client:Claude Desktop
transport:stdio
runtime:pypi
Install CocoIndex Code in Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"cocoindex-code": {
"command": "uvx",
"args": [
"cocoindex-code"
],
"env": {
"COCOINDEX_CODE_ROOT_PATH": "<COCOINDEX_CODE_ROOT_PATH>"
}
}
}
}
Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs