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

How to search your codebase by meaning from the terminal with Cocoindex Code

Index a project once and search it in plain language, filtered by language or path.

Short answer: 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". All steps.

  • Top pick
  • Software and DevOps
  • Beginner
  • 15 minutes
  • From the README
  • Claude Code
  • Codex
  • Cursor
  • Gemini CLI

Who it is forA developer new to a large codebase.

The problemGrep finds strings, not the code that implements an idea.

The outcomeRanked code results for questions like authentication logic, scoped to your folder.

What you need first

  • 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

Steps

  1. Install with pipx install 'cocoindex-code[full]'
  2. Inside the project run ccc init, then ccc index to build the index
  3. Search with ccc search "authentication logic"
  4. Narrow results with ccc search --lang python --lang markdown schema or ccc search --path 'src/utils/*' query handler

Prompt for your agent

Using cocoindex-io/cocoindex-code, install it with `pipx install 'cocoindex-code[full]'`, run `ccc index` in <my repo>, and use ccc search to find where <feature> is implemented.

Caveat. Use `ccc search --refresh database schema` style searches to update a stale index first; never index your home directory by accident.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for cocoindex-io/cocoindex-code and "Search your codebase by meaning from the terminal"

Add Deduped to Claude Code once

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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

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