This server brings semantic code search into Claude via four core tools: sensegrep.search for concept-based queries, sensegrep.survey to build reading maps across a codebase, sensegrep.cluster to break broad topics into subthemes, and sensegrep.detect_duplicates to find logically similar code. It uses AI embeddings and tree-sitter AST parsing to match meaning instead of text patterns, so searching for "authentication logic" finds your auth functions even without exact keyword matches. Supports 30+ structural filters like exported, async, complexity thresholds, decorators, and symbol types. Works with TypeScript, JavaScript, Python, Java, and Vue out of the box. Requires indexing your project first, then queries run against a local LanceDB vector store with Gemini or OpenAI-compatible embeddings.
claude mcp add --transport stdio stahldavid-sensegrep uvx sensegrep