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 v5.0.7 - Lightning Fast Directory Visualization with Spicy TUI! 🌶️
Smart Tree is a blazingly fast, AI-friendly directory visualization tool that's 10-24x faster than traditional
tree
. Now with Spicy TUI mode for cyberpunk-cool directory browsing! Built with Rust for maximum performance and featuring revolutionary compression algorithms.
🌟 What's NEW in v5.0.7
Feature | Description | Command |
---|---|---|
🌶️ Spicy TUI | Interactive terminal UI with fuzzy search | st --tui |
🎸 Marqant Compression | 70-90% markdown compression | mq compress file.md |
🌊 SSE Streaming | Real-time directory monitoring | st --sse |
🧬 M8 Identity | Filesystem verification & caching | m8 init |
🌲 Tree-Sitter | AST-aware code editing | st --mode edit |
⚡ Quick Start
🌶️ Spicy TUI Mode (NEW!)
Experience directory browsing like never before with our cyberpunk-inspired terminal UI:
🎸 Marqant Compression Suite
Compress your documentation with rockstar efficiency:
🤖 AI & MCP Integration
For AI Assistants (Claude Desktop, Cursor, etc.)
AI-Optimized Formats
Format | Compression | Use Case | Command |
---|---|---|---|
ai | 10x | General AI consumption | st --mode ai |
quantum | 100x | Massive codebases | st --mode quantum |
quantum-semantic | 80x | Code understanding | st --mode quantum-semantic |
summary-ai | 50x | Quick overviews | st --mode summary-ai |
marqant | 70-90% | Documentation | st --mode marqant |
🚀 Performance Benchmarks
Tool | 100K Files | 1M Files | Memory Usage |
---|---|---|---|
Traditional tree | 45s ❌ | Crashes ❌ | 2GB+ |
Smart Tree | 2s ✅ | 18s ✅ | 50MB |
Smart Tree (streaming) | 1s ✅ | 8s ✅ | Constant 10MB |
🛠️ Advanced Features
🧬 M8 Identity System
Revolutionary filesystem verification with behavioral analysis:
🌊 SSE Real-time Monitoring
Watch directories update in real-time:
🌲 Tree-Sitter Code Intelligence
AST-aware code operations:
📊 Output Format Examples
🎯 Common Use Cases
For Developers
For DevOps
For AI/LLMs
📦 Installation
macOS/Linux (Homebrew)
From Source (All Platforms)
Cargo Install
🤝 Contributing
We love contributions! Smart Tree is a collaboration between humans (Hue) and AI (Aye), with occasional wisdom from Trish in accounting. Join our fun, fast, and efficient development culture:
See CONTRIBUTING.md for guidelines.
🎸 The Team
- Hue - The human partner, loves efficiency and hates boring code
- Aye - The AI assistant, makes everything fast and fun
- Trish - From accounting, keeps us organized with wit and charm
- The Cheet - Our rockstar mascot, compresses docs like a legend! 🤘
📊 Environmental Impact
Smart Tree saves approximately 0.5g CO2 per scan compared to traditional tools through:
- 10-24x faster execution (less CPU time)
- 80-90% smaller output (less network transfer)
- Constant memory usage (no swap thrashing)
Making the planet greener, one tree at a time! 🌍
📚 Documentation
- CLAUDE.md - AI assistant integration guide
- TERMINAL_EXAMPLES.md - Beautiful output examples
- MCP_TOOLS.md - Complete MCP tools reference
- FORMATS.md - All output format specifications
- SPICY_TUI.md - TUI mode documentation
📄 License
MIT License - see LICENSE
Built with 🦀 Rust | Powered by ⚡ Speed | Driven by 🎸 Rock & Roll
"Why make it boring when you can make it rock?" - The Cheet
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
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.
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 -26,00819,249MIT 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 -26165MIT License
- AsecurityAlicenseAqualityAn MCP tool that provides AI with the ability to compress and decompress local files.Last updated -4711MIT 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 -11610MIT License