Skip to main content

CocoIndex Code

io.github.cocoindex-io/cocoindex-code

v0.2.44Updated Nov 25, 2026stdio · PyPI

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

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add cocoindex-code -- uvx cocoindex-code==0.2.44 serve

The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.

Configuration

2 settings.

  • COCOINDEX_CODE_ROOT_PATH
    Env var· optional
    Root directory of the codebase to index. Set it when the client does not start the server inside the codebase. If unset, the server uses its working directory.
  • --with
    Argument· optional
    Install the full extra, which adds sentence-transformers for local embeddings. The default embedding model needs it.

Listed in the official MCP Registry since Nov 25, 2026. Mirrored daily; last checked Nov 26, 2026.