claude-carbon is an open-source plugin for Claude Code that estimates and displays the carbon footprint of your AI coding sessions in real time. It computes a local CO2 estimate from token usage and shows it alongside the API-equivalent cost in the terminal status line and the Claude desktop app. Each session is persisted to a local SQLite database, preserving history beyond Claude's 30-day transcript limit. The tool supports slash commands for generating text reports, PNG summary cards, and per-pull-request carbon footprints, with all data remaining on the user's machine.

github.comOpen Source
Upvotes
1
Pricing
Open Source
Category
Productivity
In the database since
Nov 2026
Overview
About claude-carbon
Newsletter
Tools like this change fast
New Productivity tools launch every week — the newsletter keeps you ahead of what's worth trying.
AI news twice a week
Join 250,000+ readers getting the most important AI news and coolest tools every Wednesday and Friday.