Skip to main content
Glama

ClickHouse MCP Servers

ClickHouse is an open-source, high performance columnar OLAP (online analytical processing) database management system for real-time analytics using SQL.

138 open-source servers · 0 connectors · clickhouse.com ↗

Official

Published by ClickHouse itself.

Connectors

Hosted endpoints you add to Claude, ChatGPT or any other MCP client by URL – nothing to install.

No ClickHouse connector yet. Self-host one of the servers below, or submit one.

Open-source servers

Code you run yourself, locally or on your own infrastructure.

Built for ClickHouse (34)

  • Why this server?

    Provides read-only tools for exploring ClickHouse databases, including listing tables, running queries (with caching, validation, and row limits), describing table schemas, and building time-windowed aggregations.

    A
    license
    A
    quality
    Not graded
    maintenance
    Provides AI agents safe, read-only access to a ClickHouse database, enabling table listing, query execution, schema inspection, and caching.
    6
    6
    MIT
  • Why this server?

    Provides tools for exploring ClickHouse schemas, running analytical read queries, and managing the database with configurable access modes and security restrictions.

    A
    license
    A
    quality
    B
    maintenance
    Enables MCP clients to explore ClickHouse schemas, run analytical queries, and manage the database with statement-aware security modes and access-control flags.
    9
    80 npm
    3
    MIT
  • Why this server?

    Provides tools for connecting to a ClickHouse database and executing SQL queries, with support for multiple queries and JSON-formatted results.

    A
    license
    B
    quality
    D
    maintenance
    An MCP server implementation that enables Claude AI to interact with Clickhouse databases. Features include secure database connections, query execution, read-only mode support, and multi-query capabilities.
    2
    2
    MIT
  • Why this server?

    Enables execution of custom SQL-like queries for advanced session analytics through OpenReplay's ClickHouse backend

    A
    license
    B
    quality
    D
    maintenance
    Enables AI-powered analytics for OpenReplay user sessions through natural language queries. Supports session search, user journey analysis, error tracking, performance metrics, and funnel analysis to understand user behavior patterns.
    11
    2
    MIT
  • Why this server?

    Provides tools for executing read-only SELECT and SHOW queries, analyzing query plans, and discovering metadata (databases, tables, columns) on ClickHouse instances.

    A
    license
    A
    quality
    B
    maintenance
    A read-only-by-default Model Context Protocol (MCP) server for ClickHouse with schema discovery, parameterized SELECT-only queries, execution-plan analysis, and opt-in writes per profile. Profile-based configuration serves multiple clusters from one toolset deployment.
    8
    1
    MIT
  • Why this server?

    Provides tools for interacting with ClickHouse instances through ClickVisual: listing instances, databases, and log tables; resolving table IDs; searching logs with SQL WHERE clauses; and retrieving log histogram data.

  • Why this server?

    Provides tools for interacting with ClickHouse databases, including executing SQL queries, listing databases, and listing tables in a database, all with read-only access to ensure safety.

  • Why this server?

    Supports executing SQL queries against ClickHouse via the Logflare Management API.

  • Why this server?

    Execute SQL queries on ClickHouse clusters, list databases and tables with enhanced filtering capabilities using LIKE/NOT LIKE patterns.

    A
    license
    A
    quality
    D
    maintenance
    An MCP server for ClickHouse with enhanced filtering for database and table discovery, supporting LIKE/NOT LIKE patterns and both ClickHouse and chDB tools.
    3
    Apache 2.0
  • Why this server?

    Provides query optimization, pipeline latency analysis, data quality monitoring, and table management tools for ClickHouse databases, enabling automated query performance advice and data quality checks.

    A
    license
    A
    quality
    D
    maintenance
    A DataOps-focused MCP server for ClickHouse that provides query optimization advice, pipeline latency analysis, and data quality monitoring, with read-only safety.
    8
    25 PyPI
    MIT
  • Why this server?

    Provides tools for querying and managing ClickHouse databases, including listing databases, tables, describing schemas, executing SELECT queries, and DDL/DML operations.

    A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to query and manage ClickHouse databases, supporting SELECT queries, DDL/DML statements, and metadata listing.
    5
    3 npm
    MIT
  • Why this server?

    Queries a USA-market ClickHouse warehouse with 1.49 billion rows of 1-minute bars across 1,388 symbols for large-scale, cross-sectional quant analysis.

  • Why this server?

    Provides read-only access to a ClickHouse instance, enabling schema exploration, data sampling, and execution of guarded SELECT/SHOW/DESCRIBE/EXPLAIN queries to investigate observability data like logs, metrics, and traces.

    A
    license
    A
    quality
    D
    maintenance
    A read-only MCP server for ClickHouse that enables AI agents to discover schema, sample data, and run read-only SQL queries to investigate observability data like logs, metrics, and traces.
    6
    MIT
  • Why this server?

    Provides governed access to ClickHouse datasets and metrics, allowing agents to list datasets, inspect dataset schemas, and query approved metrics or datasets without exposing raw SQL.

    A
    license
    Not graded
    quality
    A
    maintenance
    Governed ClickHouse MCP server: agents query the datasets and metrics you define in code, never raw SQL.
    106
    Apache 2.0
  • Why this server?

    Allows querying and interacting with ClickHouse databases, providing tools for executing SQL select queries, listing databases, and viewing tables within a database.

  • Why this server?

    Provides read-only access to ClickHouse databases, enabling listing databases, tables, describing table schemas, and executing SELECT/SHOW/DESCRIBE queries.

  • Why this server?

    Allows connecting to multiple ClickHouse instances, registering data sources dynamically, running SQL queries, listing databases and tables, and managing connections through a unified MCP interface.

    A
    license
    C
    quality
    C
    maintenance
    Enables connecting to multiple ClickHouse instances via dynamic registration or YAML configuration, supporting SQL queries and data source management through MCP tools.
    6
    Apache 2.0
  • Why this server?

    Provides read-only query tools for ClickHouse analytics tables, enabling LLM clients to query data from specified tables (allowlisted).

    F
    license
    A
    quality
    B
    maintenance
    Enables LLM clients to query ClickHouse analytics tables read-only through MCP, with an allowlist of permitted tables and an optional HTTP healthcheck.
    3
    -
  • Why this server?

    Provides comprehensive ClickHouse integration with two distinct capabilities: database operations for querying and exploring ClickHouse databases (local, self-hosted, or cloud), and complete ClickHouse Cloud infrastructure management including services, API keys, members, backups, ClickPipes, and monitoring with built-in safety controls.

    A
    license
    Not graded
    quality
    D
    maintenance
    Enables database operations and cloud infrastructure management for ClickHouse, supporting querying databases with read-only safety controls and managing ClickHouse Cloud services through 50+ comprehensive tools.
    7
    Apache 2.0
  • Why this server?

    Enables seamless integration with ClickHouse databases, allowing listing of databases and tables, retrieving table schemas, and executing SELECT queries against ClickHouse data.

    A
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server that enables Large Language Models to seamlessly interact with ClickHouse databases, supporting resource listing, schema retrieval, and query execution.
    2
    MIT
  • Why this server?

    Enables querying the ntopng Clickhouse database to access historical network flows and alerts for network monitoring data analysis.

  • Why this server?

    Provides an MCP server for ClickHouse that executes Apache Ossie semantic model descriptions, enabling AI agents to answer business questions by resolving metrics, dimensions, and filters into a single ClickHouse SQL query. Supports validating models against ClickHouse, generating SQL, executing queries, and serving the semantic model and query results over MCP.

    A
    license
    Not graded
    quality
    A
    maintenance
    Exposes an Apache Ossie semantic model over MCP so AI agents can discover metrics, dimensions and relationships, then translate business-term questions into a single ClickHouse query. Also serves the generated SQL and model descriptions, letting agents validate and recover from mistakes without knowing ClickHouse specifics.
    2
    Apache 2.0
  • Why this server?

    Provides analytics tools for querying S3 bucket operations data, including top buckets by operations, inbound traffic, and outbound traffic metrics stored in ClickHouse

    A
    license
    Not graded
    quality
    D
    maintenance
    Provides team information retrieval capabilities through HTTP streaming transport. Built with FastMCP 2.0+ and includes ngrok integration for easy testing and development.
    1
    Apache 2.0
  • Why this server?

    Connects to a ClickHouse query endpoint to run structured SQL queries against log data, with support for filtering, time ranges, and schema inspection (e.g. query_logs, debug_table_info).

    A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to query and analyze Betterstack logs across individual sources and source groups, using intelligent source selection and structured ClickHouse SQL queries with filtering and time-range support.
    42 npm
    1
    MIT
  • Why this server?

    Provides tools to interact with ClickHouse databases, including listing databases, listing tables, and executing SELECT, SHOW, and DESCRIBE queries.

    A
    license
    Not graded
    quality
    D
    maintenance
    Enables interaction with ClickHouse databases via MCP, providing tools to list databases and tables and execute safe SELECT, SHOW, and DESCRIBE queries.
    93 npm
    MIT
  • Why this server?

    Allows executing SQL queries and managing databases/tables on a ClickHouse cluster.

    A
    license
    Not graded
    quality
    D
    maintenance
    Enables executing SQL queries, listing databases, and listing tables on a ClickHouse cluster through natural language.
    Apache 2.0
  • Why this server?

    Provides tools for interacting with ClickHouse databases, including listing databases, listing tables, and executing SQL queries (read-only or read-write depending on access mode).

    A
    license
    Not graded
    quality
    A
    maintenance
    Enables SQL query execution on ClickHouse databases with per-request connection switching via HTTP headers, supporting multi-tenant deployments.
    Apache 2.0
  • Why this server?

    Enables running SQL queries against ClickHouse and listing its databases/tables, using windowed analytical queries over per-frame video metrics to detect photosafety violations.

  • Why this server?

    Allows AI agents to query and analyze data stored in ClickHouse through a semantic layer of datasets, metrics, and derived metrics.

    F
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to interact with ClickHouse analytics through a semantic layer, exposing datasets and metrics for natural-language querying.
    -