ClickHouse logo

ClickHouse MCP server

Connect ClickHouse to ChatGPT, Claude, Gemini, Cursor or any MCP client. Let AI read and update your ClickHouse databases, tables and records. No code required.

Categories
Databases
Access
Read and write
MCP tools
12
Works with
ChatGPT, Claude, Gemini, Cursor
Supported objects
Database, Table, Record and Query

ClickHouse MCP tools

Every ClickHouse connection comes with its own MCP server. These are all 12 tools it gives ChatGPT, Claude, Gemini and other AI clients.

ToolWhat it doesAccess
create_datastore_databaseCreate a database in ClickHouse.Write
list_datastore_databasesList databases from ClickHouse.Read
get_datastore_databaseRetrieve a single database by its ID from ClickHouse.Read
remove_datastore_databaseDelete a database by its ID from ClickHouse.Write
list_datastore_tablesList tables from ClickHouse.Read
get_datastore_tableRetrieve a single table by its ID from ClickHouse.Read
create_datastore_recordCreate a record in ClickHouse.Write
list_datastore_recordsList records from ClickHouse.Read
get_datastore_recordRetrieve a single record by its ID from ClickHouse.Read
update_datastore_recordUpdate an existing record by its ID in ClickHouse.Write
remove_datastore_recordDelete a record by its ID from ClickHouse.Write
create_datastore_queryCreate a query in ClickHouse.Write

Supported ClickHouse data

The ClickHouse objects AI can work with, and what it can do with each.

Databases

DatabaseRead & write

Fields: id, name, description

TableRead only

Fields: id, name, description, database_id, fields, created_at

RecordRead & write

Fields: id, database_id, table_id, fields

QueryWrite only

Fields: response, query, table_id, database_id

Connect ClickHouse to your AI in minutes

  1. Step 1

    Connect ClickHouse

    Sign up for UnifiedMCP and sign in to your ClickHouse account. Your credentials stay encrypted and you can disconnect at any time.

  2. Step 2

    Copy your MCP server URL

    UnifiedMCP creates an MCP server for your ClickHouse connection, with the tools listed above.

  3. Step 3

    Add it to your AI client

    Paste the URL into Claude (Settings → Connectors), ChatGPT (developer mode → Apps & Connectors), Gemini, Cursor or any MCP client, then ask about your ClickHouse data.

ClickHouse integration FAQ

What is the ClickHouse MCP server?

The ClickHouse MCP server lets AI assistants such as ChatGPT, Claude and Gemini work with your ClickHouse account over the Model Context Protocol (MCP). Connect ClickHouse once in UnifiedMCP and you get a personal MCP server URL to add to your AI client. It exposes 12 ClickHouse tools.

How do I connect ClickHouse to ChatGPT or Claude?

Sign up for UnifiedMCP, connect your ClickHouse account, and copy the MCP server URL for that connection. In Claude, go to Settings → Connectors → Add custom connector and paste the URL. In ChatGPT, turn on developer mode, then go to Apps & Connectors → Create and paste the URL. Any other MCP-compatible client, such as Cursor or VS Code, works the same way.

What ClickHouse data can AI access?

UnifiedMCP can read ClickHouse databases, tables and records. It can also create or update databases, records and queries.

Can I control what AI can do in ClickHouse?

Yes. Each MCP server only acts on the ClickHouse account you connected, with the permissions you granted when connecting. You can disconnect it at any time.

How much does the ClickHouse integration cost?

ClickHouse is included in every UnifiedMCP plan: it is one of 2,311+ integrations. You can start on the Free plan; see the pricing page for plan limits.

More Databases integrations

Connect ClickHouse alongside the other apps your team uses, and let AI work across all of them.

Give AI access to ClickHouse today

Connect ClickHouse and 2311+ other apps to ChatGPT, Claude and Gemini. No code required.