gwittebolle

Track the carbon footprint of your Claude Code sessions

18
2
100% credibility
Found Apr 08, 2026 at 18 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Shell
AI Summary

This open-source tool tracks the estimated carbon footprint of Claude Code AI coding sessions, displays it live in the status bar, stores historical data, generates shareable image reports, and offers tips to reduce emissions.

How It Works

1
πŸ” Discover claude-carbon

You hear about a helpful tool that shows the environmental impact of your AI coding sessions, like how much planet-warming gas they use.

2
πŸ“₯ Get and set it up

You bring the tool to your computer and run a simple setup that gathers your past sessions and prepares everything.

3
πŸ”— Link it to your coding assistant

You tell your AI coding app to show live carbon stats and save session details automatically – it takes just a quick update.

4
πŸ”„ Restart and start using

You refresh your coding app, and now every session shows a green progress bar with cost, carbon grams, and project name right there.

5
πŸ“Š Create your report

You run a command to make colorful image cards summarizing your total carbon use, top projects, and monthly trends.

6
🌿 Learn to reduce impact

The tool shares easy tips like picking lighter AI models or trimming extra words to cut your carbon footprint by half or more.

πŸŽ‰ Track and go greener

Now you see your AI sessions' real-world impact live, share brag-worthy reports, and make smarter choices for the planet.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 18 to 18 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is claude-carbon?

Claude-carbon is a Shell script that tracks the carbon footprint of your Claude Code sessions, displaying live CO2 estimates alongside session costs in the status line. It stores data in a local SQLite database, backfills historical transcripts, and generates shareable PNG reports via simple CLI commands like `generate-report.sh --since 2024-01-01`. Developers get visibility into claude carbon emissions from models like Opus and Sonnet, helping quantify AI's environmental impact without disrupting workflows.

Why is it gaining traction?

It stands out by integrating seamlessly into Claude Code's hooks and settings for real-time tracking, plus in-session `/claude-carbon:report` breakdowns and LinkedIn-ready visuals. Unlike generic github track carbon footprint tools, it uses peer-reviewed emission factors tailored to Anthropic models and offers practical reduction tips like model selection and token trimming. The hook is devs sharing "my claude carbon footprint is Xg" posts, sparking sustainability chats in AI circles.

Who should use this?

Claude Code power users building apps with Opus or Sonnet who want to monitor claude carbon emissions per project. Sustainability-focused backend engineers tracking AI weight in pipelines, or indie devs optimizing claude carbone for green deploys. Ideal if you're already logging transcripts and eyeing tools to track carbon frame in daily coding.

Verdict

Grab it if Claude Code is your daily driverβ€”setup is one script away, docs are solid, and reports impress. With 18 stars and 1.0% credibility score, it's early but functional for niche needs; contribute to boost maturity.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.