Clawdmeter: Measure Your Cloud Spend with a Simple CLI
Ever found yourself staring at a cloud bill wondering where all the money went? If you're a developer who loves the terminal and hates surprise invoices, Clawdmeter is a tiny tool that might save you some headache.
It's a dead simple CLI that fetches your AWS cost data and prints it in a clean, readable format. No dashboards, no complex setups. Just clawdmeter and your costs.
What It Does
Clawdmeter is a command line tool that connects to your AWS account via the Cost Explorer API and retrieves your current month's spending broken down by service. It shows you:
- Total cost so far
- Cost per AWS service (EC2, S3, Lambda, etc.)
- A simple table format you can read right in your terminal
It's basically du for your cloud bill.
Why It’s Cool
The best part? It respects cloud costs by keeping the output minimal. No bloated UI, no unnecessary charts. You get your data quickly and can pipe it into other tools if needed.
Some clever aspects:
- Uses the AWS SDK under the hood so you don't need extra dependencies
- Respects your existing AWS credentials (the usual
AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEYor SSO) - Outputs plain text or JSON for scripting
- Totally open source, one binary to download
If you're team "run everything from the terminal," this fits right in your workflow.
How to Try It
Head over to the GitHub repo:
https://github.com/HermannBjorgvin/Clawdmeter
Clone it, build it with Go (it's a single binary), and run:
clawdmeter
Make sure your AWS credentials are configured. If you've used aws configure or have environment variables set, it'll just work.
Detailed instructions are in the README. It's one of those projects you can try in under a minute.
Final Thoughts
Clawdmeter isn't trying to replace Cost Explorer or third party tools. It's a focused, no nonsense CLI for developers who want a quick snapshot of their spending without leaving the terminal. If you're tired of logging into the AWS console to check costs, grab this. It's small, it's fast, and it respects your time.
Brought to you by @githubprojects
Repository: https://github.com/HermannBjorgvin/Clawdmeter