GH Repository · cocoindex-io
cocoindex-code
A super light-weight embedded code search engine CLI (AST based) that just works — improves speed and efficiency for coding agent 🌟 Star if you like it!
- stars
- 2,712
- 30-day movement
- +52/day
- Related entries
- 61
- Connections
- 3
python/uvPythonrustagentsclaude-codecoding-agentcode-searchcontext-engineeringcodexmcp-serverindexingopen-codepythonnodeastmcpcontext-windowcontext-window-optimizationtree-sittercocoindex
A lightweight AST-based code search engine distributed as an MCP server and CLI, built on tree-sitter and the CocoIndex stack. It indexes a codebase so coding agents can retrieve relevant code context faster and use context window space more efficiently.
Reach for it when you want your coding agent to search code semantically by structure instead of raw text, without running a heavy external search service.
Use it to
- Index a repository for agent code search
- Serve code retrieval over MCP to Claude Code or Codex
- Optimize agent context window usage
- Run AST-based code queries from the CLI
For Developers building or using coding agents
- Role
- mcp-server
- Language
- Python
- Licence
- Apache-2.0
- Forks
- 217
- Open issues
- 24
- Last push
- 2026-09-08
- Latest release
- v0.0.1 · 2026-02-08
- Skills shipped
- 1
topicscode-searchastmcp-servertree-sittercoding-agentindexing