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 整合