CocoIndex Code for Cursor
io.github.cocoindex-io/cocoindex-code
Semantic code search over a local repository, with AST-based chunks and incremental re-indexing.
client:Cursor
transport:stdio
runtime:pypi
Install CocoIndex Code in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"cocoindex-code": {
"type": "stdio",
"command": "uvx",
"args": [
"cocoindex-code"
],
"env": {
"COCOINDEX_CODE_ROOT_PATH": "<COCOINDEX_CODE_ROOT_PATH>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs