C

Clickhouse

ClickHouse Database MCP Service Project
2 points
17

What is the ClickHouse MCP Server?

The ClickHouse MCP server is a tool for managing the ClickHouse database, allowing users to connect to the database and execute SQL queries through simple commands.

How to use the ClickHouse MCP Server?

Simply install the server, set the necessary environment variables, and then use the provided tools for database connection and query execution.

Applicable Scenarios

Suitable for enterprises and developers who need to frequently access and operate the ClickHouse database, especially in scenarios requiring real - time data analysis.

Main Features

Database ConnectionSupports connecting to a specified ClickHouse database through simple commands.
SQL Query ExecutionAllows users to input SQL query statements and obtain results, supporting multiple query statements.
Configuration FlexibilitySupports multiple environment variable configurations to meet different usage requirements.

Advantages and Limitations

Advantages
Easy to use without complex configuration
Supports real - time data analysis
High - efficiency data processing capabilities
Limitations
May need to optimize performance for large - scale data
Depends on the support of the ClickHouse database

How to Use

Install the Server
Install the ClickHouse MCP server using pip or the uv tool.
Set Environment Variables
Configure necessary environment variables such as CLICKHOUSE_HOST, CLICKHOUSE_USER, etc.
Run the Server
Start the server and start using the provided tools.

Usage Examples

Connect to the DatabaseDemonstrate how to connect to the ClickHouse database and execute basic queries.
Execute QueriesShow how to execute multiple SQL queries and obtain results.

Frequently Asked Questions

How to install the ClickHouse MCP server?
Does it support multiple SQL queries?
How to set read - only mode?

Related Resources

Official Documentation
Detailed server documentation and tutorials.
GitHub Repository
Source code and example projects.
MCP Inspector
A tool for debugging the MCP server.
Installation
Copy the following command to your Client for configuration
{
  "mcpServers": {
    "clickhouse-mcp-server": {
      "command": "uv",
      "args": [
        "--directory",
        "/Users/burakdirin/Projects/clickhouse-mcp-server",
        "run",
        "clickhouse-mcp-server"
      ],
      "env": {
        "CLICKHOUSE_HOST": "localhost",
        "CLICKHOUSE_USER": "root",
        "CLICKHOUSE_PASSWORD": "password",
        "CLICKHOUSE_DATABASE": "[optional]",
        "CLICKHOUSE_READONLY": "true"
      }
    }
  }
}

{
  "mcpServers": {
    "clickhouse-mcp-server": {
      "command": "uvx",
      "args": [
        "clickhouse-mcp-server"
      ],
      "env": {
        "CLICKHOUSE_HOST": "localhost",
        "CLICKHOUSE_USER": "root",
        "CLICKHOUSE_PASSWORD": "password",
        "CLICKHOUSE_DATABASE": "[optional]",
        "CLICKHOUSE_READONLY": "true"
      }
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.
Featured MCP Services
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
837
4.3 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
97
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
150
4.5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
572
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
761
4.8 points
AIbase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIbase