ClickHouse MCP Server
ClickHouse MCP 服务器
该项目为 ClickHouse 实现了模型上下文协议 (MCP) 服务器,允许 ClickHouse 数据库与大型语言模型 (LLM) 和其他 AI 应用程序无缝集成。
特征
将 ClickHouse 数据库和表列为资源
检索表架构
在 ClickHouse 数据库上执行 SELECT 查询
使用 MCP 协议进行安全高效的通信
Related MCP server: ClickHouse MCP Server
要求
Python 3.10+
ClickHouse 服务器
安装
克隆存储库:
git clone https://github.com/ThomAub/clickhouse_mcp_server.git cd clickhouse_mcp_server安装所需的软件包:
uv sync --all-extras在环境变量中设置您的 ClickHouse 连接详细信息或更新
server.py中的get_clickhouse_client函数。
用法
运行服务器:
python clickhouse_mcp_server/server.py服务器将启动并监听 MCP 请求。
测试
使用 pytest 运行测试:
pytest tests/贡献
欢迎贡献代码!欢迎提交 Pull 请求。
执照
该项目已获得 MIT 许可。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityFmaintenanceAn 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.22MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI assistants to securely interact with ClickHouse databases, supporting table exploration and SQL query execution through a controlled interface.18Apache 2.0

MCP TapData Serverofficial
FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables Large Language Models to access and interact with database connections, including viewing schemas and performing CRUD operations on connected databases.- AlicenseNot gradedqualityFmaintenanceA Model Context Protocol server that enables LLMs like Claude to interact with SQLite and SQL Server databases, allowing for schema inspection and SQL query execution.853379MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
MCP server for AI dialogue using various LLM models via AceDataCloud
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ThomAub/clickhouse_mcp_server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server