iotdb-mcp-server

iotdb-mcp-server

By JackieTien97 GitHub

iotdb_mcp_server

iotdb mcp
Overview

what is iotdb-mcp-server?

The iotdb-mcp-server is a Model Context Protocol (MCP) server implementation for IoTDB, designed to provide AI assistants with a secure and structured way to explore and analyze databases.

how to use iotdb-mcp-server?

To use the iotdb-mcp-server, clone the repository, set up a virtual environment, install dependencies, and configure the server in the Claude Desktop's configuration file.

key features of iotdb-mcp-server?

  • List tables and resources in the database.
  • Read data from tables.
  • Execute SQL queries through a controlled interface.
  • Integration with Claude Desktop for enhanced functionality.

use cases of iotdb-mcp-server?

  1. Enabling AI assistants to interact with IoTDB databases securely.
  2. Facilitating data analysis and exploration for research purposes.
  3. Providing a structured way for applications to access database resources.

FAQ from iotdb-mcp-server?

  • What are the prerequisites for using the server?

You need Python with the uv package manager, IoTDB installation, and MCP server dependencies.

  • How do I configure the server for Claude Desktop?

You need to edit the configuration file located in the appropriate directory for your operating system and provide the necessary environment variables.

  • Is there any support for other database operations?

Currently, the server supports listing resources, reading data, and executing SQL queries.

Content

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"
      }
    }
  }
}
No tools information available.
School MCP
School MCP by 54yyyu

A Model Context Protocol (MCP) server for academic tools, integrating with Canvas and Gradescope platforms.

canvas mcp
View Details
repo-template
repo-template by loonghao

A Model Context Protocol (MCP) server for Python package intelligence, providing structured queries for PyPI packages and GitHub repositories. Features include dependency analysis, version tracking, and package metadata retrieval for LLM interactions.

-

google-calendar mcp
View Details
strava-mcp
strava-mcp by jeremysilva1098

MCP server for strava

strava mcp
View Details

Model Context Protocol (MCP) server implementation for Rhinoceros/Grasshopper integration, enabling AI models to interact with parametric design tools

grasshopper mcp
View Details

MCP configuration to connect AI agent to a Linux machine.

security mcp
View Details

AI assistant built with Streamlit, NVIDIA NIM (LLaMa 3.3:70B) / Ollama, and Model Control Protocol (MCP).

python mcp
View Details