Skip to content
Claude Code

CocoIndex Code for Claude Code

io.github.cocoindex-io/cocoindex-code

Semantic code search over a local repository, with AST-based chunks and incremental re-indexing.

client:Claude Code transport:stdio runtime:pypi

Install CocoIndex Code 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 cocoindex-code -e COCOINDEX_CODE_ROOT_PATH=<COCOINDEX_CODE_ROOT_PATH> -- uvx cocoindex-code

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

CocoIndex Code in other clients