soma-ai-emission-factors

Level CLocal

SOMA AI Emission Factors (SAEF). Estimate the carbon and water footprint of AI API calls (OpenAI, Anthropic, LiteLLM, LangChain) and AI tools (ChatGPT, Copilot, Claude) with open CC BY 4.0 per-token factors by model class and cloud region. pip install saef. Peer-reviewed method: doi.org/10.1016/j.spc.2026.11.003

⭐ 1Office & ProductivityPythonRepo ↗Updated 2026-11-20

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "saef": {
      "command": "npx",
      "args": [
        "saef"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/guillermollopis/soma-ai-emission-factors

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "saef": {
      "command": "npx",
      "args": [
        "saef"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers