Skip to main content

A filesystem index for agents

fsindex is a Linux-only, per-user daemon that keeps a live index of filenames and metadata across configured roots and mounted volumes. Agents query it through MCP; people and scripts use the CLI.

Scope

fsindex indexes names and metadata only: paths, size, modification time, inode, entry kind, and volume. It never reads or searches file contents.

Install​

fsindex installs per-user (no root) on Linux x86_64 or ARM64:

curl -fsSL https://raw.githubusercontent.com/saulgudmon/fsindex/refs/heads/main/packaging/install.sh | bash
export PATH="$HOME/.local/bin:$PATH"

The install script is in the repository so you can read it first. It verifies the release with minisign and SHA-256, installs the daemon, CLI, MCP server, and desktop app, and adds an application-menu launcher.

Start the daemon​

systemctl --user enable --now fsindexd
fsindex status

Without systemd, install with --no-service and run fsindexd in a terminal you leave open. For the desktop interface, run fsindex-gui or use the application launcher (the GUI requires WebKitGTK 4.1).

Update and uninstall​

fsindex update # update in place
fsindex uninstall # remove the install

See Install & uninstall for options, channels, what gets removed, and the one-liner uninstall.

One index, multiple clients​

The daemon owns the index. fsindex-mcp and fsindex are thin clients, so every interface sees the same results and freshness state.

What it answers well​

  • Does a file or directory with this name exist?
  • Where are the largest matching files?
  • Which matching items changed recently?
  • Which indexed volume contains this path?
  • Is the index complete enough to trust an empty result?

Where to go next​