Iceberg Mcp Server Hive — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Iceberg Mcp Server Hive (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Fork of cloudera/iceberg-mcp-server that uses Apache Hive (HiveServer2) instead of Impala for read-only access to Iceberg tables on CDP.
| Tool | Description |
|---|---|
execute_query(query) | Run read-only SQL (SELECT, SHOW, DESCRIBE, WITH, EXPLAIN) |
get_schema(database?) | List tables in the configured or given database |
list_databases() | List all visible Hive databases |
list_iceberg_snapshots(database, table) | Snapshot history (db.table.HISTORY, with TBLPROPERTIES fallback) |
list_iceberg_refs(database, table) | Branches and tags (db.table.REFS) |
create_iceberg_branch(...) | Create branch from current state, snapshot ID, or timestamp |
drop_iceberg_branch(...) | Drop a branch |
fast_forward_iceberg_branch(...) | Fast-forward branch hierarchy |
query_iceberg_branch(...) | Read from db.table.branch_<name> |
execute_iceberg_branch_dml(...) | INSERT / UPDATE / DELETE on a branch |
Iceberg branching (and tagging) is supported in Hive on CDP, not Impala. See branching and tagging.
list_iceberg_snapshots — pick a snapshot ID or timestamplist_iceberg_refs — inspect existing branches/tagscreate_iceberg_branch — fork an audit branch (FOR SYSTEM_VERSION or current head)query_iceberg_branch — read branch stateexecute_iceberg_branch_dml — write changes on the branch onlyfast_forward_iceberg_branch — advance a branch when readydrop_iceberg_branch — cleanupBranch refs use lowercase branch_ prefix: mydb.mytable.branch_audit.
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 | HIVE_HOST |
Path after host (/default) | HIVE_DATABASE |
httpPath=cliservice | HIVE_HTTP_PATH |
transportMode=http | HIVE_USE_HTTP_TRANSPORT=true |
ssl=true | HIVE_USE_SSL=true |
| Port (443 implied) | HIVE_PORT=443 |
| LDAP user/password | HIVE_USER, HIVE_PASSWORD |
| Variable | Default | Description |
|---|---|---|
HIVE_HOST | — | HiveServer2 or Knox gateway host |
HIVE_PORT | 443 | HS2 port (443 for Knox HTTP) |
HIVE_USER | — | LDAP / service user |
HIVE_PASSWORD | — | Password |
HIVE_DATABASE | default | Default database for SHOW TABLES |
HIVE_AUTH_MECHANISM | LDAP | impyla auth mechanism |
HIVE_USE_HTTP_TRANSPORT | true | HTTP transport (typical on CDP) |
HIVE_HTTP_PATH | cliservice | Knox / HS2 HTTP path |
HIVE_USE_SSL | true | TLS |
MCP_TRANSPORT | stdio | stdio, http, or sse |
Agent Studio only supports stdio MCP servers launched with `uvx` (Python) or `npx` (Node.js). Use a git URL so the runtime can install the package; do not use uv run unless the repo is checked out on the same machine.
{
"mcpServers": {
"iceberg-mcp-server-hive": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/frothkoetter/iceberg-mcp-server-hive@main",
"run-server"
],
"env": {
"HIVE_HOST": "hs2-cdw-aw-se-hive.dw-se-sandbox-aws.a465-9q4k.cloudera.site",
"HIVE_PORT": "443",
"HIVE_USER": "YOUR_USER",
"HIVE_PASSWORD": "YOUR_PASSWORD",
"HIVE_DATABASE": "default",
"HIVE_USE_HTTP_TRANSPORT": "true",
"HIVE_HTTP_PATH": "cliservice",
"HIVE_USE_SSL": "true",
"HIVE_AUTH_MECHANISM": "LDAP"
}
}
}
}Registration tips
HIVE_USER / HIVE_PASSWORD when attaching the MCP server to a workflow agent.HIVE_HOST on port 443 (Knox / Hive VW).See also Cloudera MCP registration docs.
{
"mcpServers": {
"iceberg-mcp-server-hive": {
"command": "uv",
"args": ["run", "run-server"],
"env": {
"HIVE_HOST": "hs2-your-cluster.example.cloudera.site",
"HIVE_PORT": "443",
"HIVE_USER": "username",
"HIVE_PASSWORD": "password",
"HIVE_DATABASE": "default"
}
}
}
}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-serverHIVE_* instead of IMPALA_*get_schema returns {database, tables} and accepts an optional database namelist_databases toolexecute_query returns {columns, rows} for SELECT resultsSee ./examples for LangChain and OpenAI SDK notebooks (update env vars from IMPALA_* to HIVE_*).
Copyright (c) 2025 - Cloudera, Inc. All rights reserved.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.