FRENES

Databases · MCP server

ClickHouse: MCP server, setup and security

ClickHouse is an open-source MCP server that lets an AI agent inspect schemas and run queries against a ClickHouse database. Its repository has 892 stars and its last commit is from October 21, 2026 and it is licensed under Apache-2.0.

Actively maintainedNeeds secretsTop 10% by stars

What ClickHouse does

According to its repository: “ClickHouse database integration with schema inspection and query capabilities.”

An MCP server gives an AI agent extra tools it calls during the conversation: the agent reads their description, decides to use them and gets the result back. ClickHouse is listed under Databases, a category of 138 servers in the directory, where it ranks #21 by stars.

Installing and connecting ClickHouse

Distribution modes declared in the official MCP registry:

  • PyPI package (Python, started with uvx or pip)
  • Docker (OCI) image

Like any MCP server, you declare it in your client's configuration (Claude Desktop, Claude Code, Cursor, VS Code, Codex…): a name, the command that starts it or its URL, and any environment variables. The client then starts it and lists its tools. Project language: Python.

The registry lists 2 secret variables to provide (API key, access token). Keep them in the client's environment variables, never in a shared file or a repository.

Security: what to check

An MCP server runs code with the rights you give it, and the model reads its tool descriptions: a malicious or compromised server can hijack the agent. Read the code, or pick a maintained and widely used server, before connecting it.

Points found for ClickHouse:

  • Secrets: the server acts with your credentials. Create a dedicated key with minimum rights and an expiry date.

Good practice: grant only the rights needed (least privilege), require human approval for irreversible actions, and run the AI agent security check.

Project activity and maintenance

Created on December 25, 2024, the ClickHouse/mcp-clickhouse repository has 892 stars and 210 forks, with 4 open issues. It has more stars than 91% of the servers in the directory. It received changes this month. Version published in the registry: 0.7.0 (September 21, 2026).

Stars measure attention, not quality: a recent, heavily promoted project can collect them fast, while a useful but niche server will have few.

DbxDbx : 27.7K27.7KMCP Toolbox for DatabasesMCP Toolbox for Databases : 16.7K16.7KNhostNhost : 9.4K9.4KJitsuJitsu : 5.1K5.1KPostgres MCP (crystaldba)Postgres MCP (crystaldba) : 3.4K3.4KLINQ to DBLINQ to DB : 3.3K3.3KSupabaseSupabase : 3K3KMindwtrMindwtr : 2.3K2.3KClickHouseClickHouse : 892892
GitHub stars of the most followed servers in the category (log scale); ClickHouse in orange. Checked October 25, 2026.

Verdict

ClickHouse is one of the most solid servers in its category: followed, maintained and well framed.

Strengths

  • Active project: recent commit
  • Widely followed: 892 stars
  • Listed in the official MCP registry
  • Permissive licence (Apache-2.0)

Limitations

  • Requires an API key or token

Avoid if…

  • You do not want to give credentials to an agent

Frequently asked questions

How do I install ClickHouse?

ClickHouse is distributed as PyPI package (Python, started with uvx or pip) and Docker (OCI) image. Add it to your client's MCP configuration (Claude Desktop, Cursor, VS Code…) following the README of ClickHouse/mcp-clickhouse.

Is ClickHouse free?

The code is published under the Apache-2.0 licence and can be used free of charge. It needs an API key: the service it connects to may be paid.

Is ClickHouse safe?

Points to watch: secrets. Give it minimum rights and approve sensitive actions.

Is it an official server?

Nothing says so: it is a project published by ClickHouse on GitHub. Check who maintains it before giving it access.

What are the alternatives to ClickHouse?

In the same category: Nhost, ArcadeDB MCP Server, Jitsu, and Supabase. Nhost and ArcadeDB MCP Server score higher on our grid.

Related articles

Neutrality. No affiliate links. No vendor pays to be reviewed, rated or ranked. Reviews are directed by François Chollet, neutral and factual, and every data point is dated and sourced. How we score