
ebb-ai
io.github.Vitalini由 GitHub 账号 Vitalini 发布v0.17.0更新于 Nov 6, 2026
Runs non-urgent LLM tasks at the cleanest grid hour before a deadline, via Batch APIs when allowed.
概览
把非紧急的 LLM 任务排到截止时间前电网碳排放最低的时段执行,时间允许时走服务商 Batch API。
- 可以做什么
- 规划与排队:在截止时间内推荐最清洁的时间窗,创建一次性或周期性任务,设置碳预算或最早开始时间。
- 查看与管理队列:查询队列或单个任务状态及碳回执,取消单个任务、整个重复系列或全部待执行任务。
- 调整时间:按预设或延迟推迟、更新截止时间、立即提前执行、重试失败任务。
- 读取电网数据:获取某地区逐小时的碳排放强度预测。
- 续接与用量:对已完成任务追加回复,读取本机订阅额度及可选的费用估算。
- 适用场景
- 适合用户说“今晚做”或“明天之前完成”而任务并不紧急的场景,可推迟到更清洁的时段执行。也适合时间灵活、又在意碳排放的周期性后台任务。
- 运行要求
- 以 stdio 方式在本机运行,通常通过 npx 启动,需要 Node.js。默认地区为 GB,其他区域需免费密钥或账号:EIA、ENTSO-E、WattTime 用户名与密码,或 Electricity Maps。通过 Anthropic 或 OpenAI 执行任务需相应 API 密钥;未配置电网密钥时使用模拟数据。需安装 tick 守护进程,排队任务才会真正执行。
安装
在 SourceWeft 中
- 打开 控制台中的 ebb-ai,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@tidegap/mcp
Renamed from
@ebb-ai/mcpin 0.18.0. Use the host config keytidegapandnpx -y @tidegap/mcp; theebb-mcpbin and theEBB_*variables were removed in 0.19. See Renamed from Ebb AI.
MCP server that lets your agent run non-urgent LLM tasks at the cleanest grid hour before a deadline.
Add it to any MCP host. When a user says "do this tonight" or "by tomorrow", the agent calls schedule_task. Tidegap then runs the task at the lowest-carbon grid hour before the deadline, and through the provider Batch API when the deadline allows.
- 12 MCP tools (measured), among them
recommend_window,schedule_task,check_queue_status,get_grid_forecast,cancel_task,postpone_task,update_deadline. - Live 72-hour forecast. GB needs no key; other regions use free keys (EIA, ENTSO-E, WattTime, Electricity Maps).
- One signed carbon receipt per task, stored in
~/.tidegap/queue.db.
Proof: one real GB run, 2026-09-30. Forecast peak 183 gCO2/kWh vs recommended window 88 gCO2/kWh, about 52 % lower for this run only (forecast, projected). Receipt at dispatch: 158 gCO2/kWh (measured). Host-specific configs: https://www.tidegap.com/docs#install
Run
The server speaks MCP over stdio. To wire it into an agent client:
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json
on macOS (Linux/Windows have similar paths):
Restart Claude Desktop after editing.
Claude Code
Add tidegap to your ~/.claude/mcp.json (or workspace .claude/mcp.json):
OpenClaw
Add to ~/.openclaw/mcp.json:
Tools exposed (12, measured)
Environment variables
These variables configure this MCP server (and the tidegap CLI, which reads
the same set). They are read at the server's own entry point and injected into
@tidegap/core, which is environment-pure and reads nothing ambient itself.
OpenClaw plugin users: the
@vitalini/tidegapOpenClaw plugin reads no environment variables. Configure it through plugin config instead, underplugins.entries.tidegap.configin your gateway config — the "Plugin config" column below names the field that replaces each variable. OpenClaw resolves the"${ENV_VAR}"shorthand in those fields, so you can keep exporting the same variables and let the gateway read them on the plugin's behalf.
Grid region
The server resolves the region of each tool call in this order:
- the tool call's
regionargument, TIDEGAP_DEFAULT_REGIONin the server's environment (the agent host's MCP config),- the region setting stored on this machine:
tidegap region set <zone>, or Settings → Grid region intidegap uiand the Mac app (keyTIDEGAP_DEFAULT_REGIONin~/.tidegap/config), - a guess from the machine's time zone,
GB.
The server reads the setting again when the file changes, so a new setting applies on the next tool call with no restart. A stored value that is not a supported zone is ignored, with one stderr warning per change. schedule_task replies carry region_source: flag | env | setting | timezone | fallback.
A region argument must be one of the 31 supported zones (any case). Another value is rejected with the closest zones and a link to request a region, for example Unknown zone UA. Closest: PL. Request a region: <link>. With TIDEGAP_ELECTRICITY_MAPS_API_KEY set, any zone passes, because Electricity Maps serves zones beyond the list; with TIDEGAP_ENTSOE_SECURITY_TOKEN set, IT passes too.
Develop
From the root of a clone of https://github.com/tidegap/tidegap:
来源:packages/mcp-server/README.md,提交 11e1df5
工具
0版本历史
1- v0.17.0最新Oct 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分