Explore metrics, traces, and errors without leaving the terminal
Scout CLI brings your app's performance data into your terminal. Query endpoints, inspect traces, and feed results into your AI tools.
$ scout metrics get --type response_time --app 6 --from 7d
avg 142ms p95 380ms p99 810ms
▲ 12% vs prior week
$ scout errors list --app 6
NoMethodError 42 occurrences api/orders
TimeoutError 18 occurrences api/search
$ scout usage --by-day --from 7d
Mon 124,301 transactions
Tue 138,847 transactions
Wed 201,503 transactions ▲
$ scout insights list --app 6
N+1 query GET /api/posts ~240ms saved
1 insight found
Everything Scout tracks, available from the terminal
Response time, throughput, apdex, error rate, and queue time across any time range
List slow endpoints and drill into individual traces without opening a browser
View error lists, occurrences, and Scout insights like N+1 queries and memory bloat
Break down transaction volume to track usage and catch spikes
Pipe Scout data straight into your AI tools
Output is automatically structured when piped, so it works cleanly with AI tools, scripts, and other terminal tools without any extra flags.
scout apps list | llm "which app has the most endpoints?"
scout errors list --app 6 | llm "summarize the top errors"
scout usage --from 14d --json | jq '.[] | .transactions'
Install Scout CLI
Install via Homebrew on macOS and Linux:
brew install scoutapp/tap/scout-cli
Then authenticate with your Scout API key:
scout auth login --key YOUR_API_KEY
View on GitHub
Pre-built binaries for macOS, Linux, and Windows are available on the GitHub Releases page.
Built in Go. Clone the repo and run go build -o scout . to build from source.
Run scout completion bash, zsh, or fish to set up tab completion in your shell.
Scout CLI FAQ
What do I need to get started?
A Scout Monitoring account and your API key. Run scout auth login --key YOUR_API_KEY after installing and you're ready to go.
Does Scout CLI work on Windows?
Yes. Pre-built binaries are available for macOS, Linux, and Windows on the GitHub Releases page. Homebrew install is available on macOS and Linux.
Can I use Scout CLI with Claude Code or other AI assistants?
Yes. Scout CLI automatically switches to a compact structured format when output is piped, so it works cleanly with Claude Code, shell scripts, and other AI tools out of the box.
Is Scout CLI open source?
Yes. The source is available on GitHub.
What data does Scout CLI have access to?
Scout CLI has read-only access to metrics, endpoints, traces, errors, insights, and usage data from your Scout account.
Does using Scout CLI have any associated cost?
There is no direct cost for using Scout CLI. It uses API access from your existing Scout account.