Use ClickHouse MCP Server for Claude, Cursor and Windsurf
Use the following command to install the ClickHouse MCP server for your desired client.
To use ClickHouse MCP Server, you need to execute the above command and follow the instructions mentioned in the terminal.
Once the command has been successfully executed, you can open the your MCP Client (Claude/Cursor/WindSurf), and start using the tool in the AI chat.
MCP (Model Context Protocol) is a lightweight protocol that acts as a communication bridge between large language model (LLM) clients and servers (MCP Server). With Squel MCP Servers, It enables natural language queries to be translated into SQL in real time โ securely and locally โ without requiring users to write any code or expose sensitive information.
In short, MCP makes your AI/MCP Client speak with external tools (your database) using Sequel's MCP servers.
Your data never leaves your machine.
Sequel's MCP servers are designed to run locally on your machine or inside your private infrastructure. Thereโs no external syncing, telemetry, or cloud relay involved. The communication between the AI client (e.g., Cursor, Claude) and your database happens entirely over local HTTP/SSE/IO transports.
This makes it ideal for sensitive environments like finance, healthcare, and enterprise systems where data compliance is critical.
Once the MCP server is running, it exposes a local endpoint that adheres to the Model Context Protocol standard. MCP-compatible clients (like Cursor or Claude) are pre-configured to discover this endpoint and send context-aware natural language queries.
The flow looks like this:
MCP currently supports the following databases out of the box:
postgresql
mysql
clickhouse
To install the server for a specific database, run:
npx -y @sequelsh/mcp@latest install -d <database>
MCP integrates smoothly with the following clients:
Install support for a client using:
npx -y @sequelsh/mcp@latest install -c <client>
The MCP server supports the following transport protocols:
If youโre unsure, start with the default IO
.
Right now, MCP is optimized for local use only โ especially for use cases where developers interact with their local or VPN-bound databases.
That said, Docker support and deployment templates are in the roadmap. If you're building something custom, you could wrap the CLI inside a container manually, but official support isnโt there yet.
Once you have installed the MCP servers, you can check your MCP client to see if the server is running.
Currently, there isnโt a dedicated uninstall
command. However, you can reset your environment by doing the following:
Open the configuration file for your MCP client and remove the entry of Sequel's MCP server
We're open to contributions! Visit the official GitHub repo:
๐ https://github.com/haxzie/sequel-mcp
You can: