Perform fast, local, and private semantic code search within your codebase using natural language queries, seamlessly integrating with AI coding agents.
Sponsored
Codesearch provides a powerful, fully offline solution for semantic code search, allowing developers to query their codebases using natural language. Built with Rust for speed, it leverages advanced techniques like Tree-sitter AST-aware chunking and ONNX models for local processing, ensuring privacy and sub-second search times. It supports incremental indexing for rapid updates and offers flexible indexing options (local or global). Crucially, codesearch acts as an efficient MCP server, offering token-optimized tools for AI agents like OpenCode and Claude Code, facilitating a "search → narrow → read" workflow for enhanced productivity.
Key Features
01Incremental Indexing for fast codebase updates
02MCP Server for AI Agent Integration (OpenCode/Claude Code)
03Tree-sitter AST-aware Smart Chunking
04Semantic & Hybrid Search with Neural Reranking
050 GitHub stars
06Fully Local, Offline & Private processing via ONNX models
Use Cases
01Efficiently navigate large codebases and understand their structure without relying on external APIs.
02Integrate with AI coding assistants to provide contextual, token-efficient code search and reference finding.
03Quickly find relevant code sections using natural language queries (e.g., "where do we handle authentication?").