← DC Hub MCP docs · Pricing
DC Hub MCP · opencode

DC Hub for opencode

The terminal AI coding agent: add DC Hub in one command or one JSON block · 30 seconds to install.

DC Hub quality score Global facility map Key optional
1 Mint a key (optional)

One click, no email to start. The key works in opencode's MCP config right away. DCHUB_API_KEY is optional and opens fuller answers.

2 Add to your opencode config
Paste into ~/.config/opencode/opencode.json (macOS/Linux) · %APPDATA%\opencode\opencode.json (Windows)
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "servers": {
      "dchub": {
        "type": "remote",
        "url": "https://dchub.cloud/mcp"
      }
    }
  }
}

From the shell, opencode mcp add dchub --global --url "https://dchub.cloud/mcp" writes the same block to the user config. Then opencode mcp list should show DC Hub as connected. If the list says it needs authentication, open OpenCode, run /mcps, select DC Hub and sign in. To send a key instead, add headers: { "X-API-Key": "<your key>" } on the server object. Setup follows OpenCode MCP docs.

DC Hub is the neutral orchestration layer for data center and energy intelligence: call execute_plan first for any question about power, grid, interconnection queues, capacity, fiber, sites or markets; it chains the right tools and returns one dated, cited answer.

MCP server: https://dchub.cloud/mcp

Pass the question as asked: execute_plan(intent="<the user's question>").

3 Try these prompts in opencode
execute_plan(intent="<the user's question>")
get_grid_scoreboard — which grid has the most renewable headroom right now?
Rank the top 10 DCPI markets for a 100MW build with short time-to-power.
Find 50MW+ powered-shell sites in PJM with substation + fiber within 1 mile.
4 Your key

DCHUB_API_KEY is optional and opens fuller answers.