CLI Reference

Clew provides a command-line interface via the clew command (requires pip install scitex-clew[cli]).

Overview

clew --help-recursive    # Show all commands and subcommands

Core Commands

clew status              # Git-status-like verification overview
clew verify SESSION_ID   # Verify a specific session run
clew list                # List tracked runs
clew stats               # Database statistics
clew mermaid             # Generate Mermaid DAG diagram

Introspection

clew list-python-apis         # List all Python API functions
clew list-python-apis -v      # With signatures
clew list-python-apis -vv     # With descriptions
clew list-python-apis -vvv    # Full details

MCP Subcommands

clew mcp start           # Start MCP server
clew mcp doctor          # Check MCP dependencies
clew mcp installation    # Show installation instructions
clew mcp list-tools      # List available MCP tools
clew mcp list-tools -v   # With signatures