Skip to main content
Glama
carbon-footprint-mcp

carbon-footprint-mcp

Carbon Footprint Calculator (MCP Server)

An MCP (Model Context Protocol) server for calculating organizational carbon footprints from bank statements, financial exports, and structured activity data using EPA GHG emission factors.

Privacy and security first

  • Runs 100% locally on your machine or server

  • Sends no financial data to external APIs or cloud providers

  • Stores no data by default

  • Exposes read-only calculation and reporting tools

  • Works with Claude Desktop, Cursor, and other MCP clients

Why This Exists

If you are preparing ESG reporting, investor diligence materials, or internal sustainability reviews, getting to a usable emissions baseline is usually slow and manual.

This server helps turn raw bank statements, Xero or QBO exports, and structured operational inputs into a carbon footprint report in minutes. It maps activities to EPA-aligned emission factors and produces both HTML and Markdown outputs.

The user experience is designed to work for organizations in any country, while the current electricity benchmarking still uses EPA eGRID regional factors under the hood.

Related MCP server: carbonstop-mcp

What It Does

  1. Ingests bank CSVs, Xero or QBO exports, and structured activity data.

  2. Helps categorize transactions into likely emission sources such as electricity, fuel, travel, shipping, and waste.

  3. Computes Scope 1, Scope 2, and Scope 3 emissions using EPA GHG emission factors.

  4. Scores carbon intensity by revenue and headcount when those inputs are provided.

  5. Generates polished HTML and Markdown reports.

Emission Factor Source

All emission factors are based on the EPA GHG Emission Factors Hub (January 2025), including eGRID 2023 electricity factors and IPCC AR5 global warming potentials.

Covered categories include stationary combustion, mobile combustion, electricity, steam or heat, transportation, waste disposal, business travel, employee commuting, and refrigerants.

Installation

Claude Desktop

  1. Install uv.

  2. Open Claude Desktop settings and edit the MCP config.

  3. Add this server:

{
  "mcpServers": {
    "carbon-footprint": {
      "command": "uvx",
      "args": ["carbon-footprint-mcp"]
    }
  }
}
  1. Restart Claude Desktop.

Claude Code or Cursor

claude mcp add carbon-footprint -- uvx carbon-footprint-mcp

Local Development

git clone https://github.com/MayankTalwar0/carbon-footprint-mcp.git
cd carbon-footprint-mcp
pip install -e .
carbon-footprint-mcp

Available MCP Tools

Tool

Description

computeEmissions(inputs_json)

Computes GHG emissions from structured activity data across all 3 scopes.

generateEmissionsReport(emissions_json, output_dir)

Renders a polished HTML and Markdown report and saves it to disk.

listEmissionFactors(category)

Lists available fuel, eGRID, and waste emission factors.

Supported Emission Categories

Scope

Category

Input Required

1

Stationary Combustion

Fuel type and quantity

1

Mobile Combustion

Fuel type and gallons

1

Refrigerant Leakage

Gas type, leaked kg, and GWP

2

Purchased Electricity

kWh and eGRID subregion

2

Purchased Steam or Heat

mmBtu

3

Transportation and Distribution

Vehicle type and distance

3

Waste Disposal

Material, short tons, and disposal method

3

Business Travel

Travel mode and passenger-miles

3

Employee Commuting

Commute mode and passenger-miles

Carbon Intensity Scoring

Score

tCO2e per $1M Revenue

Interpretation

Excellent

< 5

Best-in-class for low-footprint operations

Good

5-20

Low intensity

Moderate

20-100

Typical for services and tech

High

100-500

Heavy operations

Very High

> 500

Very high intensity

License

MIT

Built By SlickBooks

Built by Mayank, founder of SlickBooks.

Available Tools

3 tools
computeEmissionsA
Computes greenhouse gas emissions from structured activity data.

IMPORTANT: After calling this tool, you MUST call generateEmissionsReport with the
full output of this tool. Do not present results to the user without first saving
the report files. The _required_next_step field in the response will remind you.

Args:
    inputs_json: A JSON string containing categorized activity data.
                 Required fields vary by scope:
                 - Scope 1: stationary_combustion, mobile_combustion, refrigerants
                 - Scope 2: electricity_kwh, egrid_subregion, steam_mmbtu
                 - Scope 3: business_travel, employee_commuting, transportation, waste
                 Optional: annual_revenue, headcount (for scoring), period, source
Returns:
    JSON string containing computed emissions by scope, totals, breakdown,
    carbon intensity scores, and a _required_next_step instruction.

Inputs: inputs_json (required). Returns: result

generateEmissionsReportA
Generates a carbon footprint report in HTML + Markdown and saves to disk.

Args:
    emissions_json: JSON string - the direct output from computeEmissions.
    output_dir: Directory to save reports to. Default is current directory.
Returns:
    JSON with paths to both report files and the markdown content inline.

Inputs: emissions_json (required), output_dir. Returns: result

listEmissionFactorsA
Lists available emission factors for reference.

Args:
    category: One of 'fuels', 'egrid', 'waste', or 'all'.
Returns:
    JSON string listing available factors.

Inputs: category. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clear, distinct purpose: computing emissions, generating reports, and listing emission factors. No functional overlap exists.

    Naming Consistency5/5

    All tool names follow a consistent camelCase verb_noun pattern: computeEmissions, generateEmissionsReport, listEmissionFactors.

    Tool Count5/5

    Three tools is appropriate for a focused carbon footprint calculator, covering computation, reporting, and reference without being too few or too many.

    Completeness4/5

    The tool set covers core workflow steps (compute, report, reference). Minor gaps like update/delete for reports or scenario comparison are not essential for the core purpose.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      D
      maintenance
      An MCP server that provides access to Northwood Capital Partners' portfolio carbon data, enabling MCP-compatible agents to query emissions, analyze decarbonization gaps, and simulate reduction initiatives through natural language.
      5
      -
    • A
      license
      B
      quality
      D
      maintenance
      MCP server enabling AI assistants to automatically perform carbon footprint modeling, product queries, and emission analysis via the Carbonstop Cloud API.
      8
      37 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Climatiq MCP server that calculates carbon footprints using emission factors, enabling users to list unit types and compute environmental impact.
      312 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for accessing and managing Banktivity personal finance data, enabling account, transaction, and budget operations through natural language.
      3
      MIT