Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By gwittebollev1.21.0MITIn 3 marketplaces
Shows a live CO2 estimate for each Claude Code session in the status line and desktop app, with reports and pull request footprints on demand. Hooks save every session to a local SQLite database, with the estimate computed locally from token usage, so history outlasts the 30-day transcript purge.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 critical · 1 caution to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it sees, changes or blocks tool calls; reads files; reads environment variables (CLAUDE_CARBON_CARD_NUDGE_UNTIL_DAY, CLAUDE_CARBON_DB, CLAUDE_CARBON_LOCALE, CLAUDE_CARBON_NO_CARD_NUDGE, CLAUDE_CARBON_NO_UPDATE_NOTIFIER, CLAUDE_CONFIG_DIR, HOME, LANG, LC_ALL, LC_MESSAGES, USERPROFILE); reads your settings.
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
3 marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
CO2 of each answershowPerTurn
Show the CO2 of each answer at the end of the turn duration line. Off: only the session total stays.
booleandefault true
CO2 session total in the terminalshowSessionTotal
Pin the session's CO2 total and its API-price cost under the prompt in a terminal. Turn it off when your status line already shows it, such as ccstatusline with the claude-carbon segment. The desktop app keeps it.
booleandefault true

claude-carbon is an open source Claude Code plugin that tracks the carbon footprint of your sessions: a live CO2 estimate computed locally from your token usage, in the terminal status line and in the Code tab of the Claude desktop app, next to the session's API-equivalent cost. In the desktop app, /carbon-panel opens a pane with a pixel molecule coloured by this session's CO2 against the median of your past sessions, your usage over the period you pick, its warming stripes, and a button for your yearly card.
/carbon-panel: a pane in the Claude desktop app with your CO2 molecule, your usage and the warming stripes of your sessions (in a terminal, the session in the band above the prompt). See the mod~/.claude transcripts/carbon-report (text), /carbon-card (PNG), /carbon-pr (footprint of a pull request)About the
$figure. It is an API equivalent: what your session would cost at Anthropic's pay-as-you-go API list prices. On a Pro, Max or Ultra subscription you do not pay it; it shows the value of what you used, next to its CO2. See How it works.
In Claude Code, type:
/plugin install claude-carbon --marketplace gwittebolle/claude-carbon
Claude Code asks you to confirm the marketplace, shows what the plugin installs, then asks where to install it: pick Install for you. The same line works on macOS, Linux and Windows. In the Code tab of the Claude desktop app, if the line is not taken, paste this message instead and accept when Claude asks:
Install the claude-carbon plugin for me: claude plugin install claude-carbon --marketplace gwittebolle/claude-carbon
Then quit Claude Code completely, open it again and start a new session. Your CO2 now shows next to the session's cost:
$0.50 · 65gCO₂This session: 3.6 gCO₂ · $0.12The plugin sets that status line once, at its first session start, and only when you have none: another tool's status line is left as it is (to add the CO2 to it, see ccstatusline). /carbon-report gives your totals, and /carbon-panel opens the pane in the desktop app. The $ is an API-equivalent cost, not what your subscription bills. To update later, run /carbon-update.

7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub gwittebolle/claude-carbon --plugin claude-carbonPlugins from other owners that cover similar ground