# ebb-ai

> ebb-ai is an open-source MCP server for ai models and llm tooling. MCP server that queues non-urgent LLM tasks for the cleanest electricity grid hour. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted
- **Website:** https://www.ebb-ai.com
- **Repository:** https://github.com/vitalini/ebb-ai/tree/HEAD/packages/mcp-server
- **MCP Registry name:** io.github.Vitalini/ebb-ai
- **Categories:** AI models and LLM tooling, productivity
- **Listing updated:** 2026-11-15

## About

Registered as ebb-ai, this server has since been renamed Tidegap in version 0.18, with the npm package now @tidegap/mcp. The idea is that when a user says to do something tonight or by tomorrow, the agent calls schedule_task, and the task runs in the lowest-carbon hour before the deadline, through the provider's Batch API when time allows.

It reads a live 72-hour grid forecast. Great Britain needs no key, and other regions use free keys from EIA, ENTSO-E, WattTime or Electricity Maps. Each task gets one signed carbon receipt stored in a local SQLite queue. The README gives one real GB run in which the forecast peak was 183 gCO2/kWh against 88 in the chosen window, calling the roughly 52 percent saving a projection for that run only, with 158 measured at dispatch.

Queued tasks run through a small local daemon, and recurring jobs can be set daily, weekdays, weekly or every N hours. It dispatches to Anthropic or OpenAI with your own keys and is Apache-2.0 open source. Twelve tools are exposed, and there are TypeScript and Python libraries for the same scheduler.

## Features

- **Carbon-aware scheduling:** Runs a deferrable task at the lowest-carbon hour before its deadline.
- **Batch API dispatch:** Uses provider batch endpoints when the deadline allows.
- **Grid forecast:** 72-hour carbon intensity for a region.
- **Carbon receipts:** One signed receipt per task in a local queue.
- **Recurring jobs:** Daily, weekday, weekly or every N hours schedules.
- **Queue controls:** Postpone, cancel or change a deadline.

## Good for

- Defer a long summarisation until tomorrow morning
- Run a nightly report at the cleanest hour
- Check the grid forecast before deciding whether to wait
- Keep a record of the carbon intensity at dispatch
- Replace cron jobs with agent-scheduled tasks

## Install

### Claude Code (Terminal)

```sh
claude mcp add ebb-ai --env ANTHROPIC_API_KEY='<ANTHROPIC_API_KEY>' --env OPENAI_API_KEY='<OPENAI_API_KEY>' --env EBB_EIA_API_KEY='<EBB_EIA_API_KEY>' --env EBB_ENTSOE_SECURITY_TOKEN='<EBB_ENTSOE_SECURITY_TOKEN>' --env WATTTIME_PASSWORD='<WATTTIME_PASSWORD>' --env EBB_ELECTRICITY_MAPS_API_KEY='<EBB_ELECTRICITY_MAPS_API_KEY>' -- npx -y @ebb-ai/mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "ebb-ai": {
      "command": "npx",
      "args": [
        "-y",
        "@ebb-ai/mcp"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "EBB_EIA_API_KEY": "<EBB_EIA_API_KEY>",
        "EBB_ENTSOE_SECURITY_TOKEN": "<EBB_ENTSOE_SECURITY_TOKEN>",
        "WATTTIME_PASSWORD": "<WATTTIME_PASSWORD>",
        "EBB_ELECTRICITY_MAPS_API_KEY": "<EBB_ELECTRICITY_MAPS_API_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "ebb-ai": {
      "command": "npx",
      "args": [
        "-y",
        "@ebb-ai/mcp"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "EBB_EIA_API_KEY": "<EBB_EIA_API_KEY>",
        "EBB_ENTSOE_SECURITY_TOKEN": "<EBB_ENTSOE_SECURITY_TOKEN>",
        "WATTTIME_PASSWORD": "<WATTTIME_PASSWORD>",
        "EBB_ELECTRICITY_MAPS_API_KEY": "<EBB_ELECTRICITY_MAPS_API_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "ebb-ai": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ebb-ai/mcp"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "EBB_EIA_API_KEY": "<EBB_EIA_API_KEY>",
        "EBB_ENTSOE_SECURITY_TOKEN": "<EBB_ENTSOE_SECURITY_TOKEN>",
        "WATTTIME_PASSWORD": "<WATTTIME_PASSWORD>",
        "EBB_ELECTRICITY_MAPS_API_KEY": "<EBB_ELECTRICITY_MAPS_API_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "ebb-ai": {
      "command": "npx",
      "args": [
        "-y",
        "@ebb-ai/mcp"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "EBB_EIA_API_KEY": "<EBB_EIA_API_KEY>",
        "EBB_ENTSOE_SECURITY_TOKEN": "<EBB_ENTSOE_SECURITY_TOKEN>",
        "WATTTIME_PASSWORD": "<WATTTIME_PASSWORD>",
        "EBB_ELECTRICITY_MAPS_API_KEY": "<EBB_ELECTRICITY_MAPS_API_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "ebb-ai": {
      "command": "npx",
      "args": [
        "-y",
        "@ebb-ai/mcp"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "EBB_EIA_API_KEY": "<EBB_EIA_API_KEY>",
        "EBB_ENTSOE_SECURITY_TOKEN": "<EBB_ENTSOE_SECURITY_TOKEN>",
        "WATTTIME_PASSWORD": "<WATTTIME_PASSWORD>",
        "EBB_ELECTRICITY_MAPS_API_KEY": "<EBB_ELECTRICITY_MAPS_API_KEY>"
      }
    }
  }
}
```

## Tools

- `schedule_task`: Queue a task to run in the cleanest window before a deadline, or set a recurring job.
- `recommend_window`: Plan the cleanest window inside a deadline without queueing anything.
- `check_queue_status`: Show the status of queued tasks.
- `get_grid_forecast`: Hour-by-hour carbon intensity for a region.
- `cancel_task`: Cancel a task or a series.
- `postpone_task`: Postpone a queued task.
- `update_deadline`: Change a task's deadline.

## FAQ

### What licence is it under?

Apache-2.0.

### Which grid regions work without a key?

Great Britain. Other regions use free keys from EIA, ENTSO-E, WattTime or Electricity Maps.

### Which model providers can it dispatch to?

Anthropic and OpenAI using your own API keys.

### What happened to the Ebb AI name?

It was renamed Tidegap in version 0.18.0 and the package is now @tidegap/mcp.

### Is the carbon saving guaranteed?

No. The README says its example figure is a projection for one run only.

### Is ebb-ai free?

Yes. ebb-ai is open source, so you can use and self-host it for free.

### How do I add ebb-ai to Claude Code?

Run this command in your terminal: claude mcp add ebb-ai --env ANTHROPIC_API_KEY='<ANTHROPIC_API_KEY>' --env OPENAI_API_KEY='<OPENAI_API_KEY>' --env EBB_EIA_API_KEY='<EBB_EIA_API_KEY>' --env EBB_ENTSOE_SECURITY_TOKEN='<EBB_ENTSOE_SECURITY_TOKEN>' --env WATTTIME_PASSWORD='<WATTTIME_PASSWORD>' --env EBB_ELECTRICITY_MAPS_API_KEY='<EBB_ELECTRICITY_MAPS_API_KEY>' -- npx -y @ebb-ai/mcp

### What are the best alternatives to ebb-ai?

The closest alternatives to ebb-ai are Ha MCP, Claude Code Ultimate Guide, Concord MCP, note1 and CalderFlow.

## Alternatives

- [Ha MCP](https://ai-powered.com/mcp/ha-mcp): Ha MCP is an open-source MCP server for productivity.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.
- [note1](https://ai-powered.com/mcp/note1): note1 is an MCP server for productivity.
- [CalderFlow](https://ai-powered.com/mcp/calderflow): CalderFlow is a free MCP server for design and media.
- [nicemails](https://ai-powered.com/mcp/nicemails): nicemails is a freemium MCP server for communication.
- [ConvertAudioToText](https://ai-powered.com/mcp/convertaudiototext): ConvertAudioToText is a freemium MCP server for design and media.
- [MeetBetr](https://ai-powered.com/mcp/meetbetr): MeetBetr is a free MCP server for productivity.

---
Source: https://ai-powered.com/mcp/ebb-ai
