A recorded session
Every line is real output from fsx on a generated demo folder. Nothing was typed by hand.
Recorded with brand/demo/record.py; the transcript is in brand/demo/transcript.json.
What du returns
Install
One binary. SQLite is compiled in. No service, no account.
Release archive
Download the archive for your platform from Releases
(Windows x64, Linux x64, macOS Apple silicon), check it against SHA256SUMS.txt, and put fsx on your PATH.
From source
> cargo install fsx-isoline # Rust 1.89 or newer > fsx --version fsx 0.1.0
Agents can follow install.md, which also registers the MCP server and indexes a first root.
Commands
Add --json to any command. Every answer carries index_age_s.
| Command | Answer |
|---|---|
fsx scan <root> | Walk a folder or drive and (re)build its index. Hashes of unchanged files are kept. |
fsx du <path> | Biggest subfolders, with file counts and sizes. --depth, --top. |
fsx find <under> | Files by --name glob, --ext, --min-size, --max-size, --newer, --older. |
fsx since 7d <under> | Files created or modified after a time, newest first. |
fsx dups <under> | Duplicates: size, then head and tail, then full BLAKE3. Hashes cached in the index. |
fsx status | Indexed roots, age, size, completeness. |
fsx mem ... | The memory vault: add, recall, get, link, supersede. |
fsx mcp | MCP server on stdio. |
adaptive (default)
Times every directory listing against a measured baseline and cuts subtrees more than 20x slower, reporting each cut in cut_dirs.
exact
Lists everything, however long a pathological subtree takes. Use it when completeness matters more than time.
MCP setup
Nine tools over stdio: scan, du, find, since, dups, status, and memory recall, get, add.
Claude Code
> claude mcp add fsx --scope user -- fsx mcp
Claude Desktop, Cursor, Windsurf and other clients
{
"mcpServers": {
"fsx": { "command": "fsx", "args": ["mcp"] }
}
}
Use the full path if fsx is not on the client's PATH. Per-client config locations:
docs/MCP.md.
Memory vault
Markdown notes on disk are the source of truth. A SQLite FTS5 index is derived from them.
> fsx mem add --type decision --title "Raw video lives on the archive disk" --body "Move raw footage after the edit." > fsx mem recall "where does raw footage go" budget=1200 more=0 query=where does raw footage go superseded_hidden=0 tokens=114 hits: 2026-11-28 decisions/2026-11-28-raw-video-lives-on-the-archive-disk Move raw footage after the edit.
- Lives in
~/.fsx/vault, orFSX_VAULT. Notes can be edited by hand; the index follows. - Recall returns ids, titles and one-line summaries within a token budget. Fetch full text only for the ids you need.
- Ranking: BM25 over weighted fields, entities and a type hint, fused with Reciprocal Rank Fusion. Superseded notes are hidden.
addrefuses e-mail addresses, phone numbers and token-like secrets.- Optional semantic recall:
fsx mem model pulldownloads a static embedding model (MIT, 512 MB, pinned commit). The only network use in fsx.
Benchmarks
Measured 2026-11-28 with bench/bench.ps1. Both tools counted the same 181,515 files and 46,273,462,957 bytes.
C:\Windows, warm cache | Median |
|---|---|
Get-ChildItem -Recurse -File + sum of sizes (3 runs) | 36.3 s |
fsx scan --mode exact, walk + index write (3 runs) | 2.62 s |
fsx du --top 15 (15 runs) | 23.7 ms |
fsx find --ext dll --min-size 10MB (15 runs) | 133.8 ms |
fsx since 7d (15 runs) | 457.0 ms |
| 1 TB spinning disk, 157,108 files | Cold | Warm |
|---|---|---|
Get-ChildItem -Recurse -File + sum of sizes | 28.3 s | 16.9 s |
fsx scan --mode exact, walk + index write | 14.5 s | 0.98 s |
fsx du --top 15 | 98 ms | 98 ms |
Medians of 3 (du: 5). Cold = Windows file cache purged before each run (bench/purge-standby.ps1). On a cold
spinning disk the walk is seek-bound, so the first scan gains about 2x; queries after it come from the index.
Query times include process start. AMD Ryzen 7 5700X, 16 logical CPUs, NVMe and a 7200 rpm SATA disk, Windows 11 build 26200. Not measured: Linux and macOS. Full method: docs/BENCHMARKS.md.
Privacy
Local only. fsx never modifies, moves or deletes your files.
- Indexes live in
%LOCALAPPDATA%\fsxor~/.local/share/fsx(orFSX_HOME). An index of paths is sensitive: keep it out of synced folders. .ssh,.gnupg,.fsxandFSX_DENYfolders are never listed in results. They still count in totals.- MCP answers contain real paths; the server instructs agents not to send them to third parties.
Platforms
| Windows | Linux | macOS | |
|---|---|---|---|
| Tests pass | yes, 24 | yes, 23 | in CI |
| Benchmarked | yes | no | no |
| Real use | yes | little | none yet |