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.