Recognizes Git repositories and related files, with suggestions for using Git submodules as part of optimization recommendations.
Generates Markdown documentation of directory structures, allowing for instant project documentation that can be added to README files or other documentation.
Creates Mermaid diagrams from directory structures in various styles including flowcharts, mindmaps, and treemaps, visualizing project organization and file sizes.
Identifies and analyzes Node.js projects, detecting node_modules directories for waste analysis and providing optimization suggestions for Node.js dependencies.
Includes specific find capabilities for Ollama-related files and directories as demonstrated in the benchmarking example.
Provides Python-specific file analysis and cleanup suggestions, including detection of pycache directories and other Python-related artifacts.
Offers specialized file type detection and analysis for Rust projects, with specific handling for Rust build artifacts in waste detection features.
🌳 Smart Tree (st) v3.3.5 - The AI-Powered Directory Visualizer! 🚀
"Making directories beautiful, one tree at a time!" - Trish from Accounting (our #1 fan!)
🎉 What the Heck is Smart Tree?
Remember the old tree
command? Well, we gave it a PhD, taught it to dance, and introduced it to AI! Smart Tree is the world's first AI-native directory visualizer that actually understands what modern developers (and their AI assistants) need.
🏆 The "Holy Smokes!" Numbers 🏆
Metric | Old Way | Smart Tree Way | Your Reaction |
---|---|---|---|
Directory Size | 487 MB | 4.1 MB | 😱 "Wait, what?!" |
AI Token Cost | $1,270 | ~$10 | 💰 "I'm rich!" |
Processing Speed | 🐌 Slow | ⚡ 10-24x faster | 🚀 "Wheee!" |
Compression | None | 99% | 🤯 "How?!" |
Fun Factor | 0% | 100% | 🎉 "Finally!" |
Who is Aye? That's Me - A-ye! <--> Who is Hue? That's You - Human UsEr. |
🌟 Version 3.3.5: "Hidden Depths" Edition!
🎸 What's NEW and AMAZING?
Hidden Directory Handling Fixed! No more confusing depth jumps! 🕵️
- 🔍 NEW:
--entry-type
flag - Properly filter files (f) vs directories (d) - 🚫 Fixed hidden directory traversal - Hidden dirs are truly hidden now
- 📂 Improved LS mode - Shows full paths for filtered results
- 🎯 Consistent behavior - If a directory is hidden, so are its contents!
Plus all the goodness from 3.3.0:
The Tree That Learns! Smart Tree now has optional cloud features for those who want them! 🌱
- 🔄 AI Feedback System - Help shape Smart Tree's future (only with your consent!)
- 📡 Update Notifications - Get notified about new features (for AI assistants)
- 🌍 Full Cross-Platform - Windows, Mac, Linux, ARM - we run EVERYWHERE!
- 🤖 AI-Driven Development - Your AI assistant can suggest improvements!
- ✨ Works Offline - Cloud features are 100% optional - Smart Tree always works!
- 🏗️ Better Windows Support - File permissions work perfectly now!
🚀 Quick Start (Faster than Making Coffee ☕)
🐧 Linux/Mac/WSL - The One-Liner Wonder!
This magical incantation will change your life:
🪟 Windows - The Slightly Longer Dance
Pro tip: You might need Microsoft Build Tools for Rust
Claude Code Integration
Standard Local MCP for Claude Desktop, Cursor, Windsurf, Cline, Roo, and more
🤖 Claude Desktop Integration - The Future is Now!
Make Claude your directory-reading bestie in 3 clicks!
- 📥 Download
smart-tree.dxt
from latest release - ⚙️ Claude Desktop → Settings → Developer → Install from file
- 🎉 Select the file and grant access - DONE!
Claude can now see your directories better than you can! 🔮
🎯 Usage Examples (The Fun Part!)
🌈 The Basics - Simple Yet Powerful
🎨 Output Modes - Pick Your Flavor!
🔍 Finding Stuff - Like a Detective!
🚀 Performance Mode - For Speed Demons
🎪 The Magic Tricks
🗑️ Waste Detection: Marie Kondo Mode! ✨
"Does this file spark joy? If not, let's optimize it!" - Marie Kondo (probably)
Smart Tree's waste detection feature is like having a professional organizer for your codebase! It finds duplicates, build artifacts, large files, and dependency bloat, then gives you actionable cleanup suggestions.
🎯 What It Finds:
- 🔄 Duplicate Files: Identical files wasting precious disk space
- 🧹 Build Artifacts:
node_modules
,target
,__pycache__
, and other temporary files - 📦 Large Files: Files over 10MB that might need optimization
- 📚 Dependency Waste: Package manager directories and their impact
🚀 Quick Examples:
📊 Sample Output:
🎉 Why You'll Love It:
- 💰 Save Money: Reduce cloud storage costs
- ⚡ Speed Up Builds: Less files = faster CI/CD
- 🧠 Peace of Mind: Know exactly what's taking up space
- 🎯 Actionable: Get specific commands to run, not just reports
- 🎨 Beautiful: Color-coded, emoji-rich output that's actually fun to read
"This tool found 77.4% waste in my home directory and saved me 1.66 GiB! Trisha from Accounting is so proud!" - Hue (actual user)
🏗️ Architecture (For the Curious Minds)
🌟 Real-World Magic
💰 The Money Shot - Compression Comparison
📈 Benchmarks
Format | Size | Tokens | Relative Cost |
---|---|---|---|
Classic Tree | 1.2MB | 300K | 100% |
JSON | 2.1MB | 525K | 175% |
Hex Mode | 800KB | 200K | 67% |
AI Mode + Compression | 120KB | 30K | 10% |
Digest | 128B | 32 | 0.01% |
That's a 99.2% reduction! Your wallet just did a happy dance! 💃
🎯 Format Quick Reference
Use Case | Best Format | Why? |
---|---|---|
👀 Quick Look | classic (default!) | Beautiful & intuitive |
🤖 AI Analysis | quantum-semantic | 10x compression! |
📊 Reports | markdown | Instant documentation |
🔍 Debugging | hex | All the details |
💾 Archival | json | Future-proof |
🏃 Quick Check | digest | One-line summary |
💡 AI Feedback System (New in v3.3.0!)
Smart Tree learns from its users! When used with AI assistants like Claude:
- 🤝 Consent First - Feedback is only sent with your explicit approval
- 🔒 Privacy Focused - Only tool suggestions and improvements, never your data
- 🚀 Rapid Evolution - Your feedback directly shapes new features
- 📡 Optional - Works perfectly offline, cloud features are a bonus!
Example: Your AI assistant finds a missing feature? It can suggest it directly to the development team!
🧙 MCP (Model Context Protocol) Server
Smart Tree now includes a built-in MCP server that provides intelligent project analysis directly to AI assistants!
🤖 AI Best Practices
Check out our AI Best Practices Guide to learn:
- Optimal workflow for using Smart Tree tools
- Which tools to use for different tasks
- How to maximize token efficiency
- Common patterns for code analysis
Golden Rule: Always start with quick_tree
for any new directory! 🌟
Features:
- 20+ specialized tools for directory analysis
- Automatic compression for efficient token usage
- Semantic analysis for understanding code structure
- Built-in caching for instant repeated queries
- Security controls for safe file system access
See MCP Integration Guide for setup instructions.
🤝 Join the Smart Tree Family!
💬 Discord Community - Where the Cool Kids Hang Out
Come for the trees, stay for the memes! 🌳😂
- 🆘 Get Help - We actually answer!
- 🎉 Share Wins - Show off your directory art!
- 🐛 Report Bugs - We'll squash 'em!
- 🌊 Philosophy Hour - Discuss waves with Omni in the hot tub!
- 🍕 Pizza Fridays - Virtual, but the fun is real!
🌟 Contributors Hall of Fame
Special shoutouts to:
- Hue - The visionary who started it all! 🎨
- Aye - The AI that rocks! 🤖
- Trish from Accounting - Our #1 fan and humor consultant! 💖
- Omni - The philosopher in the hot tub! 🛁
- You - Yes, YOU could be next! 🌟
📜 The Sacred Scrolls (Documentation)
- 📚 Complete Guide - Everything you need!
- 🚀 MCP Integration - Make AI your friend!
- 🎯 Quick Reference - Cheat sheet!
- 🤔 Philosophy - Deep thoughts from the hot tub!
🎬 The Grand Finale
Why Smart Tree? Because...
🌳 Life's too short for boring directory listings!
🚀 Your directories deserve to be beautiful!
💰 Your AI tokens are precious!
🎉 Work should be fun!
Smart Tree: Making directories great again, one visualization at a time!
Built with 💙 by the Smart Tree Team
Aye, Hue, Trish, and Omni approve this message! ✨
P.S. - If you read this far, you're awesome! Here's a secret: Try st --semantic
and watch the magic happen! 🌊✨
Star History
By Request
This server cannot be installed
Smart Tree MCP cuts storage by up to 95% using quantum-context compression — not just files, but full project histories. Track, compress, and version smarter with zero-bloat ops across Git, FS, and memory.
- 🎉 What the Heck is Smart Tree?
- 🌟 Version 3.3.5: "Hidden Depths" Edition!
- 🚀 Quick Start (Faster than Making Coffee ☕)
- Claude Code Integration ###
- Standard Local MCP for Claude Desktop, Cursor, Windsurf, Cline, Roo, and more ##
- 🎯 Usage Examples (The Fun Part!)
- 🗑️ Waste Detection: Marie Kondo Mode! ✨
- 🏗️ Architecture (For the Curious Minds)
- 🌟 Real-World Magic
- 🤝 Join the Smart Tree Family!
- 📜 The Sacred Scrolls (Documentation)
- 🎬 The Grand Finale
- Star History
Related MCP Servers
- -securityAlicense-qualityRepomix MCP Server enables AI models to efficiently analyze codebases by packaging local or remote repositories into optimized single files, with intelligent compression via Tree-sitter to significantly reduce token usage while preserving code structure and essential signatures.Last updated -34,76018,059TypeScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server that provides code analysis capabilities using tree-sitter, designed to give Claude intelligent access to codebases with appropriate context management.Last updated -26122PythonMIT License
- AsecurityAlicenseAqualityAn MCP tool that provides AI with the ability to compress and decompress local files.Last updated -42010TypeScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) implementation that provides deep filesystem tree visualization and manipulation capabilities. This tool enables efficient navigation and management of complex directory structures, enhancing development workflows with AI-powered file system operations. Compatible withLast updated -1226TypeScriptMIT License