Compact n-gram index
A small fraction of your code size, not a copy of it. One-time build, then near-instant searches â no re-scan on every query.
One n-gram index. Three front-ends: CLI, MCP server, and VS Code. UTF-8, Shift_JIS, and EUC-JP â all in one index.
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 â
Prebuilt binaries for Linux, macOS, and Windows are on GitHub Releases.
# Linux / macOS
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/ukitomato/loupe/releases/latest/download/loupe-installer.sh | sh# Windows (PowerShell)
powershell -ExecutionPolicy Bypass -c "irm https://github.com/ukitomato/loupe/releases/latest/download/loupe-installer.ps1 | iex"Or build from source:
cargo install --git https://github.com/ukitomato/loupe loupe# 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" --regexMeasured 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 |