Cost Intelligence in Your Terminal
Query costs, get recommendations, analyze queries — all from the command line. Built for engineers, scriptable for automation.
$ cloptima accounts list ID Name Provider Status 11111111-2222-3333-4444-555555555555 prod-aws AWS ACTIVE 66666666-7777-8888-9999-000000000000 analytics GCP ACTIVE $ cloptima costs --cloud-account-id 11111111-2222-3333-4444-555555555555 --start-date 2026-03-01 --end-date 2026-03-05 --output table $ cloptima anomalies --cloud-account-id 11111111-2222-3333-4444-555555555555 --output json | jq '.data'
Available Commands
cloptima accounts listList cloud accounts available in your organization
cloptima costs --cloud-account-id <id>Query cloud costs with optional date and dimension filters
cloptima k8s costs --cluster-id <id>Analyze Kubernetes costs by workload and namespace
cloptima recommend --cloud-account-id <id>List optimization recommendations with savings estimates
cloptima anomalies --cloud-account-id <id>View and filter detected cost anomalies
cloptima budgetsCheck budget status across teams and accounts
cloptima status --cloud-account-id <id>Inspect ingestion and onboarding health for an account
cloptima mcp serveExpose the CLI as a local MCP stdio server for Claude, Cursor, and Cline
Multiple Output Formats
JSON, table, and CSV output. Pipe JSON to jq, feed CSV to spreadsheets, or stream to your AI agents.
Scriptable & Composable
Use --output json for CI/CD checks, reporting jobs, and custom FinOps automations.
Secure Token Auth
Use cloptima auth login for local keychain storage or set CLOPTIMA_ACCESS_TOKEN in CI.
Embedded MCP Server
Run cloptima mcp serve and connect Claude Desktop, Cursor, or Cline without a separate hosted MCP service.
Fast & Lightweight
Single Go binary, no runtime dependencies. Distributed through Homebrew and Docker image tags.
Install
# macOS / Homebrew brew tap cloptima/tap brew install cloptima-cli # Authenticate and store locally in keychain cloptima auth login # CI/CD export CLOPTIMA_ACCESS_TOKEN="your_pat_token" cloptima costs --cloud-account-id <uuid> --output json # MCP (local stdio server) cloptima mcp serve # Docker docker run --rm docker.io/cloptimaai/cloptima-cli:latest version
Need client config snippets? See Cloptima CLI MCP Setup.
FAQ
Try the CLI
Join companies already saving 30-40% on cloud infrastructure with AI-powered cost intelligence.