Green Router

io.github.jdhart81由 GitHub 账号 jdhart81 发布v0.1.0更新于 Nov 2, 2026

Carbon-accounted agent compute: free footprints; certificates backed by real offset retirement.

发布方自己的服务:370.ai — AI Gateway: 100+ Chat Models, Image & Speech Generation

已验证Streamable HTTP可网页运行云端与基础设施金融数据与分析

概览

AI 生成的概览

估算 AI 工作负载的能耗与碳排放,按碳排对计算后端排序,并签发付费的碳抵消注销证书。

可以做什么
  • 按后端类型、token 数量及可选的电网排放因子或 PUE 输入,估算工作负载的能耗与碳足迹
  • 按碳排对计算后端排序,给出最环保的可用路径及每次调用节省的二氧化碳当量
  • 通过清算机构注销经核证的抵消量来认证工作负载,返回可机器验证的证书
  • 重新计算证书中的足迹并与认证数值比对,同时给出清算机构的购买编号以核验证书
  • 列出证书台账,包括数量、累计注销克数与清算机构总成本
  • 说明该代理的能力与输入约定
适用场景
适合需要比较同一工作负载在不同后端上的碳成本,或需要为声明的算力足迹取得可审计、有抵消支撑的证书时使用。仅做估算时,免费的足迹与路由工具已足够;认证适用于确实需要可验证注销记录的场合。
运行要求
通过 streamable HTTP 连接的远程 MCP 端点;未声明任何软件包、环境变量或请求头。托管服务每个服务每日免费 10 次调用,超出免费额度后认证按每次 0.50 美元计费,因此付费调用需要支付渠道。
安装前请注意
certify 工具会产生费用(超出免费额度后 0.50 美元),并会通过清算机构实际注销碳抵消量,该操作不可撤销。认证为失败即关闭:未完成注销就不签发证书。托管服务的支付、结算与签名层为专有实现,不在开源仓库中,自行部署无法复现这些能力。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Green Router,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.jdhart81%2Fgreen-router/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "green-router": {
      "type": "http",
      "url": "https://mcp.viridisconservation.com/green-router/mcp"
    }
  }
}

README

Viridis Agent Fleet: open-source agents for the agent economy

Deterministic, auditable MCP agents: trust and settlement rails (identity, trust, escrow, metering, arbitration, notary, surety, provenance, covenant, offsets, compute-ledger) and priced-grade services (tax credits, GHG accounting, construction takeoff, measurement, compliance). Every core is pure Python with no LLM in the serving path, and every result is content-addressed so anyone can re-verify it.

Licensed Apache-2.0. Run any agent yourself, fork it, embed it.

Run an agent locally (free, forever)

bash
pip install -r requirements-dev.txtpython3 agent-escrow-agent/adapters/mcp_server.py          # stdio MCPpython3 run_fleet_tests.py                                 # every agent's invariant tests

Or use the hosted fleet

https://mcp.viridisconservation.com runs all agents as one managed MCP service:

Self-hosted (this repo)Hosted by Viridis
Agent logic & verification✅ identical✅ identical
Viridis-signed receipts & notary chain–✅
Shared trust/reputation network data–✅
Maintained rule packs (tax, GHG factors, regs)snapshot✅ kept current
Payments (x402, card), seats, SLA–✅

Free tier: 10 calls/day per service; the rails (identity, escrow, metering…) are free forever. Verification is always free.

For agents

Agents and LLM tools can start from llms.txt, a generated index of every agent, and AGENTS.md, the rules for using and changing the fleet.

Part of the Viridis open-source commons

Building agents for conservation or energy work? VergeCommon and EnergyAI MCP also expose MCP tools, and ViridisOS serves its decision functions to agents over MCP.

This project is one of a connected set of open tools from Viridis. Each stands on its own; together they run from field evidence to checked decisions.

Conservation commons

Verifiable science

  • Viridis Canon: machine-checked Lean 4 mathematics for ecological decisions, with a DOI for every result
  • ViridisOS: open reference runtime for DOI-backed decision modules and recomputable results
  • Viridis Research: the nightly public research record, each claim labeled by what a verifier actually checked
  • ProofLens: see what a Lean statement means before reading the proof

Agent tools

  • Viridis Agent Fleet (this repository): open-source MCP agents with deterministic, auditable cores
  • EnergyAI MCP: energy-planning estimates and incentive sources for AI agents

Browse every project on the Viridis profile. If this one is useful to you, a star helps other people find it.

Boundary

This repo contains agent cores, MCP adapters, tests, standards and self-host tooling. The hosted service layer (gateway, payment and settlement, seats, signing authority, operations, telemetry and customer data) is proprietary and is not in this repo. Please don't open PRs that add it.

"Viridis", "Viridis Conservation" and the Viridis marks are trademarks of Viridis LLC; see TRADEMARKS.md.

来源:README.md,提交 350712c

工具

6

quote_footprint

FREE: honest energy/carbon footprint for an agent workload — {backend_id? (frontier_cloud | efficient_cloud | local_small), total_tokens, output_tokens, calls?, success_score?, grid_gco2e_per_kwh?, pue?, custom_backend? {id, wh_per_1k_tokens}}. Returns joules, gCO2e, useful bits, the retirement mass a certificate would carry, every model assumption with its source, and the Landauer context (GR1/GR2).

输入参数workload必填

green_route

FREE: rank compute backends by carbon for this workload — the greenest eligible path and the gCO2e saved per call. Carbon only (GR6); pair with /neurogenesis/mcp route_task for quality-floor routing.

输入参数workload必填allowed_backends

certify

PAID ($0.50 after free tier): compute the workload footprint, then RETIRE the required verified offset mass through the fleet's own clearinghouse — Verra provenance rides into the certificate; no retirement, no certificate (GR3, fail-closed). Returns a machine-verifiable certificate anyone can check for free (GR4).

输入参数workload必填request_id

verify_green_certificate

FREE forever (GR5): recompute a certificate's footprint from its stored workload, compare against the certified numbers, and surface the clearinghouse purchase_id for the independent x402-C verify_retirement check on /offsets/mcp.

输入参数certificate_id必填

list_green_certificates

FREE: the certificate ledger — counts, total grams retired, total clearinghouse cost (honest books, GR8).

输入参数limit

describe_agent

Return capabilities and input contract.

无需输入参数。

版本历史

1
  1. v0.1.0最新Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Router 集成