Skip to content

hoard doctor

The hoard doctor command runs diagnostic checks on your Hoard installation.

Usage

Terminal window
hoard doctor [options]

Options

OptionDescription
--config <path>Use alternate config file

Example Output

$ hoard doctor
Checking Hoard installation...
✓ Python 3.11.4
✓ Config exists: ~/.hoard/config.yaml
✓ Database exists: ~/.hoard/hoard.db
✓ 607 entities indexed
✓ 2,145 chunks created
✓ FTS tables present
✓ Inbox configured: ~/.hoard/inbox
[!] Vectors disabled (run 'hoard init --vectors' to enable)
[!] Watcher enabled but watchdog not installed
[!] No MCP token configured for Claude Code

Checks Performed

Installation Checks

CheckDescription
Python versionRequires 3.11+
hoard on PATHWhether the CLI is accessible
Config file~/.hoard/config.yaml exists
Database~/.hoard/hoard.db exists
FTS tablesFull-text search tables present

Data Checks

CheckDescription
Entity countNumber of indexed (non-tombstoned) entities
Chunk countNumber of text chunks
Embedding modelWhether embedding model loads (if vectors enabled)

Configuration Checks

CheckDescription
Vectors statusEnabled or disabled
Token configurationWhether MCP tokens are configured
Inbox configurationInbox enabled and path exists
Watcher dependencyWarn if watcher enabled but watchdog missing

Common Issues

Missing Config File

[✗] Config not found: ~/.hoard/config.yaml

Fix: Run hoard init to create configuration.

Empty Database

[!] 0 entities indexed

Fix: Add sources and sync:

Terminal window
hoard add ~/Documents/Notes
hoard sync

FTS Tables Missing

✗ FTS tables present

Fix: Delete the database and re-sync:

Terminal window
rm ~/.hoard/hoard.db
hoard sync

Vectors Disabled

[!] Vectors disabled (run 'hoard init --vectors' to enable)

Fix: Enable vectors if you want semantic search:

Terminal window
hoard init --vectors

No Tokens

[✗] No tokens configured

Fix: Create a token:

Terminal window
hoard tokens add default

Exit Codes

CodeMeaning
0Checks completed

See Also