// devtools · cocoindex-io/cocoindex-code

cocoindex-code

cocoindex-code es un proyecto de herramientas de desarrollo de código abierto de cocoindex-io (cocoindex-io/cocoindex-code en GitHub). Tiene 2.772 estrellas en GitHub y 229 bifurcaciones, se publica bajo la licencia Apache-2.0 y se actualizó por última vez en GitHub el 6 de octubre de 2026.

Lightweight AST-based semantic code search CLI (ccc) that makes coding agents faster and cheaper

★ 2,8k estrellas⑂ 229 bifurcacionesApache-2.0actualizado oct 2026
▦ visual: el README de este proyecto no incluye ninguna captura incrustable,
así que aquí va un marcador. La guía de abajo está completa de todos modos.
// datos del proyecto

Datos del proyecto

Estrellas en GitHub
2.772
Bifurcaciones
229
Licencia
Apache-2.0
Última actualización en GitHub
6 de octubre de 2026
Tipo de ficha
Guía de instalación completa
Sitio oficial
Official site
// cómo funciona

Cómo funciona

  1. Clarify your goal

    Decide whether you want direct CLI search, or your coding agent to use semantic search automatically via the Skill/MCP integration.

  2. Get ccc

    Install cocoindex-code[full] with pipx or uv tool for local embeddings, or the slim build if you will use a cloud embedding API.

  3. Install and configure

    Optionally add the agent integration (npx skills add, or claude mcp add cocoindex-code -- ccc mcp), then let it initialize the project.

  4. Run your first search

    Run ccc index if needed, then ccc search "authentication logic" — or just ask your agent to find how something works.

// características

Por qué gusta tanto

AST-based semantic search

Indexes code by syntax tree (tree-sitter), so search matches code structure and meaning, not just text.

Zero-config start

The README emphasizes a 1-minute setup: install and go; ccc index auto-initializes new projects with defaults.

Agent Skill integration

npx skills add cocoindex-io/cocoindex-code teaches Claude Code and other skill-compatible agents to initialize, index and search on their own.

MCP server mode

ccc mcp runs a stdio MCP server exposing a search tool with refresh_index, language and path filters.

Structural grep

ccc grep finds code by structural example pattern against the syntax tree — no index or embeddings required.

Full CLI toolkit

init, index, search, grep, status, doctor, reset and a background daemon that keeps the index fresh.

Advertisement
// ejecútalo

Ejecútalo tú mismo

  1. Clone the repo

    Clone CocoIndex Code if you want the source; most users install the CLI in step 2.

    git clone https://github.com/cocoindex-io/cocoindex-code.git
    cd cocoindex-code
  2. Install the CLI

    Install the batteries-included build as the README recommends.

    pipx install 'cocoindex-code[full]'
    # or: uv tool install --upgrade 'cocoindex-code[full]'
  3. Index and search

    Initialize (optional), build the index, and run a semantic search.

    ccc init
    ccc index
    ccc search "authentication logic"
// casos de uso

Qué puedes crear

Advertisement
// preguntas frecuentes

Preguntas frecuentes

Who maintains CocoIndex Code?

cocoindex-io maintains it, built on their CocoIndex engine.

Is it free?

Yes, Apache-2.0 licensed. The [full] install uses local embeddings with no API key; the slim install needs a cloud embedding provider key.

Does it need a paid API key?

Not with the [full] install — local embeddings (default model Snowflake/snowflake-arctic-embed-xs) work out of the box. The slim install requires a cloud provider.

How does it compare to grep/ripgrep for agents?

Text search finds exact strings. ccc adds AST-aware semantic retrieval with ranked chunks, file paths and line numbers, plus an MCP/Skill interface agents can call directly.

How do I get started?

pipx install 'cocoindex-code[full]', run ccc index in your repo, then ccc search — or add the Skill so your agent does it for you.

// sigue explorando

Herramientas similares

Herramientas de desarrollo

probe

Semantic code search for AI — ripgrep speed with tree-sitter AST parsing.

★ 722 estrellasApache-2.0
Ver la guía →
Herramientas de desarrollo

semble

Fast, accurate semantic code search for agents — about 99% fewer tokens than grep plus read.

★ 6,2k estrellasMIT
Ver la guía →
Herramientas de desarrollo

grepai

grepai: semantic code search and call graphs for AI agents, running 100% locally on your machine.

★ 1,9k estrellasMIT
Ver la guía →
Herramientas de desarrollo

Graft

A codebase knowledge graph that makes Claude Code, Cursor, Codex and Gemini faster, cheaper and repo-aware.

★ 9,8k estrellasMIT
Ver la guía →
Herramientas de desarrollo

cc-connect

Bridge local AI coding agents (Claude Code, Cursor, Gemini CLI, Codex) to messaging platforms (Feishu/Lark, DingTalk, Slack, Telegram, Discord, LINE, WeChat …

★ 15,7k estrellasUnknown
Ver la guía →
Herramientas de desarrollo

serena

An MCP toolkit that gives coding agents IDE-grade semantic retrieval, editing and refactoring

★ 30,1k estrellasGPL-3.0
Ver la guía →
// alternativas

Alternativas en Herramientas de desarrollo

Los demás proyectos de Herramientas de desarrollo con más estrellas del catálogo de LibreAI: la lista realista de alternativas si cocoindex-code no es lo que buscas.

// más en devtools

Más en Herramientas de desarrollo

Proyectos de Herramientas de desarrollo cercanos en el catálogo, los más próximos en estrellas a cocoindex-code: sigue explorando a ambos lados.

Consigue cocoindex-code

Gratis y abierto: consigue el código fuente, dale una estrella al repositorio y empieza a crear.