Who it is forA developer whose agent wastes turns grepping through a big repo.
The problemCoding agents burn context reading files to find the right code.
The outcomeA coding agent that indexes and searches the repo automatically as it works.
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
- Install the CLI with
pipx install 'cocoindex-code[full]' - Install the skill with
npx skills add cocoindex-io/cocoindex-code, which handles init, indexing and search - Or register the MCP server with
claude mcp add cocoindex-code -- ccc mcporcodex mcp add cocoindex-code -- ccc mcp - Ask the agent a where-is question about your code
Prompt for your agent
Set up cocoindex-io/cocoindex-code for my Claude Code: install with `pipx install 'cocoindex-code[full]'`, add the skill with `npx skills add cocoindex-io/cocoindex-code`, then find <code I am looking for>.
Caveat. The README recommends the skill; the MCP server exposes a search tool with refresh_index true by default.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for cocoindex-io/cocoindex-code and "Give Claude Code or Codex semantic code search"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer