IoTDB MCP Server

by JackieTien97

Integrations

  • Provides AI assistants with a structured interface to IoTDB (Apache IoT Database), enabling table listing, data reading, and SQL query execution for analyzing time-series data in IoT applications.

iotdb-mcp-server

A Model Context Protocol (MCP) server implementation for IoTDB.

This server provides AI assistants with a secure and structured way to explore and analyze databases. It enables them to list tables, read data, and execute SQL queries through a controlled interface, ensuring responsible database access.

Capabilities

  • list_resources to list tables
  • read_resource to read table data
  • list_tools to list tools
  • call_tool to execute an SQL
  • list_prompts to list prompts
  • get_prompt to get the prompt by name

Usage

Prerequisites

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

Development

# Clone the repository git clone https://github.com/JackieTien97/iotdb_mcp_server.git cd iotdb_mcp_server # Create virtual environment uv venv source venv/bin/activate # or `venv\Scripts\activate` on Windows # Install development dependencies uv sync

Claude Desktop Integration

Configure the MCP server in Claude Desktop's configuration file:

MacOS

Location: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows

Location: %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "iotdb": { "command": "~/PycharmProjects/iotdb_mcp_server/.venv/bin/python", "args": [ "~/PycharmProjects/iotdb_mcp_server/src/iotdb_mcp_server/server.py" ], "env": { "IOTDB_HOST": "127.0.0.1", "IOTDB_PORT": "6667", "IOTDB_USER": "root", "IOTDB_PASSWORD": "root", "IOTDB_DATABASE": "test" } } } }
-
security - not tested
F
license - not found
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

A Model Context Protocol server that enables AI assistants to securely interact with Apache IoTDB databases through a controlled interface for listing tables, reading data, and executing SQL queries.

  1. Capabilities
    1. Usage
      1. Prerequisites
      2. Development
      3. Claude Desktop Integration

    Related MCP Servers

    • -
      security
      A
      license
      -
      quality
      A Model Context Protocol server that enables secure and structured interaction with Microsoft SQL Server databases, allowing AI assistants to list tables, read data, and execute SQL queries with controlled access.
      Last updated -
      12
      Python
      MIT License
      • Linux
      • Apple
    • A
      security
      A
      license
      A
      quality
      A Model Context Protocol server that enables secure interaction with Microsoft SQL Server databases, allowing AI assistants to list tables, read data, and execute SQL queries through a controlled interface.
      Last updated -
      1
      30
      Python
      MIT License
      • Linux
      • Apple
    • -
      security
      A
      license
      -
      quality
      A Model Context Protocol server implementation that enables AI assistants to securely interact with GreptimeDB, allowing them to explore database schema, read data, and execute SQL queries through a controlled interface.
      Last updated -
      11
      Python
      MIT License
      • Apple
    • -
      security
      -
      license
      -
      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 -
      6
      Python
      Apache 2.0

    View all related MCP servers

    ID: cd63nhgtww