cocoindex-code
Lightweight CLI code search engine based on AST, reducing token usage by 70% and accelerating coding agent performance.
- Type
- MCP
- Transport
- stdio
- Open source
- Yes
- GitHub Stars
- ★ 2.2k
- Source
- mcp-github
- Repository
- github.com/cocoindex-io/cocoindex-code
Overview
cocoindex-code is a lightweight, embedded code search CLI based on Abstract Syntax Trees (AST). It optimizes coding agent efficiency by reducing token usage by 70% and improving speed. Install in under a minute with zero configuration required. The tool can be used directly as a CLI or integrated into coding agents like Claude, Codex, Cursor via Skill or MCP server. Ideal for developers and teams needing efficient codebase searching.
Capabilities
- ▪Semantic code search based on AST
- ▪Reduces token usage by 70%
- ▪Fast installation and startup
- ▪Supports local and cloud embedding
- ▪Automatic index updates
Use cases
Setup
Install using pipx: `pipx install 'cocoindex-code[full]'` or use uv tool: `uv tool install --upgrade 'cocoindex-code[full]'`
This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.
FAQ
Recommended integration method: `npx skills add cocoindex-io/cocoindex-code`
How to integrate into a coding agent?
No API Key required when using the `cocoindex-code[full]` version
Is an API Key required?
Related skills
gemini-cli
Gemini CLI is an open-source AI agent that brings Gemini's powerful capabilities directly into the terminal.
private-gpt
Provides a complete API layer for local models, supporting RAG, skills, tools, and more.
planning-with-files
File-based persistent planning skill, ideal for AI coding agents and long-running tasks.
scientific-agent-skills
Transform any AI agent into a scientific assistant with 147 ready-to-use research skills.
susi_alexa_skill
A skill that enables question-and-answer interactions between Alexa and Susi AI.
claude-context
Provides code search capabilities for Claude Code, turning the entire codebase into context.