AiEDs
MCP server that estimates AI energy, CO2e and water use and validates AiEDs disclosures
AiEDs is an open-source MCP server for climate and sustainability. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, API, Self-hosted
- Runs
- Locally
- Version
- 2.5.1
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add aieds -- npx -y @randomknights/aieds-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"aieds": {
"command": "npx",
"args": [
"-y",
"@randomknights/aieds-mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"aieds": {
"command": "npx",
"args": [
"-y",
"@randomknights/aieds-mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"aieds": {
"command": "npx",
"args": [
"-y",
"@randomknights/aieds-mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"aieds": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@randomknights/aieds-mcp"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add aieds -- npx -y @randomknights/aieds-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.aieds]
command = "npx"
args = ["-y", "@randomknights/aieds-mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"aieds": {
"command": "npx",
"args": [
"-y",
"@randomknights/aieds-mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "aieds": { "command": "npx", "args": [ "-y", "@randomknights/aieds-mcp" ] } } }Or run: gemini mcp add -s user aieds npx -- -y @randomknights/aieds-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "aieds": { "command": "npx", "args": [ "-y", "@randomknights/aieds-mcp" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "aieds": { "command": "npx", "args": [ "-y", "@randomknights/aieds-mcp" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "aieds": { "command": "npx", "args": [ "-y", "@randomknights/aieds-mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "aieds": { "command": "npx", "args": [ "-y", "@randomknights/aieds-mcp" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "aieds": { "command": "npx", "args": [ "-y", "@randomknights/aieds-mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "aieds": { "command": "npx", "args": [ "-y", "@randomknights/aieds-mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "aieds": { "command": "npx", "args": [ "-y", "@randomknights/aieds-mcp" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About AiEDs
Gives AI agents and providers a way to estimate the energy, carbon and water footprint of a model run from compute metrics such as GPU seconds and hardware type. Estimates follow the AI Energy Disclosure Standard methodology, version 2.5.1, and return an energy figure in kWh, grams of CO2e for a chosen grid region, and a confidence rating that depends on how the inputs were measured.
A second tool checks a disclosure object against the standard's JSON Schema and returns any errors, plus a methodology badge when the disclosure conforms. It confirms schema conformance only and does not re-derive the energy math, since disclosures are self-attested by the producer.
The server runs locally over stdio with no API key, no secrets and no network calls. It suits developers building disclosures into logs, model cards or release assets, and teams that want factor tables for hardware, grid intensity and token proxies to inspect or build reports by hand.
Tools this server provides (3)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 3 names don't say.
From the server's own tool labels and tool names; not verified by us.
- aieds_estimate
- Deterministic energy and CO2e estimate from compute metrics, with optional water estimate.
- aieds_factors
- Returns the full AiEDs factor tables for hardware, grid intensities and token proxies.
- aieds_disclose
- Validates a disclosure object against the AiEDs JSON Schema.
What it does
- Energy and CO2e estimates
- Derives kWh and grams of CO2e from GPU seconds, hardware model and grid region.
- Water usage modeling
- Returns a low, default and high water estimate in millilitres and teaspoons for inference runs.
- Disclosure validation
- Checks a disclosure object against the AiEDs JSON Schema and lists any errors.
- Factor table access
- Exposes the hardware power, grid intensity and token factor tables the estimates use.
- Confidence grading
- Rates each estimate by how its inputs were measured, from low to high.
- Local, keyless operation
- Runs over stdio with no API key, secrets or outbound network traffic.
Good for
- Attach an energy and CO2e estimate to model training or inference logs
- Validate an AI energy disclosure before publishing it with a model card
- Compare the footprint of workloads across different hardware and grid regions
- Look up the factor tables behind an estimate to audit or build a report by hand
Pricing
Open source
Free and open source; no paid plan listed.
Prices change. Check standard.rand0m.ai before you buy.
AiEDs FAQ
Does the server need an API key or network access?
No. It runs locally over stdio with no keys, secrets or network calls.
Does the disclosure tool verify the energy numbers?
No. It checks schema conformance only. Disclosures are self-attested and the energy math is not re-derived.
How is AiEDs installed?
Through npm as @randomknights/aieds-mcp, with a client config that launches it via npx, or from a clone of the repository.
Why is the water estimate always low confidence?
The water output is a modeled estimate for inference, and its confidence is fixed at low.
Is AiEDs free?
Yes. AiEDs is open source, so you can use and self-host it for free.
How do I add AiEDs to Claude Code?
Run this command in your terminal: claude mcp add aieds -- npx -y @randomknights/aieds-mcp
What are the best alternatives to AiEDs?
The closest alternatives to AiEDs are SOMA AI Emission Factors (SAEF), Energyatit, Carbon Intelligence, WattScope and Agent Compute Ledger.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.