The IoTDB MCP Server provides a secure interface for AI assistants to interact with Apache IoTDB time-series databases. Developed by the Apache Software Foundation, this Python-based implementation enables three core database operations: executing SELECT queries, listing available tables, and describing table schemas. The server connects to IoTDB instances using a session pool for efficient connection management and returns query results in a structured text format. It's particularly valuable for data analysts and IoT applications that need AI-assisted exploration and analysis of time-series data stored in IoTDB without requiring direct database access.
Nessuna recensione ancora. Sii il primo a recensire!
Accedi per unirti alla conversazione
Execute SHOW/COUNT queries to read metadata from the database. Input: query_sql (string): The SHOW/COUNT SQL query to execute.
Execute SELECT queries to read data from the database. Input: query_sql (string): The SELECT SQL query to execute.
Execute multiple readonly SQL statements in parallel and store each result in ResultStore. Input: sqls (array), sql_template + param_sets, max_concurrency (integer), worker_pool_size (integer), per_item_timeout_ms (integer), batch_timeout_ms (integer), max_result_rows_per_item (integer), max_result_bytes_per_item (integer), max_batch_result_rows (integer), max_batch_result_bytes (integer).
Read multiple ResultStore pages in one MCP call. Input: pages (array), default_limit (integer), max_pages (integer), max_total_rows (integer), continue_on_error (boolean).
Execute a query and export the results to a CSV or Excel file. Input: query_sql (string), format (string), filename (string).
Execute AINode CALL INFERENCE(...) SQL and return the result set. Input: inference_sql (string): A single Tree-dialect SQL statement starting with CALL INFERENCE.
Build and validate AINode CALL INFERENCE(...) SQL from structured fields. Input: model_id (string), input_sql (string), output_length (int), generate_time (bool).
Execute SHOW FUNCTIONS for the selected IoTDB target.
Build a read-only UDF SELECT from structured inputs.
Execute the validated UDF query and return a ResultStore-backed preview.
Execute the validated UDF query and export the result set to CSV or Excel.
Execute SELECT queries to read data from the database. Input: query_sql (string): The SELECT SQL query to execute.
Get a list of all tables in the database. No input required.
View schema information for a specific table. Input: table_name (string): Name of table to describe.
Execute a query and export the results to a CSV or Excel file. Input: query_sql (string), format (string), filename (string).