Locus
Provides lightning-fast, highly accurate semantic and lexical search capabilities for your codebase, understanding natural language queries.
Locus is a powerful, pure Rust-based command-line tool designed for developers and coding agents to swiftly find relevant code segments using natural language or symbols. It employs a sophisticated three-layer search approach, combining lexical BM25, local semantic embeddings, and an optional cross-encoder reranker to achieve exceptional recall and precision. The tool indexes codebases by parsing semantically meaningful chunks across numerous programming languages and ensures privacy by keeping all data local to your machine. It also offers an MCP server mode for seamless integration with coding agents, exposing precise codebase interaction tools.