Description
claude-carbon is an open-source Claude Code plugin that estimates the carbon footprint of your Claude Code sessions. It calculates a live CO2 estimate locally from your token usage, shows it in the terminal status line and in the Code tab of the Claude desktop app, and displays it next to the session's API-equivalent cost. The API-equivalent figure is what the session would cost at Anthropic's pay-as-you-go list prices, and the README notes that Pro or Max subscribers do not pay it. In the desktop app, the /carbon-panel command opens a pane with a pixel molecule colored by the session's CO2 against the median of your past sessions, your usage over a period you choose, warming stripes of your sessions, and a button for a yearly card. Other commands are /carbon-report for text, /carbon-card for a PNG image and /carbon-pr for the footprint of a pull request. Each session is saved to a local SQLite database so history survives the 30-day transcript purge, and existing transcripts in your Claude folder can be used to backfill history. The README includes a badge with your total and a public methodology with sourced factors. Installation offers a route through the desktop app and a terminal command. The project is public on GitHub.…
Highlights
- Live CO2 estimate in the status line and desktop app
- Panel with usage history and warming stripes
- Local SQLite history of sessions
- Text, PNG and pull request reports
- Sourced methodology
Ratings & Reviews
No ratings yet
Be the first to rate Claude Carbon.
People also visit
Claude Carbon FAQ
What is claude-carbon?
It is an open-source Claude Code plugin that estimates the CO2 footprint of your coding sessions from your token usage.
How is the estimate calculated?
The README says it is computed locally from your token usage, with factors that are sourced in a public methodology.
What does the dollar figure mean?
The README says it is the API-equivalent cost at Anthropic's pay-as-you-go list prices. Pro and Max subscribers do not pay it.
How do I install it?
The README gives two routes: install it from the Claude desktop app without a terminal, or run one command in a terminal.
Is it free?
Yes. The plugin is open source and the code is public on GitHub.
What are the best Claude Carbon alternatives?
Popular alternatives to Claude Carbon include Claude Lens, Claude Pulse and Claudetop. See all Claude Carbon alternatives
