An MCP server to query Hydrolix
Valid MCP server (0 strong, 2 medium validity signals). 3 known CVEs in dependencies (1 critical, 1 high severity) Package registry verified. Imported from the Official MCP Registry.
4 files analyzed · 4 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: HYDROLIX_HOST
Environment variable: HYDROLIX_TOKEN
Environment variable: HYDROLIX_USER
Environment variable: HYDROLIX_PASSWORD
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-hydrolix-mcp-hydrolix": {
"env": {
"HYDROLIX_HOST": "your-hydrolix-host-here",
"HYDROLIX_USER": "your-hydrolix-user-here",
"HYDROLIX_TOKEN": "your-hydrolix-token-here",
"HYDROLIX_PASSWORD": "your-hydrolix-password-here"
},
"args": [
"mcp-hydrolix"
],
"command": "uvx"
}
}
}From the project's GitHub README.
An MCP server for Hydrolix.
Get up and running in a few minutes. This section covers Claude Desktop and Claude Code.
Before you begin, make sure you have:
Choose the method that matches your setup:
Option A: Using uv (recommended)
uv manages Python automatically and downloads mcp-hydrolix on demand, so no separate install step is needed. If you don't have uv, install it:
macOS / Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
Windows (PowerShell):
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Option B: Using pip
Requires Python 3.13+. If you need to install Python, download it from python.org.
pip install mcp-hydrolix
Open the Claude Desktop configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonAdd the following entry to the "mcpServers" object (create the file with this content if it doesn't exist yet):
{
"mcpServers": {
"mcp-hydrolix": {
"command": "uvx",
"args": [
"--python",
"3.13",
"--refresh-package",
"mcp-hydrolix",
"mcp-hydrolix"
],
"env": {
"HYDROLIX_HOST": "<your-hydrolix-hostname>",
"HYDROLIX_USER": "<your-username>",
"HYDROLIX_PASSWORD": "<your-password>"
}
}
}
}
Replace <your-hydrolix-hostname>, <your-username>, and <your-password> with your actual credentials.
Using Option B (pip)? Use
"command": "mcp-hydrolix"with no"args"field instead.
Tip: If the file already has other entries, add the
"mcp-hydrolix"block inside the existing"mcpServers"object rather than replacing the whole file.
Using a service account token instead of username/password? See Authentication.
Command not found? Claude Desktop launches without your shell's PATH, so it may not locate the binary even if it is installed. Find the full path and use it as the
"command"value in the config:Option A (uv): find
uvx:
- macOS / Linux:
which uvx- Windows:
where.exe uvxOption B (pip): find
mcp-hydrolix:
- macOS / Linux:
which mcp-hydrolix- Windows:
where.exe mcp-hydrolixIf
which/where.exereturns nothing, the install location isn't on your PATH. For pip, runpython3 -c "import sysconfig; print(sysconfig.get_path('scripts'))"(macOS/Linux) orpython -c "import sysconfig; print(sysconfig.get_path('scripts'))"(Windows) to find where pip placed the executable. Run it using the same Python interpreter you used to pip install (e.g., activate your virtual environment first if you used one).
Restart the app to apply the configuration.
macOS / Windows users: Make sure to fully quit Claude before restarting. On macOS, press Cmd+Q or right-click the Dock icon and choose Quit. On Windows, use the system tray icon.
Open a new conversation in Claude Desktop. Look for a tools/hammer icon near the text input — this confirms the MCP server connected successfully.
Try this prompt to confirm everything is working:
Using your Hydrolix MCP tools, list the available databases.
Claude should call the list_databases tool and return a list of databases from your cluster.
If you prefer the command line, make sure uv is installed (Option A from Step 2), then run:
claude mcp add --transport stdio hydrolix \
--env HYDROLIX_HOST=<your-hydrolix-hostname> \
--env HYDROLIX_USER=<your-username> \
--env HYDROLIX_PASSWORD=<your-password> \
--env HYDROLIX_MCP_SERVER_TRANSPORT=stdio \
-- uvx --python 3.13 --refresh-package mcp-hydrolix mcp-hydrolix
Then open Claude Code and test with the same prompt:
Using your Hydrolix MCP tools, list the available databases.
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": "uvx",
"args": [
"--python",
"3.13",
"--refresh-package",
"mcp-hydrolix",
"mcp-hydrolix"
],
"env": {
"HYDROLIX_HOST": "<hydrolix-host>",
"HYDROLIX_USER": "<hydrolix-user>",
"HYDROLIX_PASSWORD": "<hydrolix-password>"
}
}
MCP Server definition using service account token (JSON):
{
"command": "uvx",
"args": [
"--python",
"3.13",
"--refresh-package",
"mcp-hydrolix",
"mcp-hydrolix"
],
"env": {
"HYDROLIX_HOST": "<hydrolix-host>",
"HYDROLIX_TOKEN": "<hydrolix-service-account-token>"
}
}
MCP Server definition using username and password (YAML):
command: uvx
args:
- --python
- "3.13"
- --refresh-package
- mcp-hydrolix
- mcp-hydrolix
env:
HYDROLIX_HOST: <hydrolix-host>
HYDROLIX_USER: <hydrolix-user>
HYDROLIX_PASSWORD: <hydrolix-password>
MCP Server definition using service account token (YAML):
command: uvx
args:
- --python
- "3.13"
- --refresh-package
- mcp-hydrolix
- 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": "uvx",
"args": [
"--python",
"3.13",
"--refresh-package",
"mcp-hydrolix",
"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": "uvx",
"args": [
"--python",
"3.13",
"--refresh-package",
"mcp-hydrolix",
"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 uvx and replace it with the absolute path to the uvx executable. This ensures that the correct version of uvx is used when starting the server. You can find this path using which uvx or where.exe uvx.
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 \
-- uvx --python 3.13 --refresh-package mcp-hydrolix 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"HYDROLIX_MAX_RAW_TIMERANGE: Maximum time range in seconds allowed for queries against non-summary tables
21600 (6 hours)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
HYDROLIX_MCP_SERVER_TRANSPORT=http
Though not part of the MCP specification, many MCP clients allow adding headers to MCP-issued requests. When this is possible, we recommend configuring the MCP client to pass a service account token via the Authorization: Bearer <sa-token-here> header instead of as a query parameter for greater security.
Note: The bind host and port settings are only used when transport is set to "http" or "sse".
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
by mcp-marketplace · Developer Tools
Scaffold, build, and publish TypeScript MCP servers to npm — conversationally
by mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.