Install · Google

✧ Add DC Hub to Gemini CLI

Live data-center, power, grid and fiber intelligence, cited and machine-readable, inside Gemini CLI. It is one paste — the URL below is the whole install.

Paste this as your Gemini CLI MCP server URL
https://dchub.cloud/mcp?via=gemini-cli

An email is optional: it ties the key to you, so we can re-send it if you lose it, and we email a weekly summary of what your key looked up (only in weeks it is used; unsubscribe anytime).
Or copy the URL as it is: it works with no account, at the free daily limit.
Why bother: A key raises your daily limit and gives you a consistent identity across sessions, so DC Hub can tell you what changed in the markets you have been watching instead of meeting you fresh each time.

Where it goes in Gemini CLI

~/.gemini/settings.json

  1. Open ~/.gemini/settings.json. Create it if it is not there — or use .gemini/settings.json inside a project to scope DC Hub to that repo.
  2. Add the block below, merging it into an existing mcpServers object if you have one.
  3. Prefer one command? Run gemini mcp add -s user --transport http dchub followed by the URL above and it writes the same entry to ~/.gemini/settings.json. Without -s user Gemini CLI writes it to the current folder's .gemini/settings.json only (its default scope is project).
  4. Or install the DC Hub extension instead, which adds the same server plus notes on when to use it: gemini extensions install https://github.com/azmartone67/dchub-mcp-server --ref main. Use the extension or the block below, not both: with both, Gemini CLI registers every tool twice.
  5. Start gemini and run /mcp to confirm dchub is listed. If it shows as Disabled, you are in a folder Gemini CLI does not trust yet: trust the folder and it connects.

Config-file route

~/.gemini/settings.json

{
  "mcpServers": {
    "dchub": {
      "httpUrl": "https://dchub.cloud/mcp?via=gemini-cli"
    }
  }
}
Worth knowing. Gemini CLI spells a Streamable-HTTP server httpUrl. url is the SSE form and command is stdio — put the DC Hub endpoint under either and the server is dialled with the wrong transport and never connects. This is the free Gemini CLI, which is a different product from Gemini Enterprise: no OAuth, no admin console, nothing to approve. It also reads a headers object, so an X-API-Key header carries the same key as the URL above if you would rather keep it out of the URL.
Signed in with a personal Google account? Gemini CLI now stops at sign-in with IneligibleTierError: This client is no longer supported for Gemini Code Assist for individuals. That comes from Google, before any MCP server loads; DC Hub needs no change. Two ways on: give Gemini CLI a Gemini API key (create one in Google AI Studio, run export GEMINI_API_KEY="your-key", then /auth and choose Use Gemini API key), or move to Antigravity, where Google is sending those accounts: add DC Hub to Antigravity.
Another client?
𝕏 Grok ◇ Claude ◉ ChatGPT ✦ Perplexity ▲ Cursor ◈ Claude Desktop ⌘ Claude Code ◉ Cline ▣ VS Code ◑ Windsurf ▽ Antigravity All connect guides