# Trifle CLI ## Content # Trifle CLI The Trifle CLI lets you query and push metrics over the Trifle App API or a local SQLite database. It also ships an MCP server mode for AI agents. ## Quick links - [Installation](/trifle-cli/installation) - [Configuration](/trifle-cli/configuration) - [Usage](/trifle-cli/usage) - [MCP server](/trifle-cli/mcp) ## Example ```sh trifle metrics get \ --key event::signup \ --from 2026-01-24T00:00:00Z \ --to 2026-01-25T00:00:00Z \ --granularity 1h ```