Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Transports: stdio vs HTTP
  • State of MCP (stats)
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿ—„๏ธ Databases
  3. ClickHouse
ClickHouse logo
Health: ActiveRecent health check succeeded.Last checked 9/23/2026, 3:02:19 AM

ClickHouse

User RatingsBe the first to rate and review this MCP server!
View RepositoryVisit Website
clickhousedatabasedata-platformssqlmetadata

Read-only ClickHouse access for metadata discovery, parameterized queries, SHOW inspection, and query-plan analysis.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Configure Environment Variables (API Keys, Tokens, Options):
Add required secrets below โ€” values are included directly in the generated snippet so you can copy and paste with confidence.
Quick Add:
Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "clickhouse": {
      "command": "uvx",
      "args": [
        "mcp-clickhousex"
      ],
      "env": {
        "MCP_CLICKHOUSE_DSN": "YOUR_VALUE_HERE"
      }
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (4) Directory Badge Claim listing Alternatives๐Ÿ—„๏ธ More in Databases

Overview

ClickHouse MCP server exposes read-only ClickHouse metadata, query, inspection, and analysis capabilities through MCP tools and resources. It supports named profiles, parameterized SELECT queries, SHOW statements, query plans, and CSV snapshots for larger results. Strict validation rejects DML, DDL, SET, SYSTEM, and similar statements. Use it when an agent needs to explore schemas or analyze and retrieve ClickHouse data without write access.

Use cases

โ€ขExplore ClickHouse databases, tables, views, and columns
โ€ขRun parameterized read-only analytics queries
โ€ขInspect SHOW output from a ClickHouse cluster
โ€ขAnalyze query plans before execution
โ€ขSave larger query results as CSV snapshots

Key features

โ€ขRead-only SELECT and WITH query execution
โ€ขParameterized query support
โ€ขDatabase and schema metadata discovery
โ€ขSHOW statement introspection
โ€ขQuery plan and pipeline analysis
โ€ขCSV snapshots for larger results

Capabilities & Tool Schemas (4) ~155 tokensApproximate context cost of this serverโ€™s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server โ€” may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by ClickHouse.

list_profiles

List configured connection profiles. Call first when picking a non-default profile.

run_query

Execute read-only `SELECT` (CTEs allowed), one statement per call. Returns rows inline as CSV, or a `chx://snapshots/{id}` URI when `snapshot=true`. Inline limit: 500 rows (hard ceiling 1 000). Snapshot limit: 10 000 rows (hard ceiling 50 000).

run_show

Execute one `SHOW` statement โ€” chiefly `SHOW CREATE TABLE`/`VIEW`/`DICTIONARY` for DDL a listing cannot give you: codecs, TTLs, the full column list. No `INTO OUTFILE`.

analyze_query

EXPLAIN` a read-only `SELECT`; returns plan, pipeline or syntax, no result rows.

How ClickHouse works

What ClickHouse MCP server does

The ClickHouse MCP server gives an MCP client a read-only interface to one or more ClickHouse connections. It supports database, table, view, and column discovery; cluster property inspection; parameterized SELECT queries; SHOW statements; and EXPLAIN-style query analysis. The server is intended for agents that need to understand a ClickHouse environment and retrieve data without being allowed to change it.

Connections are organized into profiles. A default profile can be configured with environment variables, while multiple connections can be defined in a user-scoped JSON file. Tools accept a profile name where relevant and otherwise use the default profile.

How it works

The ClickHouse MCP server validates SQL before sending it to ClickHouse. run_query accepts one read-only SELECT or WITH ... SELECT statement and returns either RFC 4180 CSV data with a row count or, when snapshot mode is enabled, a snapshot resource URI and row count. Named parameters can use driver placeholder forms such as %(name)s or {name:Type}.

run_show handles one SHOW introspection statement per call. analyze_query explains a read-only query and can return plan, pipeline, and syntax output; plan and pipeline are the defaults. Metadata tools read information visible to the configured ClickHouse connection, including rows from system.databases, system.tables, and system.columns.

Metadata and cluster information are also available through URI-addressable resources using the chx:// scheme. Snapshot results are exposed as CSV resources, while discovery resources return JSON.

Setup and configuration

The ClickHouse MCP server requires Python 3.13 or newer, a running ClickHouse instance, and a connection DSN. The documented direct runner is uvx mcp-clickhousex.

For a single connection, set MCP_CLICKHOUSE_DSN to a ClickHouse HTTP DSN, for example a URL containing the user, password, host, port, and database. Optional settings control the interactive row limit and timeout, as well as separate limits and timeouts for snapshot queries. Interactive queries default to 500 rows and 30 seconds; snapshot queries default to 10,000 rows and 120 seconds.

Multiple profiles can be configured in ~/.config/mcp-clickhousex/config.json on Unix-like systems or %USERPROFILE%\.config\mcp-clickhousex\config.json on Windows. Profile-specific environment variables use the MCP_CLICKHOUSE_PROFILES_<NAME>_ prefix. URL-reserved characters in credentials must be percent-encoded in the DSN.

Tools and capabilities

  • List configured profiles and their descriptions.
  • Inspect ClickHouse version and enforced execution limits.
  • List visible databases, tables, views, and columns.
  • Run parameterized read-only SELECT queries.
  • Execute SHOW introspection statements.
  • Analyze query plans, pipelines, or syntax.
  • Store larger query results as expiring CSV snapshots.

Limitations and notes

Write operations are not supported. DML, DDL, SET, SYSTEM, and similar statements are rejected, and run_show rejects INTO OUTFILE. Interactive query results have a hard ceiling of 1,000 rows, while snapshot results have a hard ceiling of 50,000 rows. Snapshot entries expire after seven days. Query and snapshot limits can be configured but cannot exceed their documented hard ceilings. Results and metadata are limited to what the selected ClickHouse connection can access.

Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Databases View all alternatives
  • MCP Clickhouse logoMCP Clickhouse

    ClickHouse database integration with schema inspection and query capabilities

    ๐Ÿ—„๏ธ Databases3 views
    Compare vs MCP Clickhouse โ†’
  • MCP Mysql Server logoMCP Mysql Server

    Node.js-based MySQL database integration that provides secure MySQL database operations

    ๐Ÿ—„๏ธ Databases5 views
    Compare vs MCP Mysql Server โ†’
  • MCP Server Duckdb logoMCP Server Duckdb

    DuckDB database integration with schema inspection and query capabilities

    ๐Ÿ—„๏ธ Databases3 views
    Compare vs MCP Server Duckdb โ†’
  • Legion MCP logoLegion MCP

    Universal database MCP server supporting multiple database types including PostgreSQL, Redshift, CockroachDB, MySQL, RDS MySQL, Microsoft SQL Server, BigQuery, Oracle DB, and SQLite.

    ๐Ÿ—„๏ธ Databases5 views
    Compare vs Legion MCP โ†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks โ€” not a rating.

Last commit
8d ago
Most recent push to the default branch.
Tools exposed
4
Callable tools this server registers over MCP.
Directory activity
3 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about ClickHouse

Set the required MCP_CLICKHOUSE_DSN environment variable, then run the server with uvx mcp-clickhousex. The project requires Python 3.13 or newer and a running ClickHouse instance.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewClickHouse AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/clickhouse?style=directory)](https://allmcps.com/mcp/clickhouse)
HTML Embed
<a href="https://allmcps.com/mcp/clickhouse"><img src="https://allmcps.com/api/badge/clickhouse?style=directory" alt="ClickHouse on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿ—„๏ธDatabases
PricingFree
More technical detailsExpand โ–พ
TransportSTDIO
RuntimePython
AuthOther
LicenseMIT
Last updatedSep 17, 2026
10/11 checks healthy over the last 45d
Views3
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars0
GitHub Star CountTotal stargazers on GitHub representing community popularity (0 stars).
Last commit8d ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Sep 17, 2026
53Quality signal: Good ยท 53/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools26/30
Adoption & activity4/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev ยท mcp-clickhousex (PyPI)

โ˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server โ†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿ—„๏ธ Databases โ†’Best MCP servers for Databases โ†’Alternatives to ClickHouse โ†’Install in Claude DesktopInstall in CursorInstall in VS CodeSetup guides for all 13 MCP clients