Start with an intention
Find a behavior, even without knowing the function name.
Give your AI agent the right context. LCS finds the useful files and lines, directly in your repository.
Rust CLI · Windows, Linux and macOS · Open sourcelcs search "where is the keyboard shortcut handled?"export function handleShortcut(event: KeyboardEvent) {
if ((event.ctrlKey || event.metaKey) && event.key === "k") {
event.preventDefault();
openCommandPalette();
}
}
Find a behavior, even without knowing the function name.
Hybrid search combines keywords and semantic similarity to find the right passage.
The model and index stay local, with no remote search service or telemetry.
Connect Claude Code, Codex or Cursor to your code through the MCP server.
Get the file, lines and snippet, or jump directly to a definition.
Indexing processes modified files; watch follows changes in your project.
With LCS, Claude Code finds more of the files it needs, in fewer steps.
10.4 steps / ticket
8.2 steps / ticket
The same 13 tickets from one project, fresh sessions, one run per configuration at maximum effort. LCS includes its MCP server and instructions. Mean per-ticket recall rises from 69% to 74%; mean steps fall from 10.4 to 8.2. This measures expected files found, not elapsed time or successful fixes. Two measured configurations on an illustrative curve without a scale. Method and results on GitHub ↗
LCS gives your agent the files, lines and snippets it needs for the task.
claude mcp add --scope project local-code-search -- lcs serveRun lcs index in your project, then approve the server in Claude Code.