CI

cloudera/iceberg-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

13 stars 17 forks 品質 56 トレンド 20Apache-2.0

これは、Apache Impala 経由でアイスバーグテーブルへの読み取り専用アクセスを提供するモデルコンテキストプロトコルサーバーです。 LLM はデータベースのスキーマを検査し、読み取り専用のクエリを実行できるようにします.

概要

これは、Apache Impala 経由でアイスバーグテーブルへの読み取り専用アクセスを提供するモデルコンテキストプロトコルサーバーです。 LLM はデータベースのスキーマを検査し、読み取り専用のクエリを実行できるようにします。 - execute query(query: str): インパラでSQLクエリを実行し、結果をJSONとして返します。 - get schema(): 現在のデータベースで利用可能なすべてのテーブルをリストします。 Claudeデスクトップアプリでこのサーバーを使用するには、claude desktop config.json の "mcpServers" セクションに次の設定を追加します。 Option 2 の場合、 /path/to をこのリポジトリへのパスに置き換えます。 Impala の設定に従って環境変数を設定します。 ./examples フォルダーには、LangChain/LangGraph、OpenAI SDK などの一般的なAIフレームワークで、この MCP Server を統合する方法がいくつかあります。 MCP サーバーのトランスポートプロトコルは、MCP TRANSPORT 環境変数により構成可能です。 サポートされている値: - stdio — 標準入力/出力を介して通信します.

概要(AI 翻訳)

これは、Apache Impala 経由でアイスバーグテーブルへの読み取り専用アクセスを提供するモデルコンテキストプロトコルサーバーです。 LLM はデータベースのスキーマを検査し、読み取り専用のクエリを実行できるようにします。

Claudeデスクトップでの使用

Claudeデスクトップアプリでこのサーバーを使用するには、[claude_desktop_config.jsonの[mcpServers]セクションに次の設定を追加します。

Option 1: GitHub からの直接インストール (推奨)

##Option 2:ローカルインストール(リポジトリをクローニングした後)

オプション2の場合、このリポジトリへのパスで[/path/toを置き換えます。 Impala の設定に従って環境変数を設定します。

AIフレームワークでの利用

[./examplesフォルダには、LangChain/LangGraph、OpenAI SDKなどの一般的なAIフレームワークで、このMCP Serverを統合する方法がいくつかあります。

輸送

MCP サーバーのトランスポートプロトコルは、[[MCP_TRANSPORT]]]環境変数を介して設定可能です。 サポートされている値:

  • [stdio(デフォルト) — 標準的な入出力に通信します.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

Cloudera Iceberg MCP Server (via Impala)

This is a A Model Context Protocol server that provides read-only access to Iceberg tables via Apache Impala. This server enables LLMs to inspect database schemas and execute read-only queries.

  • execute_query(query: str): Run any SQL query on Impala and return the results as JSON.
  • get_schema(): List all tables available in the current database.

Usage with Claude Desktop

To use this server with the Claude Desktop app, add the following configuration to the “mcpServers” section of your claude_desktop_config.json:

{
  "mcpServers": {
    "iceberg-mcp-server": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/cloudera/iceberg-mcp-server@main",
        "run-server"
      ],
      "env": {
        "IMPALA_HOST": "coordinator-default-impala.example.com",
        "IMPALA_PORT": "443",
        "IMPALA_USER": "username",
        "IMPALA_PASSWORD": "password",
        "IMPALA_DATABASE": "default"
      }
    }
  }
}

Option 2: Local installation (after cloning the repository)

{
  "mcpServers": {
    "iceberg-mcp-server": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/iceberg-mcp-server",
        "run",
        "src/iceberg_mcp_server/server.py"
      ],
      "env": {
        "IMPALA_HOST": "coordinator-default-impala.example.com",
        "IMPALA_PORT": "443",
        "IMPALA_USER": "username",
        "IMPALA_PASSWORD": "password",
        "IMPALA_DATABASE": "default"
      }
    }
  }
}

For Option 2, replace /path/to with your path to this repository. Set the environment variables according to your Impala configuration.

Usage with AI frameworks

The ./examples folder contains several examples how to integrate this MCP Server with common AI Frameworks like LangChain/LangGraph, OpenAI SDK.

Transport

The MCP server’s transport protocol is configurable via the MCP_TRANSPORT environment variable. Supported values:

  • stdio (default) — communicate over standard input/output. Useful for local tools, command-line scripts, and integrations with clients like Claude Desktop.
  • http - expose an HTTP server. Useful for web-based deployments, microservices, exposing MCP over a network.
  • sse — use Server-Sent Events (SSE) transport. Useful for existing web-based deployments that rely on SSE.

Copyright © 2025 - Cloudera, Inc. All rights reserved.

GitHub で README 全文を見る

インストール

uvx --from git+https://github.com/cloudera/iceberg-mcp-server@main run-server
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "iceberg-mcp-server": { "command": "uvx", "args": [ "--from", "git+https://github.com/cloudera/iceberg-mcp-server@main", "run-server" ], "env": { "IMPALA_HOST": "coordinator-default-impala.example.com", "IMPALA_PORT": "443", "IMPALA_USER": "username", "IMPALA_PASSWORD": "password", "IMPALA_DATABASE": "default" } } } }