Eco Router MCP Server
by stevensu04io.github.stevensu04/eco-router-mcpv0.1.1
Rank AWS, Google Cloud and Azure regions by grid carbon intensity and latency.
context tax
queued
security
queued
cold start
queued
freshness
Active18d ago
Install Eco Router MCP server
Install in Claude Code
claude mcp add eco-router -e ELECTRICITY_MAPS_API_TOKEN='<electricity-maps-api-token>' -- npx -y eco-router-mcpInstall in Cursor
{
"mcpServers": {
"eco-router": {
"command": "npx",
"args": [
"-y",
"eco-router-mcp"
],
"env": {
"ELECTRICITY_MAPS_API_TOKEN": "<electricity-maps-api-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"eco-router": {
"command": "npx",
"args": [
"-y",
"eco-router-mcp"
],
"env": {
"ELECTRICITY_MAPS_API_TOKEN": "<electricity-maps-api-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"eco-router": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"eco-router-mcp"
],
"env": {
"ELECTRICITY_MAPS_API_TOKEN": "<electricity-maps-api-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"eco-router": {
"command": "npx",
"args": [
"-y",
"eco-router-mcp"
],
"env": {
"ELECTRICITY_MAPS_API_TOKEN": "<electricity-maps-api-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| ELECTRICITY_MAPS_API_TOKEN | — | yes | Optional Electricity Maps API token for live grid data. Without it, annual averages are used. |
Freshness
Active — last maintenance signal 18d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-22 · 18d ago · GitHub
Latest release
2026-09-17 · 23d ago · GitHub · v0.1.0
Package published
no data · npm/PyPI
Registry entry updated
2026-09-22 · 18d ago · official registry · v0.1.1
FAQ
›How do I install the Eco Router MCP server in Claude Code?
Run: claude mcp add eco-router -e ELECTRICITY_MAPS_API_TOKEN='<electricity-maps-api-token>' -- npx -y eco-router-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Eco Router require an API key?
Yes. It expects ELECTRICITY_MAPS_API_TOKEN, of which 1 is a secret.
›Can I use Eco Router as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Eco Router in the official MCP registry?
Yes, as io.github.stevensu04/eco-router-mcp.
Alternatives to Eco Router
Other cloud platforms MCP servers.