VioletCranberry/coco-search
Local-first hybrid semantic code search tool. Indexes codebases into PostgreSQL with pgvector embeddings via Ollama, combines vector similarity + keyword search with RRF fusion. Supports 30+ languages. Features CLI, MCP server, WEB dashboard and interactive REPL.
Uses Tree-sitter AST analysis to preserve code structure during indexing—functions, classes, and config blocks remain intact rather than split arbitrarily—and expands search results to enclosing scope boundaries for context. Includes dependency graph mapping across code, config, and documentation files, plus domain-aware grammar handlers that split infrastructure configs (Terraform resources, CI/CD jobs, Compose services) at semantic boundaries rather than generic chunk sizes.
Stars
18
Forks
3
Language
Python
License
MIT
Category
Last pushed
Mar 11, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/vector-db/VioletCranberry/coco-search"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.