cocoindex-io/cocoindex-code
An AST-based semantic code search tool that integrates with AI coding agents via CLI, MCP server, or Skill to provide efficient context retrieval.

CocoIndex Code is a lightweight embedded code search engine built on a Rust-based data transformation engine. It uses Abstract Syntax Tree parsing to provide semantic code search with 70% token savings compared to naive approaches. The tool offers direct CLI access and integrates with popular AI coding assistants through Model Context Protocol servers or Skill configurations, making codebase context available to agents like Claude, Codex, and Cursor with minimal overhead.