{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "cocoindex-io-cocoindex-code--give-claude-code-semantic-search-with-cocoindex-code",
 "repo": "cocoindex-io/cocoindex-code",
 "repo_url": "https://github.com/cocoindex-io/cocoindex-code",
 "repo_slug": "cocoindex-io-cocoindex-code",
 "title": "Give Claude Code or Codex semantic code search",
 "page_title": "How to give Claude Code or Codex semantic code search with Cocoindex Code",
 "summary": "Install the ccc skill or register the MCP server so your coding agent searches by meaning on its own.",
 "who": "A developer whose agent wastes turns grepping through a big repo.",
 "problem": "Coding agents burn context reading files to find the right code.",
 "outcome": "A coding agent that indexes and searches the repo automatically as it works.",
 "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 mcp` or `codex mcp add cocoindex-code -- ccc mcp`",
  "Ask the agent a where-is question about your code"
 ],
 "agent_prompt": "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>.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Beginner",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "The README recommends the skill; the MCP server exposes a search tool with refresh_index true by default.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "",
 "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/cocoindex-io-cocoindex-code/give-claude-code-semantic-search-with-cocoindex-code/",
 "md": "https://dedupedai.com/use-cases/cocoindex-io-cocoindex-code/give-claude-code-semantic-search-with-cocoindex-code/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/cocoindex-io-cocoindex-code--give-claude-code-semantic-search-with-cocoindex-code.json",
 "api_version": "v1"
}
