Skip to content

loupeFast indexed full-text code search

One n-gram index. Three front-ends: CLI, MCP server, and VS Code. UTF-8, Shift_JIS, and EUC-JP — all in one index.

VS Code Extension ​

Install from the VS Code Marketplace — or grab a .vsix from GitHub Releases.

The extension ships two search UIs that share the same index as the CLI and MCP server, updated automatically in the background.

Sidebar (Ctrl+Alt+Shift+F) — persistent panel with streaming results grouped by file, match highlighting, case-sensitive toggle (Aa), regex toggle (.*), max-results dropdown, and glob path filters.

QuickPick (Ctrl+Alt+F) — lightweight one-shot search into a filterable dropdown.

VS Code Extension reference →


Install ​

Prebuilt binaries for Linux, macOS, and Windows are on GitHub Releases.

bash
# Linux / macOS
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/ukitomato/loupe/releases/latest/download/loupe-installer.sh | sh
powershell
# Windows (PowerShell)
powershell -ExecutionPolicy Bypass -c "irm https://github.com/ukitomato/loupe/releases/latest/download/loupe-installer.ps1 | iex"

Or build from source:

bash
cargo install --git https://github.com/ukitomato/loupe loupe

Quick start ​

bash
# 1. Configure roots (add @enc suffix for non-UTF-8 folders)
loupe init --root src --root legacy@shift_jis

# 2. Build the index
loupe build

# 3. Search — auto-syncs first
loupe search "calcTotal"
loupe search "åĨ‘įī„" --case-sensitive
loupe search "parse[A-Za-z]+Request" --regex

Full guide →

Performance ​

Measured on ≈290k files (~260k UTF-8 + ~29k Shift_JIS):

Index size≈237 MB
First build (one-time, cold)~28 min
Search — specific identifier~180 ms
Search — Japanese in Shift_JIS~156 ms
Search — very common term< 1 s

Released under the MIT License.