cocoindex-code
A super light-weight embedded code search engine CLI (AST based) that just works - saves 70% token and improves speed for coding agent Star if you like it!
Adding AST-based semantic code search to an existing coding agent via MCP or a skill.
You need a full coding agent rather than a search tool.
About cocoindex-code
A lightweight, effective (AST-based) semantic code search tool for your codebase. Built on CocoIndex — a Rust-based ultra performant data transformation engine. Use it from the CLI, or integrate with Claude, Codex, Cursor — any coding agent — via Skill or MCP.
Two install styles — they mirror the Docker image variants of the same names: - cocoindex-code[full] — batteries-included. Pulls in sentence-transformers so local embeddings (no API key required) work out of the box. The ccc init interactive prompt defaults to Snowflake/snowflake-arctic-embed-xs. - cocoindex-code (slim) — LiteLLM-only; requires a cloud embedding provider and API key. Use when you don't want the local-embedding deps (~1 GB of torch + transformers).
Next, set up your coding agent integration — or jump to Manual CLI Usage if you prefer direct control.
cocoindex-code is listed in this index written primarily in Python, with 3.0k stars on GitHub. Its latest recorded repository push was in November 2026; that is not an ASE editorial review date.
pipx install 'cocoindex-code[full]' # batteries included (local embeddings)