CocoSearch

Local hybrid code search that keeps functions intact

Image 1 of 1: CocoSearch web dashboard with index statistics

Indexes a codebase into PostgreSQL with pgvector, chunks it by syntax with Tree-sitter, and fuses vector and keyword search. Results expand to complete functions and classes, with dependency trees and impact analysis, through a CLI, a web dashboard or an MCP server.

Trade-offs

  • Results expand to the enclosing function or class, capped at 50 lines per result and centered on the match.
  • Query rewriting by an LLM is optional and off by default, and when off no generative model runs.
  • Keyword search uses PostgreSQL's simple configuration with no stemming, to keep code identifiers whole.

Q&A3

Locally through Ollama by default, or optionally through OpenAI or OpenRouter.

Reviews

Loading reviews

    More in pgvector

    See all 9 →
    • DeftSelf-hosted workspace shared by people and AI agents
    • TogoLMOpen AI knowledge layer for Togo, from scraping to public API
    • VidForgeMulti-agent pipeline for short commerce videos
    • ConnapseSelf-hosted knowledge and memory backend for AI agents
    • AI Reliability CopilotEvidence-first copilot for investigating production incidents
    • BidwrightOpen construction estimating from bid intake to the final quote

    More in Embeddings

    See all 13 →
    • JeffyPretrained classifiers to run and retrain on CPU
    • VexorSemantic search engine for files and code, for people and agents
    • GraphMindLocal code knowledge graph and persistent memory for AI assistants
    • LatentJamOffline music player that queues songs from a library by how they sound
    • AGmind-MLRussian models fine-tuned on one GPU for a self-hosted RAG stack on AMD
    • Wyoming Voice MatchVoice-verifying ASR proxy for Home Assistant satellites

    More in Developer tools

    See all 88 →
    • EpuppBrowser extension that opens a live ClojureScript REPL into any web page
    • ResonanceA local-first API client with no account, collections kept as YAML files
    • PandiaDesktop JSON editor for multi-gigabyte files, with the document held in Rust
    • PandaWardLocal application security assessment that reports what it couldn't decide
    • ScalexScala code navigation for coding agents, from source and without a build
    • polyOne Rust binary that lints and formats about 30 languages