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 - Lightning Fast Directory Visualization
Smart Tree is a blazingly fast, AI-friendly directory visualization tool that's 10-24x faster than traditional
tree
. Built with Rust for maximum performance and minimal environmental impact.
✨ Key Features
- ⚡ Lightning Fast: 10-24x faster than traditional tree commands
- 🤖 AI-Optimized: Multiple output formats designed for LLM consumption
- 🗜️ Quantum Compression: Up to 10x output size reduction
- 🔍 Smart Search: Content search with line numbers and context
- 📡 MCP Server: 30+ tools for AI assistants via Model Context Protocol
- 🌍 Eco-Friendly: Saves CO2 with every scan through efficiency
🚀 Quick Start
📦 Installation Options
Homebrew (macOS/Linux)
From Source
For AI Assistants (Claude Desktop)
🎯 Common Use Cases
For Developers
For AI/LLMs
For Large Codebases
📊 Output Formats
Format | Description | Best For |
---|---|---|
classic | Traditional tree with emojis | Human viewing |
ai | Hexadecimal with compression | AI assistants |
quantum | Binary wave compression | Huge directories |
quantum-semantic | Semantic grouping | Code analysis |
summary-ai | Compressed summaries | Quick overviews |
json | Standard JSON | Data processing |
stats | Directory statistics | Project metrics |
See TERMINAL_EXAMPLES.md for beautiful output examples!
🛠️ MCP Server (AI Tools)
Smart Tree includes 30+ MCP tools for AI assistants:
🌍 Environmental Impact
Every Smart Tree scan saves energy and reduces CO2 emissions:
- 10-24x faster = Less CPU time
- Less CPU time = Less energy consumption
- Less energy = Lower carbon footprint
- Your impact: ~12g CO2 saved per 1000 scans
📚 Documentation
- TERMINAL_EXAMPLES.md - Beautiful terminal output examples
- CLAUDE.md - Development guide for AI assistants
- docs/ - Additional documentation
- scripts/manage.sh - Colorful project management
🤝 Contributing
We welcome contributions! Smart Tree is developed by a unique partnership:
- Hue (Human) - Vision and direction
- Aye (AI) - Implementation and optimization
- Trish (from Accounting) - Keeping us organized with style
📈 Version History
Current version: v4.8.8
Recent improvements:
- v4.8.8: Code formatting, linting, and maintenance updates by Claude
- v4.8.7: Moved Marqant to Crate
- v4.8.4: Automatic version management system
- v4.8.3: Fixed MCP schema validation
- v4.8.2: Local feedback fallback when API is offline
- v4.8.1: Simplified tool requests API
See CHANGELOG.md for full history.
🎉 Fun Facts
- Smart Tree processes 670,000+ files per second
- Written in 100% Rust for safety and speed
- Includes 40+ emoji mappings for file types
- Has saved approximately 1.2 tons of CO2 globally
- Features comments from "The Cheet" (our musical code narrator)
📄 License
MIT License - See LICENSE for details.
Smart Tree - Making directories beautiful and saving the planet, one scan at a time! 🌳
Developed with ❤️ by the 8b.is team
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 -21,08918,565TypeScriptMIT 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 -26141PythonMIT License
- AsecurityAlicenseAqualityAn MCP tool that provides AI with the ability to compress and decompress local files.Last updated -4111TypeScriptMIT 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 -1146TypeScriptMIT License