G

Gauge

by seayniclabs · io.github.seayniclabs/gauge

Gives an AI assistant read access to a website's Umami analytics (sites, totals, time series, top pages, referrers, countries, browsers) and lets it send email through Resend with per-send human approval. Modules are toggled independently, and nothing is stored locally.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-seayniclabs-gauge": {
      "command": "uvx",
      "args": [
        "gauge-mcp"
      ],
      "env": {
        "GAUGE_UMAMI_URL": "<VALUE>",
        "GAUGE_UMAMI_USERNAME": "<VALUE>",
        "GAUGE_UMAMI_PASSWORD": "<YOUR_VALUE>",
        "GAUGE_UMAMI_API_KEY": "<YOUR_VALUE>",
        "GAUGE_RESEND_API_KEY": "<YOUR_VALUE>",
        "GAUGE_RESEND_FROM": "<VALUE>",
        "GAUGE_CONFIG": "<VALUE>",
        "GAUGE_UMAMI_ENABLED": "<VALUE>",
        "GAUGE_RESEND_ENABLED": "<VALUE>",
        "GAUGE_RESEND_FROM_NAME": "<VALUE>",
        "GAUGE_RESEND_REQUIRE_CONFIRM": "true",
        "GAUGE_RESEND_ALLOWED_RECIPIENTS": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-seayniclabs-gauge": {
      "command": "uvx",
      "args": [
        "gauge-mcp"
      ],
      "env": {
        "GAUGE_UMAMI_URL": "<VALUE>",
        "GAUGE_UMAMI_USERNAME": "<VALUE>",
        "GAUGE_UMAMI_PASSWORD": "<YOUR_VALUE>",
        "GAUGE_UMAMI_API_KEY": "<YOUR_VALUE>",
        "GAUGE_RESEND_API_KEY": "<YOUR_VALUE>",
        "GAUGE_RESEND_FROM": "<VALUE>",
        "GAUGE_CONFIG": "<VALUE>",
        "GAUGE_UMAMI_ENABLED": "<VALUE>",
        "GAUGE_RESEND_ENABLED": "<VALUE>",
        "GAUGE_RESEND_FROM_NAME": "<VALUE>",
        "GAUGE_RESEND_REQUIRE_CONFIRM": "true",
        "GAUGE_RESEND_ALLOWED_RECIPIENTS": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-seayniclabs-gauge": {
      "command": "uvx",
      "args": [
        "gauge-mcp"
      ],
      "env": {
        "GAUGE_UMAMI_URL": "<VALUE>",
        "GAUGE_UMAMI_USERNAME": "<VALUE>",
        "GAUGE_UMAMI_PASSWORD": "<YOUR_VALUE>",
        "GAUGE_UMAMI_API_KEY": "<YOUR_VALUE>",
        "GAUGE_RESEND_API_KEY": "<YOUR_VALUE>",
        "GAUGE_RESEND_FROM": "<VALUE>",
        "GAUGE_CONFIG": "<VALUE>",
        "GAUGE_UMAMI_ENABLED": "<VALUE>",
        "GAUGE_RESEND_ENABLED": "<VALUE>",
        "GAUGE_RESEND_FROM_NAME": "<VALUE>",
        "GAUGE_RESEND_REQUIRE_CONFIRM": "true",
        "GAUGE_RESEND_ALLOWED_RECIPIENTS": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-seayniclabs-gauge": {
      "command": "uvx",
      "args": [
        "gauge-mcp"
      ],
      "env": {
        "GAUGE_UMAMI_URL": "<VALUE>",
        "GAUGE_UMAMI_USERNAME": "<VALUE>",
        "GAUGE_UMAMI_PASSWORD": "<YOUR_VALUE>",
        "GAUGE_UMAMI_API_KEY": "<YOUR_VALUE>",
        "GAUGE_RESEND_API_KEY": "<YOUR_VALUE>",
        "GAUGE_RESEND_FROM": "<VALUE>",
        "GAUGE_CONFIG": "<VALUE>",
        "GAUGE_UMAMI_ENABLED": "<VALUE>",
        "GAUGE_RESEND_ENABLED": "<VALUE>",
        "GAUGE_RESEND_FROM_NAME": "<VALUE>",
        "GAUGE_RESEND_REQUIRE_CONFIRM": "true",
        "GAUGE_RESEND_ALLOWED_RECIPIENTS": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-seayniclabs-gauge": {
      "command": "uvx",
      "args": [
        "gauge-mcp"
      ],
      "env": {
        "GAUGE_UMAMI_URL": "<VALUE>",
        "GAUGE_UMAMI_USERNAME": "<VALUE>",
        "GAUGE_UMAMI_PASSWORD": "<YOUR_VALUE>",
        "GAUGE_UMAMI_API_KEY": "<YOUR_VALUE>",
        "GAUGE_RESEND_API_KEY": "<YOUR_VALUE>",
        "GAUGE_RESEND_FROM": "<VALUE>",
        "GAUGE_CONFIG": "<VALUE>",
        "GAUGE_UMAMI_ENABLED": "<VALUE>",
        "GAUGE_RESEND_ENABLED": "<VALUE>",
        "GAUGE_RESEND_FROM_NAME": "<VALUE>",
        "GAUGE_RESEND_REQUIRE_CONFIRM": "true",
        "GAUGE_RESEND_ALLOWED_RECIPIENTS": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-seayniclabs-gauge": {
      "command": "uvx",
      "args": [
        "gauge-mcp"
      ],
      "env": {
        "GAUGE_UMAMI_URL": "<VALUE>",
        "GAUGE_UMAMI_USERNAME": "<VALUE>",
        "GAUGE_UMAMI_PASSWORD": "<YOUR_VALUE>",
        "GAUGE_UMAMI_API_KEY": "<YOUR_VALUE>",
        "GAUGE_RESEND_API_KEY": "<YOUR_VALUE>",
        "GAUGE_RESEND_FROM": "<VALUE>",
        "GAUGE_CONFIG": "<VALUE>",
        "GAUGE_UMAMI_ENABLED": "<VALUE>",
        "GAUGE_RESEND_ENABLED": "<VALUE>",
        "GAUGE_RESEND_FROM_NAME": "<VALUE>",
        "GAUGE_RESEND_REQUIRE_CONFIRM": "true",
        "GAUGE_RESEND_ALLOWED_RECIPIENTS": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
GAUGE_UMAMI_URL No Your Umami address, e.g. https://analytics.example.com. Defaults to Umami Cloud when GAUGE_UMAMI_API_KEY is set.
GAUGE_UMAMI_USERNAME No A self-hosted Umami login. A view-only user is enough.
GAUGE_UMAMI_PASSWORD secret No Password for the self-hosted Umami login. A view-only user is enough.
GAUGE_UMAMI_API_KEY secret No Umami Cloud API key, used instead of a username/password login.
GAUGE_RESEND_API_KEY secret No Resend API key.
GAUGE_RESEND_FROM No Sender address on a domain verified in Resend.
GAUGE_CONFIG No Path to the optional config file. Defaults to ~/.config/gauge/config.toml.
GAUGE_UMAMI_ENABLED No Set to false to turn the umami module off.
GAUGE_RESEND_ENABLED No Set to false to turn the resend module off.
GAUGE_RESEND_FROM_NAME No Optional sender display name.
GAUGE_RESEND_REQUIRE_CONFIRM No true by default: you approve each send. false lets the assistant send on its own. Default: true
GAUGE_RESEND_ALLOWED_RECIPIENTS No Optional comma-separated addresses or @domains the assistant may send to without asking each time, e.g. me@example.com,@example.com.

Similar servers