About Cocoindex Code
Cocoindex Code is an MCP server published by cocoindex-io in the Developer Tools category: 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!. Conduid read 1 tool from its source: search. It is published to PyPI as cocoindex-code and runs with uvx.
The repository has 3.0K stars and 257 forks, is licensed Apache-2.0, and its last commit was on 25 Nov 2026. The latest release is v0.2.43 (5 Nov 2026). It follows v0.2.42 (5 Oct 2026), and the 5 most recent releases go back to v0.2.39 (24 Jul 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include cocoindex, context-engineering, coding-agent, code-search, devtools and ast.
Install
uvx cocoindex-codepip install cocoindex-codegit clone https://github.com/cocoindex-io/cocoindex-codeTools (1)
searchSemantic code search across the entire codebase -- finds code by meaning, not just text matching. Use this instead of grep/glob when you need to find implementations, understand how features work, or locate related code without knowing exact names or keywords. Accepts natural language queries (e.g., 'authentication logic', 'database connection handling') or code snippets. Returns matching code chunks with file paths, line numbers, and relevance scores. Start with a small limit (e.g., 5); if most results look relevant, use offset to paginate for more.| Parameter | Type | Description |
|---|---|---|
| languages | array | Filter by programming language(s). Example: ['python', 'typescript'] |
| limit | integer | Maximum number of results to return (1-100) |
| offset | integer | Number of results to skip for pagination |
| paths | array | Filter by file path pattern(s) using GLOB wildcards (* and ?). Example: ['src/utils/*', '*.py'] |
| query * | string | Natural language query or code snippet to search for. Examples: 'error handling middleware', 'how are users authenticated', 'database connection pool', or paste a code snippet to find similar code. |
| refresh_index | boolean | Whether to incrementally update the index before searching. Set to False for faster consecutive queries when the codebase hasn't changed. |
Security checks
- ✓README presentThe repository's README runs to about 5.4K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionScanned 21 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
Releases
README
The repository's README runs to about 5.4K words, fetched 14 days ago. The original in the repository is authoritative.
Read full README