claude-usage-cliQuery Claude API usage and cost reports from the command line. Secure macOS Keychain storage for Admin API key. Table/JSON output.
Install via ClawdBot CLI:
clawdbot install cyberash-dev/claude-usage-cliInstall claude-usage-cli via npm:
Install claude-usage-cli via npmRequires:
Grade Fair — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Calls external URL not in known-safe list
https://github.com/cyberash-dev/claude-usage-cliUses known external API (expected, informational)
api.anthropic.comAudited Apr 17, 2026 · audit v1.0
Generated Feb 23, 2026
A freelance developer uses this CLI to monitor API usage and costs across multiple client projects, ensuring they stay within budget and can invoice accurately. They filter by API key IDs to separate client expenses and generate JSON reports for documentation.
A startup building a SaaS product with Claude integration uses this tool to track daily token consumption and cost trends, optimizing model selection and usage patterns to control operational expenses. They group by model and workspace to analyze performance across different features.
An enterprise IT team employs this CLI to audit Claude API usage across departments, verifying compliance with internal policies and identifying cost-saving opportunities. They use custom date ranges and group-by options to generate detailed reports for management review.
Researchers at a university use this tool to monitor API costs for a large-scale AI research project, ensuring grant funds are allocated efficiently. They rely on the secure Keychain storage to protect the Admin API key while generating usage reports for funding reports.
A consulting firm offers AI cost optimization services, using this CLI to analyze client usage data and provide recommendations for reducing API expenses. They charge a monthly retainer or project-based fee for delivering actionable insights and reports.
A managed service provider integrates this tool into their platform to monitor and report on Claude API usage for clients, offering proactive cost management and alerting. Revenue is generated through subscription plans based on the number of monitored accounts or usage volume.
A training company develops workshops on AI cost management, using this CLI as a hands-on tool to teach participants how to track and optimize API expenses. Revenue comes from course fees, corporate training contracts, and selling supplementary materials.
💬 Integration Tip
Integrate this CLI into automated scripts using the --json flag for programmatic cost tracking, and ensure the Admin API key is securely stored in macOS Keychain to maintain compliance with data security standards.
Scored Apr 19, 2026
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
Runs shell commands inside a dedicated tmux session named claw, captures, and returns the output, with safety checks for destructive commands.
Capture, inspect, and compare screenshots of screens, windows, regions, web pages, simulators, and CI runs with the right tool, wait strategy, viewport, and...
Generate or refine agent-usable CLIs for existing software/codebases using the CLI-Anything methodology. Use when the user wants to turn a GUI app, desktop t...
Command-line tool to manage Google Workspace services including Gmail, Calendar, Drive, Sheets, Docs, Slides, Contacts, Tasks, People, Groups, and Keep.
Automate Windows GUI interactions (mouse, keyboard, windows) using PowerShell. Use when the user needs to simulate user input on the desktop, such as moving the cursor, clicking buttons, typing text in non-web apps, or managing window states.