MCP.so
登录

IoTDB MCP Server

@apache

基本信息

分类

其他

许可证

Apache-2.0

传输方式

stdio

作者

apache

关于 IoTDB MCP Server

Apache IoTDB MCP Server

IoTDB MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "iotdb-mcp-server": {
      "command": "uv",
      "args": [
        "venv"
      ]
    }
  }
}

IoTDB MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is IoTDB MCP Server?

IoTDB MCP Server is a Model Context Protocol (MCP) server that provides database interaction and business intelligence capabilities through Apache IoTDB. It enables AI assistants to run SQL queries and interact with IoTDB using either the Tree Model or Table Model dialect.

How to use IoTDB MCP Server?

Install with uv and configure via environment variables or command-line arguments for host, port, user, password, database, SQL dialect, and export path. Integrate with Claude Desktop by adding the server configuration in claude_desktop_config.json with the proper command, arguments, and environment variables.

Key features of IoTDB MCP Server

  • Supports both Tree Model and Table Model SQL dialects
  • Tools for metadata queries and data selection per model
  • Export query results to CSV or Excel files
  • Session pool with up to 100 concurrent connections
  • Automatic connection retry and timeout management
  • Docker support for containerized deployment

Use cases of IoTDB MCP Server

  • Query time‑series metadata and data from IoTDB using natural language
  • Export IoTDB query results to CSV/Excel for further analysis
  • Explore database schema (tables, devices, timeseries) via AI assistants
  • Integrate IoTDB business intelligence into chat‑based workflows

常见问题

1

What SQL dialects are supported?

Two dialects: **tree** (for timeseries metadata and data) and **table** (for relational tables). Set the `IOTDB_SQL_DIALECT` environment variable to `tree` or `table`.

2

How do I configure the connection to IoTDB?

Use environment variables (`IOTDB_HOST`, `IOTDB_PORT`, `IOTDB_USER`, `IOTDB_PASSWORD`, `IOTDB_DATABASE`) or command‑line arguments (`--host`, `--port`, etc.). Defaults: host 127.0.0.1, port 6667, user/password root, database test.

3

Can I export query results to a file?

Yes. The Tree Model tool `export_query` and the Table Model tool `export_table_query` export to CSV (default) or Excel. A preview of up to 10 rows is returned.

4

What are the prerequisites for running the server?

A Python environment, the `uv` package manager, an IoTDB instance, and the MCP server dependencies installed via `uv sync`.

5

Does the server support Docker?

Yes. Build the image with `docker build -t iotdb-mcp-server .` and run with environment variables for the IoTDB connection.

评论

其他 分类下的更多 MCP 服务器