by hydrolix
Hydrolix connects to time series databases for fast, secure analysis of large-scale log, metric & IoT data using ClickHo
Connects to Hydrolix time-series databases using ClickHouse SQL queries for analyzing large-scale log, metrics, and IoT data. Includes safety guards and performance optimizations for time-series workloads.
Hydrolix is an official MCP server published by hydrolix that provides AI assistants with tools and capabilities via the Model Context Protocol. Hydrolix connects to time series databases for fast, secure analysis of large-scale log, metric & IoT data using ClickHo It is categorized under databases, analytics data.
You can install Hydrolix in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
Apache-2.0
Hydrolix is released under the Apache-2.0 license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Enable Claude to query your database directly using natural language
Example
Ask 'Show me top 10 customers by revenue this month' and get SQL results instantly
Eliminate manual SQL writing for ad-hoc queries, get insights 10x faster
Generate complex reports and analytics without leaving conversation
Example
Analyze sales trends, cohort retention, user behavior patterns conversationally
Democratize data access—non-technical team members can query databases
Understand database structure, relationships, and data models
Example
'Explain the user_orders table schema and its relationships'
Onboard engineers faster, explore unfamiliar databases efficiently
Share your MCP server with the developer community
Strong directory entry: Hydrolix surfaces stars and publisher context so we could sanity-check maintenance before adopting.
Hydrolix is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
Hydrolix reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
Useful MCP listing: Hydrolix is the kind of server we cite when onboarding engineers to host + tool permissions.
Hydrolix has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
Hydrolix has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
We evaluated Hydrolix against two servers with overlapping tools; this profile had the clearer scope statement.
We evaluated Hydrolix against two servers with overlapping tools; this profile had the clearer scope statement.
Hydrolix has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
Hydrolix is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
showing 1-10 of 75
An MCP server for Hydrolix.
run_select_query
sql (string): The SQL query to execute.list_databases
list_tables
database (string): The name of the database.get_table_info
database (string): The name of the database.table (string): The name of the table.Due to the wide variety in LLM architectures, not all models will proactively use the tools above, and few will use them effectively without guidance, even with the carefully-constructed tool descriptions provided to the model. To get the best results out of your model while using the Hydrolix MCP server, we recommend the following:
When running with HTTP or SSE transport, a health check endpoint is available at /health. This endpoint:
200 OK with the Hydrolix query-head's Clickhouse version if the server is healthy and can connect to Hydrolix503 Service Unavailable if the server cannot connect to the Hydrolix query-headExample:
curl http://localhost:8000/health
# Response: OK - Connected to Hydrolix compatible with ClickHouse 24.3.1
The Hydrolix MCP server is configured using a standard MCP server entry. Consult your client's documentation for specific instructions on where to find or declare MCP servers. An example setup using Claude Desktop is documented below.
The recommended way to launch the Hydrolix MCP server is via the uv project manager, which will manage installing all other dependencies in an isolated environment.
The server supports multiple authentication methods with the following precedence (highest to lowest):
Authorization: Bearer <token> header?token=<token> query parameterHYDROLIX_TOKEN), orHYDROLIX_USER and HYDROLIX_PASSWORD)When multiple authentication methods are configured, the server will use the first available method in the precedence order above. Per-request authentication is only available when using HTTP or SSE transport modes.
Note: Using a service account token with a readonly role is recommended.
MCP Server definition using username and password (JSON):
{
"command": "uv",
"args": [
"run",
"--with",
"mcp-hydrolix",
"--python",
"3.13",
"mcp-hydrolix"
],
"env": {
"HYDROLIX_HOST": "<hydrolix-host>",
"HYDROLIX_USER": "<hydrolix-user>",
"HYDROLIX_PASSWORD": "<hydrolix-password>"
}
}
MCP Server definition using service account token (JSON):
{
"command": "uv",
"args": [
"run",
"--with",
"mcp-hydrolix",
"--python",
"3.13",
"mcp-hydrolix"
],
"env": {
"HYDROLIX_HOST": "<hydrolix-host>",
"HYDROLIX_TOKEN": "<hydrolix-service-account-token>"
}
}
MCP Server definition using username and password (YAML):
command: uv
args:
- run
- --with
- mcp-hydrolix
- --python
- "3.13"
- mcp-hydrolix
env:
HYDROLIX_HOST: <hydrolix-host>
HYDROLIX_USER: <hydrolix-user>
HYDROLIX_PASSWORD: <hydrolix-password>
MCP Server definition using service account token (YAML):
command: uv
args:
- run
- --with
- mcp-hydrolix
- --python
- "3.13"
- mcp-hydrolix
env:
HYDROLIX_HOST: <hydrolix-host>
HYDROLIX_TOKEN: <hydrolix-service-account-token>
Open the Claude Desktop configuration file located at:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%/Claude/claude_desktop_config.jsonAdd a mcp-hydrolix server entry to the mcpServers config block to use username and password:
{
"mcpServers": {
"mcp-hydrolix": {
"command": "uv",
"args": [
"run",
"--with",
"mcp-hydrolix",
"--python",
"3.13",
"mcp-hydrolix"
],
"env": {
"HYDROLIX_HOST": "<hydrolix-host>",
"HYDROLIX_USER": "<hydrolix-user>",
"HYDROLIX_PASSWORD": "<hydrolix-password>"
}
}
}
}
To leverage service account use the following config block:
{
"mcpServers": {
"mcp-hydrolix": {
"command": "uv",
"args": [
"run",
"--with",
"mcp-hydrolix",
"--python",
"3.13",
"mcp-hydrolix"
],
"env": {
"HYDROLIX_HOST": "<hydrolix-host>",
"HYDROLIX_TOKEN": "<hydrolix-service-account-token>"
}
}
}
}
Update the environment variable definitions to point to your Hydrolix cluster.
(Recommended) Locate the command entry for uv and replace it with the absolute path to the uv executable. This ensures that the correct version of uv is used when starting the server. You can find this path using which uv or where.exe uv.
Restart Claude Desktop to apply the changes. If you are using Windows, ensure Claude is stopped completely by closing the client using the system tray icon.
To configure the Hydrolix MCP server for Claude Code, run the following command:
claude mcp add --transport stdio hydrolix \
--env HYDROLIX_USER=<hydrolix-user> \
--env HYDROLIX_PASSWORD=<hydrolix-password> \
--env HYDROLIX_HOST=<hydrolix-host> \
--env HYDROLIX_MCP_SERVER_TRANSPORT=stdio \
-- uv run --with mcp-hydrolix --python 3.13 mcp-hydrolix
The following variables are used to configure the Hydrolix connection. These variables may be provided via the MCP config block (as shown above), a .env file, or traditional environment variables.
HYDROLIX_HOST: The hostname of your Hydrolix serverAt least one authentication method must be configured when using the stdio transport:
HYDROLIX_TOKEN: Service account token for environment-based authenticationHYDROLIX_USER and HYDROLIX_PASSWORD: Username and password for environment-based authentication (both must be provided together)In summary:
If no credentials are provided via the environment or the request, the request will fail.
HYDROLIX_PORT: The port number of your Hydrolix server
8088HYDROLIX_VERIFY: Enable/disable SSL certificate verification
"true""false" to disable certificate verification (not recommended for production)HYDROLIX_DATABASE: Default database to use
*Default: None (uses server default)
HYDROLIX_MCP_SERVER_TRANSPORT: Sets the transport method for the MCP server.
"stdio""stdio", "http", "sse". This is useful for local development with tools like MCP Inspector.HYDROLIX_MCP_BIND_HOST: Host to bind the MCP server to when using HTTP or SSE transport
"127.0.0.1""0.0.0.0" to bind to all network interfaces (useful for Docker or remote access)"http" or "sse"HYDROLIX_MCP_BIND_PORT: Port to bind the MCP server to when using HTTP or SSE transport
"8000""http" or "sse"For MCP Inspector or remote access with HTTP transport:
HYDROLIX_HOST=localhost
HYDROLIX_USER=default
HYDROLIX_PASSWORD=myPassword
HYDROLIX_MCP_SERVER_TRANSPORT=http
HYDROLIX_MCP_BIND_HOST=0.0.0.0 # Bind to all interfaces
HYDROLIX_MCP_BIND_PORT=4200 # Custom port (default: 8000)
When using HTTP transport, the server will run on the configured port (default 8000). For example, with the above configuration:
http://localhost:4200/mcphttp://localhost:4200/healthWhen using HTTP or SSE transport, you can omit environment-based credentials and instead provide authentication per-request. This is useful for multi-user scenarios or with clients that don't support running MCP servers locally.
Example mcpServers configuration connecting to a remote HTTP server with per-request authentication:
{
"mcpServers": {
"mcp-hydrolix-remote": {
"url": "https://my-hydrolix-mcp.example.com/mcp?token=<service-account-token>"
}
}
}
Example minimal .env configuration for running your own HTTP server without environment credentials:
HYDROLIX_HOST=my-cluster.hydrolix.net
HYDR
---
Run data quality queries to catch anomalies and inconsistencies
Example
Find duplicate records, missing values, orphaned foreign keys automatically
Maintain data integrity with less manual SQL work
Prerequisites
Time Estimate
15-30 minutes including configuration and testing
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
MCP server acts as bridge between Claude and database, translating natural language to SQL queries and returning results in structured format.
Protocols
Compatibility
✓ Use when
Use for ad-hoc data queries, exploratory analysis, report generation, schema exploration, and democratizing data access. Best for read-heavy analytics workloads.
✗ Avoid when
Avoid for production write operations, mission-critical transactions, real-time OLTP workloads, or when database contains sensitive PII without proper access controls. Use read replicas, not primary.