Skip to content
MCP server
Registry

ClickHouse MCP Server

Query ClickHouse databases from AI assistants, read-only by default with opt-in writes.

ClickHouse scores 41 (Fair), licensed MIT and written in Python. It installs as a local process. It declares 2 tools. Filed under Databases, AI and memory. GitHub shows 2 stars. Package registries report about 18 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by burakdirinMITPython2 stars
Trust score
41Fair
Trust score 41 of 100, Fair

Fair trust

41 of 100 from six public signals. Nobody can buy a point.

  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 41 comes from

0 + 20 + 4 + 10 + 4 + 3 = 41. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity4 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 4 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs3 / 10

A real summary, a README with depth, listed tools.

Docs: 3 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "burakdirin-clickhouse-mcp-server": {      "command": "uvx",      "args": [        "clickhouse-mcp-server"      ],      "env": {        "CLICKHOUSE_HOST": "",        "CLICKHOUSE_PORT": "",        "CLICKHOUSE_USER": "default",        "CLICKHOUSE_PASSWORD": "YOUR_CLICKHOUSE_PASSWORD",        "CLICKHOUSE_DATABASE": "",        "CLICKHOUSE_SECURE": "false",        "CLICKHOUSE_VERIFY": "true",        "CLICKHOUSE_ALLOW_WRITE": "false",        "CLICKHOUSE_QUERY_TIMEOUT": "30",        "CLICKHOUSE_MAX_ROWS": "1000"      }    }  }}

Environment variables

NameRequiredNotes
CLICKHOUSE_HOSTRequiredClickHouse host name or IP address, without scheme or port.
CLICKHOUSE_PORTOptionalHTTP(S) port; 8123, or 8443 when CLICKHOUSE_SECURE is true.
CLICKHOUSE_USEROptionalUser name; use a dedicated user with SELECT grants only.
CLICKHOUSE_PASSWORDSecretOptionalPassword of the ClickHouse user.
CLICKHOUSE_DATABASEOptionalDefault database for unqualified table names.
CLICKHOUSE_SECUREOptionalConnect over HTTPS.
CLICKHOUSE_VERIFYOptionalVerify the server's TLS certificate.
CLICKHOUSE_ALLOW_WRITEOptionalOffer the clickhouse_execute tool, which can change data and schema.
CLICKHOUSE_QUERY_TIMEOUTOptionalSeconds before ClickHouse stops a statement.
CLICKHOUSE_MAX_ROWSOptionalMost rows clickhouse_query returns.

Tools2Tool docs quality grade F

All capabilities

About

Lets AI assistants run SQL against ClickHouse over MCP.

Frequently asked questions

What is ClickHouse MCP Server?

Query ClickHouse databases from AI assistants, read-only by default with opt-in writes.

How do I install ClickHouse MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. ClickHouse MCP Server runs locally from the PyPI package clickhouse-mcp-server with the command uvx clickhouse-mcp-server.

Is ClickHouse MCP Server free and open source?

Yes. ClickHouse MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does ClickHouse MCP Server support remote (HTTP) connections?

No remote endpoint is listed for ClickHouse MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does ClickHouse MCP Server provide?

ClickHouse MCP Server provides 2 tools: clickhouse_execute and clickhouse_query. See the full tool list for descriptions and parameters.

How is ClickHouse MCP Server's trust score calculated?

ClickHouse MCP Server scores 41 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server