Clickhouse MCP Server

ClickHouse MCP Server for read-only database operations

Remote serverstreamable-httpGo

What is the Clickhouse MCP server?

Connect Clickhouse to Claude, Cursor or any other MCP client and it stops being a tab you switch to. ClickHouse MCP Server for read-only database operations. The clickhouse mcp server is what makes that connection.

What the server does

A collection of Model Context Protocol (MCP) servers developed by Arvore for seamless integration with AI assistants like Claude.

Installation

Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Read — only operations for safety
  • Multi — environment support (production, test, etc.)
  • Built — in SMTP server to receive real emails
  • Domain — wide delegation for full user-level access
  • Send — mode opt-in via GMAIL_MCP_ALLOW_SEND to prevent accidental sends
  • Categories — decisions, conventions, incidents, domain, gotchas
  • WebSocket — based communication between agent and extension
  • Real — time console capture with start/stop control
  • Cursor — based pagination with TTL
  • Inter — agent messaging (direct, broadcast, or to lead)
  • WhatsApp — style message view with date separators and sender grouping
  • Auto — refresh via filesystem watching (chokidar)

Credentials and setup notes

Configuration is passed through the environment: DATADOG_API_KEY, DATADOG_APP_KEY, DATADOG_SITE, MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DATABASE, MYSQL_PORT. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • Node.js >= 20 - pnpm >= 9

Worth knowing first

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Clickhouse.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

Plenty of database access servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Clickhouse's toolset — Read, Multi, Built and 11 more — is a fair guide to whether it matches your workflow. It is maintained by joao.barros.arvore; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Available tools

ToolWhat it does
Readonly operations for safety
Multienvironment support (production, test, etc.)
Builtin SMTP server to receive real emails
Domainwide delegation for full user-level access
Sendmode opt-in via GMAIL_MCP_ALLOW_SEND to prevent accidental sends
Categoriesdecisions, conventions, incidents, domain, gotchas
WebSocketbased communication between agent and extension
Realtime console capture with start/stop control
Cursorbased pagination with TTL
Interagent messaging (direct, broadcast, or to lead)
WhatsAppstyle message view with date separators and sender grouping
Autorefresh via filesystem watching (chokidar)
Multi-sessionclaim/release cards with session tracking across parallel chats
NetworkingVPCs, subnets, public IPs

How to install the Clickhouse MCP server

{
  "mcpServers": {
    "clickhouse-1": {
      "command": "npx",
      "args": ["-y", "@arvoretech/aws-secrets-manager-mcp"],
      "env": {
        "DATADOG_API_KEY": "your-value",
        "DATADOG_APP_KEY": "your-value",
        "DATADOG_SITE": "your-value",
        "MYSQL_HOST": "your-value",
        "MYSQL_USER": "your-value",
        "MYSQL_PASSWORD": "your-value",
        "MYSQL_DATABASE": "your-value",
        "MYSQL_PORT": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Node.js >= 20 - pnpm >= 9
VariableDescriptionRequired
DATADOG_API_KEYCredential the server authenticates with.Yes
DATADOG_APP_KEYCredential the server authenticates with.Yes
DATADOG_SITEConfiguration value read at startup.Optional
MYSQL_HOSTEndpoint or connection string the server talks to.Optional
MYSQL_USERConfiguration value read at startup.Optional
MYSQL_PASSWORDConfiguration value read at startup.Optional
MYSQL_DATABASEConfiguration value read at startup.Optional
MYSQL_PORTConfiguration value read at startup.Optional

Example prompts to try

  • Use Clickhouse to Read.
  • Use Clickhouse to Multi.
  • Use Clickhouse to Built.

Frequently asked questions

It connects Clickhouse to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (Read, Multi, Built, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Clickhouse directly.