IoTDB MCP Server
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
- License
- Apache-2.0 license
Explore
- 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:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
IoTDB MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
- Python with uv package manager
- IoTDB installation
- MCP server dependencies
uv venv
source venv/bin/activate # or venv\Scripts\activate on Windows
uv sync
```
Configure the MCP server in Claude Desktop's configuration file:
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"
}
}
}
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 withuv package manager
- IoTDB installation
- MCP server dependencies
Development
```
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



