Skip to main content
Glama

ClickHouse MCP Server

by ThomAub

ClickHouse MCPサーバー

このプロジェクトは、ClickHouse 用のモデル コンテキスト プロトコル (MCP) サーバーを実装し、ClickHouse データベースと大規模言語モデル (LLM) およびその他の AI アプリケーションとのシームレスな統合を可能にします。

特徴

  • ClickHouseデータベースとテーブルをリソースとしてリストする
  • テーブルスキーマを取得する
  • ClickHouseデータベースでSELECTクエリを実行する
  • MCPプロトコルを使用した安全で効率的な通信

要件

  • Python 3.10以上
  • ClickHouseサーバー

インストール

  1. リポジトリをクローンします。
    git clone https://github.com/ThomAub/clickhouse_mcp_server.git cd clickhouse_mcp_server
  2. 必要なパッケージをインストールします。
    uv sync --all-extras
  3. 環境変数で ClickHouse 接続の詳細を設定するか、 server.pyget_clickhouse_client関数を更新します。

使用法

サーバーを実行します。

python clickhouse_mcp_server/server.py

サーバーが起動し、MCP 要求をリッスンします。

テスト

pytest を使用してテストを実行します。

pytest tests/

貢献

貢献を歓迎します!お気軽にプルリクエストを送信してください。

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています。

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

大規模言語モデルが ClickHouse データベースとシームレスに対話し、リソースの一覧表示、スキーマの取得、およびクエリの実行をサポートするモデル コンテキスト プロトコル サーバー。

  1. 特徴
    1. 要件
      1. インストール
        1. 使用法
          1. テスト
            1. 貢献
              1. ライセンス

                Related MCP Servers

                • -
                  security
                  A
                  license
                  -
                  quality
                  A Model Context Protocol server that enables Large Language Models to interact with ClickUp workspace tasks and data, allowing creation and retrieval of tasks through natural language.
                  Last updated -
                  762
                  3
                  TypeScript
                  MIT License
                  • Apple
                • A
                  security
                  A
                  license
                  A
                  quality
                  A Model Context Protocol server that enables AI assistants to securely interact with ClickHouse databases, supporting table exploration and SQL query execution through a controlled interface.
                  Last updated -
                  1
                  8
                  Python
                  Apache 2.0
                • -
                  security
                  F
                  license
                  -
                  quality
                  A Model Context Protocol server that enables Large Language Models to access and interact with database connections, including viewing schemas and performing CRUD operations on connected databases.
                  Last updated -
                  • Apple
                • -
                  security
                  F
                  license
                  -
                  quality
                  A Model Context Protocol server that enables large language models to interact directly with Couchbase databases through natural language, supporting operations like querying buckets, performing CRUD operations, and executing N1QL queries.
                  Last updated -
                  7
                  7
                  TypeScript
                  • Apple

                View all related MCP servers

                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/ThomAub/clickhouse_mcp_server'

                If you have feedback or need assistance with the MCP directory API, please join our Discord server