Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
GPU energy per million output tokens by model, GPU and configuration, with grid carbon by country.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"green-token-index": {
"command": "uvx",
"args": [
"leadgreen-mcp"
]
}
}
}在终端中运行这条命令
claude mcp add green-token-index -- uvx leadgreen-mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"green-token-index": {
"command": "uvx",
"args": [
"leadgreen-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"green-token-index": {
"type": "stdio",
"command": "uvx",
"args": [
"leadgreen-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过域名 leadgreen.ai 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.3.1)于18天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Agent Data Tools: Utilities
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
103 tools: JSON repair, CSV, hashes, cron, dates, units, validators. 25 free calls.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Lead Green is a public index of the GPU energy it takes to serve a million output tokens (watt-hours per million output tokens), by model, GPU and configuration, with grid carbon intensity to price it anywhere, published as open data with a JSON API and an MCP server under CC BY 4.0. Every figure comes from a named public source with a retrieval date; it is a Katonic project, run and paid for by Katonic, and takes no money from hardware, cloud or model vendors.
Lead Green is run and paid for by Katonic, which sells a sovereign AI platform; it takes no money from hardware, cloud or model vendors.
This package is the MCP server for that index: GPU watt-hours per million output tokens by model, GPU and configuration, with grid carbon intensity by country and GPU hardware reference data. Every answer names its source and carries the caveat that the figures are GPU-only floors measured on a busy server.
pip install leadgreen-mcp
or, without installing, uvx leadgreen-mcp.
The same wheel is served from the site, with its SHA-256 printed on https://leadgreen.ai/mcp/:
pip install https://leadgreen.ai/dist/leadgreen_mcp-0.3.1-py3-none-any.whl
and the source installs with pip install "git+https://github.com/katonic-dev/leadgreen-ai#subdirectory=leadgreen-mcp".
Python 3.10 or later. Works with the mcp Python SDK 1.x and 2.x. Listed in the official MCP Registry as ai.leadgreen/green-token-index.
Two things are versioned separately. The package is 0.3.1 (this file, pyproject.toml, the wheel name). The data is a dated release of the Lead Green API; the copy bundled in the package is the release named in leadgreen_mcp/data/manifest.json (data_version), and the server reads the live API first, so a session normally answers from the current release whatever package version is installed. Every response says which it used in data_source and data_updated.
| Tool | What it answers |
|---|---|
list_models | Which models are on the index and on which GPUs |
energy_per_million_tokens(model, gpu?, itl_deadline_ms?) | The best row per GPU for a model |
estimate(model, output_tokens, gpu?, country?, running_batch?, num_gpus?, itl_deadline_ms?, pue?, system_power_ratio?) | GPU energy in Wh and kWh for a token count, kg CO2e for a grid, and optionally energy at the meter |
compare_gpus(model, itl_deadline_ms?) | H100 versus B200 for a model |
concurrency_curve(model, gpu) | Energy per token at every measured running batch |
grid_intensity(country) | Annual average gCO2e per kWh for a country or World |
gpu_hardware(gpu?) | Max TDP, memory, MIG profiles and whole-system ceilings |
sources | Every source, version, retrieval date and licence |
Resource: leadgreen://manifest.
running_batch: the average running batch the server holds, meaning how many requests it decodes at once (vLLM num_requests_running). The estimate then uses the measured configuration nearest to it, on the same GPU count as the best row (for example 2 x H100 for Qwen 3 32B), and widens to every GPU count only when that count has no measurements. requests_in_flight is the old name and is still accepted; giving both with different values is an error. Responses carry both avg_running_batch and avg_requests_in_flight (the same number).num_gpus: use configurations on exactly this many GPUs.itl_deadline_ms: the latency ceiling for choosing the best row. Rows whose median inter-token latency is at or under it are kept, and the lowest energy wins. Default 500 ms, the leaderboard's own default.pue and system_power_ratio (each at least 1.0): when either is given, estimate also returns energy at the meter, GPU energy x system_power_ratio x pue, labelled as such and shown beside the GPU figure. These are your assumptions, not measurements. For scale, a DGX B200 at its 14.3 kW maximum over 8 x 1.0 kW of GPU power is a ratio of about 1.79.country: a country name, the site's short name, an ISO 3166 alpha-3 or alpha-2 code, or World. Common names work: UK, GB, Britain, US, USA, America, Turkey, Korea, South Korea, Russia. Exact matches win over partial ones, and queries of three characters or fewer must match exactly, so US never lands on Australia. Grid figures are the 2024 annual average; years and latest_year show the other years available. They are lifecycle, location-based figures for comparing places, not a Scope 2 figure to file.caveat: the same sentence on every tool, taken from the API's index.json. Pass it on.boundary: gpu_only for the measured figures.data_source: live (fetched from the API), bundled snapshot (the copy shipped in the package) or local folder (when LEADGREEN_API_BASE is a folder).data_updated and data_version: how current the data is.https://leadgreen.ai/api/v1 (or the base you set), for the published JSON files: at most once per file per session, then cached in memory.LEADGREEN_API_BASE to a local folder holding the API files (for example a copy of leadgreen_mcp/data). Any other URL works too.Claude Desktop or Cursor (claude_desktop_config.json / .cursor/mcp.json):
{ "mcpServers": { "leadgreen": { "command": "leadgreen-mcp" } } }
With no network:
{ "mcpServers": { "leadgreen": { "command": "leadgreen-mcp", "env": { "LEADGREEN_API_BASE": "/path/to/api/v1" } } } }
Claude Code: claude mcp add leadgreen -- leadgreen-mcp
leadgreen-mcpClaude Desktop started from Finder, the Dock or the Start menu does not see the PATH your terminal uses, so a bare leadgreen-mcp can fail to start. Use the full path instead: run which leadgreen-mcp (macOS, Linux) or where leadgreen-mcp (Windows) and put the result in command. Alternatively, point command at the full path of your Python and set "args": ["-m", "leadgreen_mcp.server"].
Apache 2.0 for the code (see LICENSE). The data keeps the licences of its sources, listed in the manifest.