DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to use Cocoindex Code: what you can do with it

What is Cocoindex Code? cocoindex-code (ccc) is a lightweight, AST based code search engine CLI with local embeddings. It indexes a codebase for semantic search, offers structural search by example with ccc grep, and plugs into coding agents as a skill, a Claude Code or Grok plugin, or an MCP server, keeping the index up to date as you work.

How do I use it? Install with pipx install 'cocoindex-code[full]'; then inside the project run ccc init, then ccc index to build the index; Search with ccc search "authentication logic". Full steps below.

Trended earlier

View repo on GitHub

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer

3 use cases

Quick start with Cocoindex Code

  1. Check you have what it needs: Python with pipx or uv; install with `pipx install 'cocoindex-code[full]'` for local embeddings; A coding agent such as Claude Code, Codex, OpenCode or Grok for agent use; No API key required with the full extra, which uses local SentenceTransformers models.
  2. Open cocoindex-io/cocoindex-code on GitHub and read the README and license.
  3. Install with pipx install 'cocoindex-code[full]'
  4. Inside the project run ccc init, then ccc index to build the index
  5. Search with ccc search "authentication logic"
  6. Narrow results with ccc search --lang python --lang markdown schema or ccc search --path 'src/utils/*' query handler

These steps come from our top use case, Search your codebase by meaning from the terminal, which also has a copy-paste agent prompt.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for cocoindex-io/cocoindex-code

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Best AI repos for Software and DevOps

About this repo

Requirements

  • Python with pipx or uv; install with `pipx install 'cocoindex-code[full]'` for local embeddings
  • A coding agent such as Claude Code, Codex, OpenCode or Grok for agent use
  • No API key required with the full extra, which uses local SentenceTransformers models

Add this badge to your README

Maintain Cocoindex Code? Show readers where to find these use cases. Use cases on Deduped

Markdown

[![Use cases on Deduped](https://dedupedai.com/badge/cocoindex-io/cocoindex-code.svg)](https://dedupedai.com/use-cases/cocoindex-io-cocoindex-code/?utm_source=github&utm_medium=badge&utm_campaign=cocoindex-io-cocoindex-code)

HTML

<a href="https://dedupedai.com/use-cases/cocoindex-io-cocoindex-code/?utm_source=github&amp;utm_medium=badge&amp;utm_campaign=cocoindex-io-cocoindex-code"><img src="https://dedupedai.com/badge/cocoindex-io/cocoindex-code.svg" alt="Use cases on Deduped" height="20"></a>

A static image, no tracking script. About the badge

Questions about Cocoindex Code

What is Cocoindex Code?

cocoindex-code (ccc) is a lightweight, AST based code search engine CLI with local embeddings. It indexes a codebase for semantic search, offers structural search by example with ccc grep, and plugs into coding agents as a skill, a Claude Code or Grok plugin, or an MCP server, keeping the index up to date as you work. It is an open-source project on GitHub: https://github.com/cocoindex-io/cocoindex-code.

How do I use Cocoindex Code?

Install with pipx install 'cocoindex-code[full]'; then inside the project run ccc init, then ccc index to build the index; Search with ccc search "authentication logic". The use cases on this page give the full steps and a copy-paste agent prompt for each job.

Who is Cocoindex Code for?

Developers using coding agents on large codebases who want better code search without a cloud service.

What can I do with Cocoindex Code?

3 use cases so far, for example: Search your codebase by meaning from the terminal; Give Claude Code or Codex semantic code search; Find code by structure and check index health. Each has steps and a copy-paste agent prompt.

What do I need to run Cocoindex Code?

Python with pipx or uv; install with `pipx install 'cocoindex-code[full]'` for local embeddings; A coding agent such as Claude Code, Codex, OpenCode or Grok for agent use; No API key required with the full extra, which uses local SentenceTransformers models.

What are alternatives to Cocoindex Code?

Other hot AI repos in Software and DevOps: Skills, Claude Mem, Freellmapi, Andrej Karpathy Skills, Agent Desktop.

Is Cocoindex Code safe to run?

Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.