Devtoolwatch BoardGet it every Monday

CocoIndex Code review

CocoIndex Code is an AST-based semantic code search CLI and MCP server that gives coding agents searchable context from your codebase.

Updated Nov 1, 2026. Review written Oct 22, 2026 from the project's own sources; usage data refreshed every Monday.

TL;DR

CocoIndex Code is a lightweight, AST-based semantic code search tool built on the CocoIndex data transformation engine. It is for developers using Claude Code, Codex, Cursor, Grok or other coding agents, through a skill or an MCP server. It also offers structural search by example and can run local embeddings with no API key.

CocoIndex Code at a glance

Category
RAG, data and memory
Maintained by
CocoIndex (organization, @cocoindex-io on GitHub)
License
Apache 2.0
Language
Python, Dockerfile, TypeScript
Repository
github.com/cocoindex-io/cocoindex-code
Website
cocoindex.io
PyPI package
cocoindex-code 0.2.42
Latest release
v0.2.42 on GitHub, Oct 5, 2026
First published
Feb 1, 2026

What CocoIndex Code does

  • CocoIndex Code runs semantic search across a codebase from natural language queries or code snippets.
  • CocoIndex Code runs as an MCP server that exposes a search tool with language, path and pagination filters.
  • CocoIndex Code provides `ccc grep`, a structural search by example that matches the syntax tree without an index, daemon or embeddings.
  • CocoIndex Code installs as a skill so agents handle initialization, indexing and searching, keeping the index up to date as you work.
  • CocoIndex Code ships plugins for Claude Code, Grok and Oh My Pi, with hooks that run incremental indexing after edits.
  • CocoIndex Code search results include file path, language, code content, line numbers and similarity score.
  • CocoIndex Code includes `ccc doctor` diagnostics that check settings, daemon, model, file matching and index health.

How it works

CocoIndex Code is a Python CLI called `ccc`. A background daemon starts on first use and builds an index of your project. Coding agents reach it through the `ccc` skill or through `ccc mcp`, a stdio MCP server. Embeddings come from a local sentence-transformers model in the full install, or from a cloud provider through LiteLLM in the slim install.

How to install and start using CocoIndex Code

With pipx

pipx install 'cocoindex-code[full]'

With uv

uv tool install --upgrade 'cocoindex-code[full]'

As an agent skill

npx skills add cocoindex-io/cocoindex-code

Requirements

  • Python 3.11 or later.
  • The slim `cocoindex-code` install requires a cloud embedding provider and API key.
  • The full install pulls in local embedding dependencies of about 1 GB (torch and transformers).

First steps

  1. Run `ccc init` in your project to create settings and add `.cocoindex_code/` to `.gitignore`.
  2. Run `ccc index` to build the index. It also auto-initializes new projects with default settings.
  3. Search with a description, for example `ccc search "authentication logic"`.
  4. Connect an agent, for example with `claude mcp add cocoindex-code -- ccc mcp`.

Who CocoIndex Code is for

  • Developers who want coding agents like Claude Code or Codex to find code by meaning.
  • Exploring unfamiliar codebases or locating implementations without knowing exact names.
  • Developers who want local embeddings with no API key.
  • Structural code search by pattern from the terminal.

Limitations to know

  • CocoIndex Code's full install adds about 1 GB of torch and transformers dependencies.
  • CocoIndex Code non-interactive runs, such as scripts and hooks, require a one-time `ccc init` first.
  • CocoIndex Code's `ccc grep` depends on cocoindex's `code_match` feature, which the README notes is not yet in a released cocoindex.
  • CocoIndex Code's Grok plugin must be installed separately, even if you already use it in Claude Code.

Is CocoIndex Code growing? Usage data

CocoIndex Code was not ranked on the Devtoolwatch Board in the week of Oct 25–31, 2026: it needs 25 or more new stars or 1,000 or more added downloads in a week to rank.

New GitHub stars per week for CocoIndex Code12 weeks from Aug 9, 2026: 29, 25, 11, 14, 13, 8, 13, 15, 127, 65, 30, 12 new stars, an average of 30 a week.Aug 9week of Oct 25
New GitHub stars per week for the last 12 weeks, from GitHub's stargazer history (today's stargazers by the week they starred).
Show the weekly numbers
New GitHub stars per week for CocoIndex Code
Week ofNew stars
Aug 9, 202629
Aug 16, 202625
Aug 23, 202611
Aug 30, 202614
Sep 6, 202613
Sep 13, 20268
Sep 20, 202613
Sep 27, 202615
Oct 4, 2026127
Oct 11, 202665
Oct 18, 202630
Oct 25, 202612

On Hacker News

The Board ranks tools by four signals each week: new stars, new stars for the repo's size, added downloads and download growth beyond the market. How the ranking works.

CocoIndex Code alternatives

Other RAG, data and memory tools on the Board in the week of Oct 25–31, 2026, by momentum:

RAG, data and memory ranked by momentum, the week of Oct 25–31, 2026
RankToolStarsDownloads/wk
#1XERJXERJ is a local-first search engine and MCP server for AI agents, packaged as one Rust binary with an Elasticsearch-compatible API.17.9k–
#2MemvidMemvid is a single-file memory layer for AI agents that packages data, embeddings, search indexes, and metadata into one portable .mv2 file.17.3k–
#3LEANNLEANN is a Python vector database and RAG library that recomputes embeddings on demand to keep indexes small on personal devices.13.7k–
#4GraphifyGraphify is an AI coding assistant skill that turns a codebase, with its docs, PDFs, images and videos, into a queryable knowledge graph.140k480.7k
#5MarkItDownMarkItDown is a lightweight Python utility from Microsoft that converts PDFs, Office documents, images, audio and other files to…193.2k4.7M
#6FirecrawlFirecrawl is an API and open source project to search, scrape, crawl, and interact with web pages, returning LLM-ready markdown or JSON…197.4k2.9M

All RAG, data and memory tools, ranked

Recent CocoIndex Code releases

CocoIndex Code FAQ

Is CocoIndex Code free and open source?

Yes. CocoIndex Code's source code is on GitHub (cocoindex-io/cocoindex-code) under the Apache 2.0 license, so you can use it for free.

How do I install CocoIndex Code?

Run pipx install 'cocoindex-code[full]'. The cocoindex-code package needs Python 3.11 or newer. The install section above has the other options from the project's README.

Is CocoIndex Code still maintained?

Yes. The cocoindex-io/cocoindex-code repository was last updated on Oct 20, 2026, and the latest release, v0.2.42 on GitHub, came out on Oct 5, 2026.

How popular is CocoIndex Code?

CocoIndex Code has 3k GitHub stars as of Nov 1, 2026. It gained 12 new stars in the week of Oct 25–31, 2026, against a 12-week average of 30 a week.

What are the best alternatives to CocoIndex Code?

Other RAG, data and memory tools on the Devtoolwatch Board in the week of Oct 25–31, 2026, by momentum: XERJ (#1), Memvid (#2), LEANN (#3), Graphify (#4), MarkItDown (#5). The alternatives table above has their numbers.

Does CocoIndex Code need an API key?

CocoIndex Code needs no API key with the cocoindex-code[full] install, which runs local embeddings and defaults to Snowflake/snowflake-arctic-embed-xs. The slim install uses LiteLLM and requires a cloud embedding provider and API key.

Which coding agents work with CocoIndex Code?

CocoIndex Code works with Claude Code, Codex, Cursor, OpenCode, Kilo Code, Grok and Oh My Pi. Agents connect through the ccc skill or the ccc mcp MCP server.

What is the difference between ccc search and ccc grep?

CocoIndex Code's ccc search runs semantic search over a built index. ccc grep matches code structure by example pattern against the syntax tree and needs no index, daemon or embeddings.

How does CocoIndex Code keep the index current?

CocoIndex Code updates the index through the skill, which tells the agent to reindex as you work, or through plugin hooks that run incremental ccc index after edits. The MCP search tool refreshes the index before querying by default.

What does the CocoIndex Code MCP server expose?

The CocoIndex Code MCP server exposes one search tool. It takes a query, limit, offset, refresh_index, and language and path filters.

Sources

  1. cocoindex-io/cocoindex-code on GitHub
  2. CocoIndex Code README
  3. cocoindex-code on PyPI
  4. CocoIndex Code website
  5. Release v0.2.42 (Oct 5, 2026)
  6. Release v0.2.41 (Aug 7, 2026)
  7. Release v0.2.40 (Aug 6, 2026)
  8. Hacker News: Build real-time knowledge graph for documents with LLM
  9. Hacker News: Show HN: Open-Source Codebase Index with Tree-sitter
  10. Hacker News: Thinking in Rust: Ownership, Access, and Memory Safety
  11. Devtoolwatch Board, the week of Oct 25–31, 2026

CocoIndex Code README badge

Maintainers can show the tool's weekly Board rank in their README:

Devtoolwatch badge for CocoIndex Code

[![Devtoolwatch](https://index.devtoolwatch.com/badge/cocoindex-io-cocoindex-code.svg)](https://index.devtoolwatch.com/tools/cocoindex-io-cocoindex-code/)

How this page is made: Devtoolwatch writes each review from the project's README, releases, package metadata and website, with an AI model, then checks every claim against the source it cites and drops what the sources don't support. The numbers come from Devtoolwatch's daily GitHub snapshots, GitHub's stargazer history, and the npm and PyPI download APIs. Spotted an error? Email [email protected].