Skip to content
All independent projects

Making the footprint of AI coding visible

I built Tend because I wanted to understand the energy, carbon, and water associated with my Claude Code usage.

Tend reads usage records on your computer and estimates the footprint of each project. It then helps you find carbon removal and water restoration providers and keep a record of what you fund.

I designed and built the tool, its website, and the badges that let people share those estimates alongside their work.

Visit Tend
Role
Product design and development
Made with
Node.js · Claude Code
Status
Live, v1.0
When
2026
This week you used 240.0M tokens: 9.7 kg CO₂e, range 3.9 kg to 24 kg, 97 L of water, and 12 kg not yet restored.

From a week of tokens to a badge

01 / 05

Click the window to go through it yourself.

Why I built it

I could see what I was spending in dollars. I wanted to see the rest.

I use Claude Code to build projects, including this portfolio. As I used it more, I wanted to understand what that activity meant in electricity, emissions, and water.

I couldn’t find a figure specific to my usage. Public research offered a starting point, but I couldn’t know much about the infrastructure behind each request.

I built Tend to make an estimate from the information available, show how it was calculated, and give me a way to act on it.

A sample receipt: one team’s week of Claude Code use, by project

How it works

Start with the usage already recorded on your computer.

Claude Code keeps local usage records. Tend reads the token counts, model, and timestamps to organize activity by project.

It uses those counts to estimate electricity use, then applies assumptions about carbon emissions and water use.

The dashboard shows project totals, the estimated range, and any carbon removal or water restoration you’ve recorded.

Tend runs locally without an account. It reads usage metadata rather than the contents of your prompts or code.

This week you used 240.0M tokens. 9.7 kg CO₂e, range 3.9 kg to 24 kg. 97 L of water, from cooling and power generation. 12 kg not yet restored.
One project’s week, with example data

What I wrestled with

How do you make an uncertain number useful?

  • A single number is easy to understand, but it can suggest more certainty than the calculation supports.

    I included low, middle, and high estimates, with the assumptions available to inspect. The middle estimate gives people a starting point for deciding what to fund. The range shows how much that figure could change.

    I also kept the displayed numbers rounded. Extra decimal places wouldn’t make the underlying assumptions more reliable.

    Energy 8.39 kWh, range 3.36 to 21.0. Carbon 2.94 kg CO₂e, range 1.17 to 7.34. Water 29 L, range 12 to 73. Equivalent action $0.62, or $6.18 at 10×.
    Every figure with its low-to-high range
  • I wanted Tend to help people take action without suggesting that a purchase erases the resources used.

    The tool separates the estimated footprint from the amount funded. It links people to providers directly and records their carbon removal and water restoration purchases afterward.

    That distinction shaped the language throughout the product. “Estimated,” “funded,” and “restored” needed clear definitions wherever they appeared.

    Restore what you used: since Oct 22, 12 kg CO₂e and 116 L of water. The middle estimate for $6.40, 3× for $11.00, 10× for $27.40, then carbon removal $2.40 for 12 kg and water restoration $4.00 for one certificate.
    What to fund, kept apart from what was used
  • A funding entry needs a receipt or certificate link from a recognized provider before Tend counts it toward its restoration status. Entries without a link remain marked “Needs proof.”

    That creates a record someone can inspect. The link documents the purchase; it doesn’t make the original footprint estimate exact.

    Purchases, 1 of 1 with checked proof: 47 kg biochar and 465 L Colorado River basin, with its carbon proof link, marked Proof checked.
    A purchase with its proof checked

Taking action

From an estimate to a record of what you funded.

Tend shows funding options based on the middle estimate, including multiples for people who want to contribute more.

You buy directly from carbon removal and water restoration providers, then add the amount and supporting link to Tend.

The record keeps three things together: what was estimated, what was funded, and the evidence attached to it.

Carbon removal and water restoration remain separate. Funding one doesn’t count toward the other.

Record what you bought: 12 kg of biochar and 1,000 gallons in the Colorado River basin, each with its own certificate link, and the total paid.
Each purchase, with its own certificate link

Sharing the record

Keep the estimate beside the project.

I designed badges for website footers, case studies, project credits, and GitHub READMEs.

The badge reads a footprint file generated for the project. It shows a compact summary, with dates and supporting details available for someone who wants to look further.

The badge on this portfolio refers to the Claude Code usage behind its development. It doesn’t represent every resource used to build or run the site.

Rendering, other tools, and hosting would need their own accounting.

  • The pill: Tend’s t. mark, 1.44B tok · 58 kg, ✓ restored.Pill · for a footer
  • The label, Footprint facts: tokens 1.44B, energy 166.2 kWh, carbon 58 kg, water 582 L, estimate range 23 to 145 kg, CO₂ removed 47 kg ✓, water restored 465 L ✓, Tend’s method version 2026-10.Label · for a case study
  • The stub: Made with 1.44B tokens, Claude Code, November 2026, 70% Opus and 30% Sonnet, 58 kg CO₂e, 582 L of water, range 23 to 145 kg, funded 47 kg CO₂ removal and 465 L of water ✓.Stub · for project credits
  • The README badge: tend, 58.2 kg CO₂e · ✓ restored.README · for GitHub
The four badge styles, with example data

Where it is now

A working tool with room for better data.

Tend 1.0 is open source and free for individuals. It currently supports Claude Code.

I’m working toward support for Cursor, API usage, and Windows, and exploring what a version for teams would need.

The estimates can improve as better data becomes available. I’ve also included the methodology and a record of provider disclosures on Tend’s website, so people can examine the assumptions and see where information is missing.

The factors behind every estimate, each with a middle value, a range and its basis: generated tokens 1.0 Wh per 1k, fresh input 0.2, cached input 0.05, data-center overhead 1.2× PUE, grid carbon 0.35 kg CO₂e per kWh, water 3.5 L per kWh.
The factors behind every estimate, from Tend’s methodology

Reflection

The numbers and the wording had to agree.

This project made me examine the claims a small interface can make.

A badge can look definitive even when the calculation behind it has a wide range. A word like “restored” can imply more than a receipt establishes. A total can be misunderstood if its scope isn’t visible.

I worked through those problems in the estimates, labels, funding records, and badge together.

I wanted something I could use in my own work: a way to see an estimated footprint, understand its limits, and keep a record of what I did in response.

Back to top

Next independent project

Finjan

A coffee visit, across any distance.