IoTDB MCP Server

by MCP-Mirror

319 downloads
Not rated
GitHub

About

IoTDB MCP Server is an MCP server implementation that enables database interaction and business intelligence through IoTDB by running SQL queries. It is intended for use with AI assistants like Claude Desktop.

Details

Author
MCP-Mirror
Downloads
319
Categories
Other

- Execute SELECT queries with read_query tool
- List all tables in the database with list_tables tool
- Describe table schema with describe-table tool
- No resources or prompts exposed
- Requires Python, uv, and IoTDB installation

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name IoTDB MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install the server with uv, configure the IoTDB connection via environment variables (host, port, user, password, database) in Claude Desktop's claude_desktop_config.json, and then invoke it through Claude Desktop's MCP client.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "iotdb mcp server": {
            "iotdb": {
                "command": "uv",
                "args": [
                    "--directory",
                    "YOUR_REPO_PATH/src/iotdb_mcp_server",
                    "run",
                    "server.py"
                ],
                "env": {
                    "IOTDB_HOST": "127.0.0.1",
                    "IOTDB_PORT": "6667",
                    "IOTDB_USER": "root",
                    "IOTDB_PASSWORD": "root",
                    "IOTDB_DATABASE": "test"
                }
            }
        }
    }
}

McpServers

{
    "iotdb": {
        "command": "uv",
        "args": [
            "--directory",
            "YOUR_REPO_PATH/src/iotdb_mcp_server",
            "run",
            "server.py"
        ],
        "env": {
            "IOTDB_HOST": "127.0.0.1",
            "IOTDB_PORT": "6667",
            "IOTDB_USER": "root",
            "IOTDB_PASSWORD": "root",
            "IOTDB_DATABASE": "test"
        }
    }
}

IoTDB MCP Server

Overview

A Model Context Protocol (MCP) server implementation that provides database interaction and business intelligence capabilities through IoTDB. This server enables running SQL queries.

Components

Resources

The server doesn't expose any resources.

Prompts

The server doesn't provide any prompts.

Tools

The server offers three core tools:

Query Tools

- read_query - Execute SELECT queries to read data from the database - Input: - query (string): The SELECT SQL query to execute - Returns: Query results as array of objects

Schema Tools

- list_tables - Get a list of all tables in the database - No input required - Returns: Array of table names

- describe-table
- View schema information for a specific table
- Input:
- table_name (string): Name of table to describe
- Returns: Array of column definitions with names and types

Claude Desktop Integration

Prerequisites

- Python with uv package manager - IoTDB installation - MCP server dependencies

Development

```

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.