What problem does it solve?
CERN ROOT file analysis often involves verbose MCP JSON exchanges. root-cli provides a compact, token-efficient command surface to inspect ROOT files, read branches, compute histograms, perform simple kinematic calculations, and export data.
Core Features & Use Cases
- Lightweight, modular commands for file discovery, file inspection, branch reading, histogram creation, and data export.
- Works with TTrees and RNTuples (including jagged arrays) and outputs machine-friendly JSON for downstream processing.
- Use Case: A data scientist quickly inventories ROOT files, inspects a file, reads a subset of branches, builds a histogram, and exports results with a few commands.
Quick Start
Configure your data path and run a minimal root-cli workflow to explore and analyze ROOT files.