概要
CocoSearch is a local-first, privacy-focused hybrid semantic code search tool. It indexes codebases using Tree-sitter for syntax-aware chunking and symbol extraction, stores data in PostgreSQL with pgvector embeddings generated by Ollama, and retrieves results through Reciprocal Rank Fusion of cosine similarity and keyword matching. Supporting over 30 languages, it offers multiple interfaces including a CLI, WEB dashboard, interactive REPL, and an MCP server, ensuring all operations, including an optional AI chat feature, run entirely on your machine without external APIs.