Enables seamless integration of ClickHouse databases with Large Language Models by providing secure Model Context Protocol support for listing resources, retrieving schemas, and executing SELECT queries.
Unlock the full potential of ClickHouse MCP Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.
Free tier available • No credit card required
This project implements a Model Context Protocol (MCP) server for ClickHouse, allowing seamless integration of ClickHouse databases with Large Language Models (LLMs) and other AI applications.
Clone the repository:
git clone https://github.com/ThomAub/clickhouse_mcp_server.git
cd clickhouse_mcp_server
Install the required packages:
uv sync --all-extras
Set up your ClickHouse connection details in environment variables or update the get_clickhouse_client
function in server.py
.
Run the server:
python clickhouse_mcp_server/server.py
The server will start and listen for MCP requests.
Run the tests using pytest:
pytest tests/
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!