How to Use the ClickHouse (Vector Search) MCP in Claude Code
Automate ClickHouse operations from your terminal. Pipe vector search results or run SQL in any shell script or CI/CD pipeline.
Works with every AI agent you already use
…and any MCP-compatible client
Connect ClickHouse (Vector Search) MCP to Claude Code
Create your Vinkius account to connect ClickHouse (Vector Search) to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Scriptable Vector Search
The `vector_search` tool lets you find data by semantic similarity, right from the command line. You can run a search and pipe the resulting JSON to another process like `jq` for filtering or a script for further action. This is perfect for automation. You can set up a cron job that runs a nightly search for duplicate items in your product catalog and flags them for review, all without any manual oversight.
Headless Database Administration
This MCP server gives your scripts direct access to manage ClickHouse. Use `list_databases` and `list_tables` to check what's there, then run a migration or cleanup job with `execute_sql`. You can write a simple bash script that uses `get_table_stats` to monitor table sizes. If a table grows past a certain threshold, the script can trigger an archival process automatically.
Monitor Cluster Health from the CLI
Use Claude Code and this server to build simple, powerful monitoring tools. The `get_version` tool can be used in a script to confirm your cluster has the right features enabled, like HNSW support for vector search. Combine that with `get_table_stats` to pull internal health metrics. You can easily create a script that runs every five minutes, checks key stats, and sends a notification to a Slack webhook if something looks wrong.
Set up ClickHouse (Vector Search) MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seeclickhouse-vector-search-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest ClickHouse (Vector Search) transactions." It will automatically discover and invoke the available ClickHouse (Vector Search) tools.
claude mcp add --transport http clickhouse-vector-search-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about ClickHouse (Vector Search) MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the ClickHouse (Vector Search) MCP today
We host it, we monitor it, we maintain it. You just paste one token.