Koskamo

mcp-clickhouse

An MCP server for ClickHouse that allows AI agents to explore, query, and manage data. It features SQL-classification-based security modes (read-only, read-write, admin) and access-control flags to gate destructive operations, list databases, describe tables, and execute queries safely.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

mcp-clickhouse logo, by dockndevaiCommunity listingLocal stdioSource reviewed; not executedPublished by dockndevai
Vendor documentation

What you can do with it

  • List databases and tables in a ClickHouse instance
  • Describe table schemas and view table statistics
  • Execute read-only SQL queries for data analysis
  • Run write or destructive statements with admin mode and approval

Source and maintenance

Community listingRegistry 0.3.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

@dockndevai/mcp-clickhouse 0.3.0

npm
@dockndevai/mcp-clickhouse package definition
{
  "version": "0.3.0",
  "transport": "stdio",
  "identifier": "@dockndevai/mcp-clickhouse",
  "registryType": "npm",
  "registryBaseUrl": "https://registry.npmjs.org",
  "environmentVariables": [
    {
      "name": "CLICKHOUSE_URL",
      "description": "ClickHouse HTTP endpoint."
    },
    {
      "name": "CLICKHOUSE_USER",
      "description": "ClickHouse user (prefer a read-only user)."
    },
    {
      "name": "CLICKHOUSE_PASSWORD",
      "description": "ClickHouse password."
    },
    {
      "name": "CLICKHOUSE_MODE",
      "description": "Access mode: read-only | read-write | admin."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "mcp-clickhouse": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-clickhouse@0.3.0"
      ],
      "env": {
        "CLICKHOUSE_URL": "<YOUR_CLICKHOUSE_URL>",
        "CLICKHOUSE_USER": "<YOUR_CLICKHOUSE_USER>",
        "CLICKHOUSE_PASSWORD": "<YOUR_CLICKHOUSE_PASSWORD>",
        "CLICKHOUSE_MODE": "<YOUR_CLICKHOUSE_MODE>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "mcp-clickhouse": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-clickhouse@0.3.0"
      ],
      "env": {
        "CLICKHOUSE_URL": "<YOUR_CLICKHOUSE_URL>",
        "CLICKHOUSE_USER": "<YOUR_CLICKHOUSE_USER>",
        "CLICKHOUSE_PASSWORD": "<YOUR_CLICKHOUSE_PASSWORD>",
        "CLICKHOUSE_MODE": "<YOUR_CLICKHOUSE_MODE>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "mcp-clickhouse": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-clickhouse@0.3.0"
      ],
      "env": {
        "CLICKHOUSE_URL": "<YOUR_CLICKHOUSE_URL>",
        "CLICKHOUSE_USER": "<YOUR_CLICKHOUSE_USER>",
        "CLICKHOUSE_PASSWORD": "<YOUR_CLICKHOUSE_PASSWORD>",
        "CLICKHOUSE_MODE": "<YOUR_CLICKHOUSE_MODE>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "mcp-clickhouse": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-clickhouse@0.3.0"
      ],
      "env": {
        "CLICKHOUSE_URL": "<YOUR_CLICKHOUSE_URL>",
        "CLICKHOUSE_USER": "<YOUR_CLICKHOUSE_USER>",
        "CLICKHOUSE_PASSWORD": "<YOUR_CLICKHOUSE_PASSWORD>",
        "CLICKHOUSE_MODE": "<YOUR_CLICKHOUSE_MODE>"
      }
    }
  }
}

Let your agent find its tools

Find servers like mcp-clickhouse from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.