Eco Router

v0.1.1
io.github.stevensu04/eco-router-mcp Checked 2 days ago Published 2 months ago

Rank AWS, Google Cloud and Azure regions by grid carbon intensity and latency.

Values you need

VariableWhat it is
ELECTRICITY_MAPS_API_TOKENoptional secret Optional Electricity Maps API token for live grid data. Without it, annual averages are used.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add eco-router-mcp -- npx -y eco-router-mcp@0.1.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "eco-router-mcp": {
      "args": [
        "-y",
        "eco-router-mcp@0.1.1"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "eco-router-mcp": {
      "args": [
        "-y",
        "eco-router-mcp@0.1.1"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "eco-router-mcp": {
      "args": [
        "-y",
        "eco-router-mcp@0.1.1"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.eco-router-mcp]
command = "npx"
args = ["-y", "eco-router-mcp@0.1.1"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: list_regions, rank_regions, find_clean_window.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json