Skip to content
AddHunt
MCP servers

Lead Green

MCP server for sourced AI model energy figures

Open source

  • Open source
  • Licence: Apache 2.0

In short

Lead Green publishes the Green Tokens index on the energy use of AI models and GPUs, and its open-source MCP server lets Claude, Cursor and other assistants answer questions about it with the source attached. It is for developers and teams who want sourced figures on AI energy and carbon.

What you get

  • Energy figures by model and GPU
  • Carbon estimates with sources and caveats
  • Eight tools and one resource
  • Bundled data snapshot for offline use
  • Only GET requests to a single host
  • Install with pip or uvx

The details

Lead Green, a Katonic project, maintains an index of how much energy AI models use, with breakdowns by model and GPU, estimates, carbon figures and the sources behind them. Besides the index pages and a data API, it ships a small MCP server so an assistant can quote a row together with its source and caveat instead of guessing a number.

Installing the server

The leadgreen-mcp package installs from PyPI with pip, runs without installation through uvx, or builds from source. It needs Python 3.10 or later, uses the stdio transport and works with versions 1.x and 2.x of the MCP Python SDK. The site publishes the wheel hash along with steps for a reproducible rebuild, and setup snippets for Claude Desktop, Claude Code and Cursor.

What leaves the machine

The server only makes HTTPS GET requests for the published JSON files on the Lead Green API, once per file per session. Questions, token counts, country and other tool inputs stay local, and all calculations run on the user's computer. If the site is unreachable, answers come from a snapshot bundled in the package, and the server can also read the API files from a local folder with no network at all. Each response says which data source it used and how recent the data is.

Alternatives to Lead Green

Questions

Does the Lead Green MCP server send questions anywhere?

No. It only fetches the published JSON files from the Lead Green API; questions, token counts and other inputs stay on the local machine.

Does it work offline?

Yes. When the site cannot be reached it falls back to a bundled snapshot, and it can be pointed at a local folder of API files so that it makes no requests.

Which clients are supported?

The site gives setup steps for Claude Desktop, Claude Code and Cursor, and other MCP-capable clients can use it as well.