Documentation Index
Fetch the complete documentation index at: https://private-7c7dfe99-page-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Using ClickHouse MCP server with Claude Desktop
This guide explains how to set up Claude Desktop with a ClickHouse MCP server using uv and connect it to the ClickHouse example datasets.
Download Claude Desktop
You’ll also need to install the Claude Desktop app, which you can download from the Claude Desktop website.Configuring ClickHouse MCP server
Once you’ve got Claude Desktop installed, it’s time to configure the ClickHouse MCP server. We can do this via the Claude Desktop configuration file.To find this file, first go to the settings page (Cmd+, on a Mac) and then click on the Developer tab on the left menu.
You’ll then see the following screen, on which you’ll need to click on the Edit config button:This will take you to a directory containing the configuration file (claude_desktop_config.json).
The first time you open that file, it will likely contain the following content:mcpServers dictionary takes in the name of an MCP server as a key, and a dictionary of configuration options as a value.For example, the ClickHouse MCP server configuration connecting to the ClickHouse Playground would look like this:
Using ClickHouse MCP server
Once you’ve restarted Claude Desktop, you can find the ClickHouse MCP server by clicking on theSearch and tools icon:You can then choose whether to disable all or some of the tools.Now we’re ready to ask Claude some questions that will result in it using the ClickHouse MCP server. For example, we could ask it
What's the most interesting dataset in the SQL playground?.Claude will ask us to confirm the use of each tool in the MCP server the first time that it’s called:Below you can see part of a conversation that includes some tool calls to the ClickHouse MCP server: