vault_statistics_fs_tool
Analyze your entire Obsidian vault to get aggregate statistics including total notes, word count, links, unique tags, and average words per note.
Instructions
Get aggregate statistics for the entire vault.
Walks through the vault directory, analyzes all markdown files (excluding .obsidian), and aggregates statistics. Uses memory-efficient generator-based iteration.
Returns:
Total notes count
Total words across all notes
Total links (wikilinks + markdown links)
Unique tags count and sorted list
Average words per note
When to use:
Understanding vault size and complexity
Content inventory and auditing
Identifying most-used tags
Tracking vault growth
Performance:
1,000 notes: < 30 seconds
10,000 notes: < 5 minutes
Returns: Vault-wide aggregate statistics
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault_path | No | Path to vault root (optional, uses OBSIDIAN_VAULT_PATH env if not provided) | |
| ctx | No |