iceberg-mcp-server-hive
Provides read-only access to Iceberg tables on Cloudera Data Platform (CDP) via Apache Hive (HiveServer2).
Allows querying Iceberg tables on Cloudera Data Platform (CDP) using Hive.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@iceberg-mcp-server-hivelist all databases"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Cloudera Iceberg MCP Server (via Hive)
Fork of cloudera/iceberg-mcp-server that uses Apache Hive (HiveServer2) instead of Impala for read-only access to Iceberg tables on CDP.
MCP Tools
Tool | Description |
| Run read-only SQL ( |
| List tables in the configured or given database |
| List all visible Hive databases |
Related MCP server: MCP Trino Server
Configuration
Connection uses impyla against HiveServer2 (HTTP transport for CDP/Knox).
Example JDBC URL from CDP Data Warehouse:
jdbc:hive2://hs2-cdw-aw-se-hive.dw-se-sandbox-aws.a465-9q4k.cloudera.site/default;transportMode=http;httpPath=cliservice;ssl=trueMaps to MCP env vars:
JDBC / CDP | Env var |
Host in URL |
|
Path after host ( |
|
|
|
|
|
|
|
Port (443 implied) |
|
LDAP user/password |
|
Variable | Default | Description |
| — | HiveServer2 or Knox gateway host |
|
| HS2 port (443 for Knox HTTP) |
| — | LDAP / service user |
| — | Password |
|
| Default database for |
|
| impyla auth mechanism |
|
| HTTP transport (typical on CDP) |
|
| Knox / HS2 HTTP path |
|
| TLS |
|
|
|
Claude Desktop / Agent Studio
{
"mcpServers": {
"iceberg-mcp-server-hive": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/<your-org>/iceberg-mcp-server-hive@main",
"run-server"
],
"env": {
"HIVE_HOST": "hs2-your-cluster.example.cloudera.site",
"HIVE_PORT": "443",
"HIVE_USER": "username",
"HIVE_PASSWORD": "password",
"HIVE_DATABASE": "default"
}
}
}
}Local development
git clone https://github.com/<your-org>/iceberg-mcp-server-hive.git
cd iceberg-mcp-server-hive
uv sync --dev
export HIVE_HOST=... HIVE_USER=... HIVE_PASSWORD=...
uv run run-serverDifferences from upstream (Impala)
Environment variables use
HIVE_*instead ofIMPALA_*get_schemareturns{database, tables}and accepts an optional database nameAdded
list_databasestoolexecute_queryreturns{columns, rows}for SELECT results
Examples
See ./examples for LangChain and OpenAI SDK notebooks (update env vars from IMPALA_* to HIVE_*).
Copyright (c) 2025 - Cloudera, Inc. All rights reserved.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/frothkoetter/iceberg-mcp-server-hive'
If you have feedback or need assistance with the MCP directory API, please join our Discord server