1. Conduid
  2. Developer Tools
  3. Apache Doris
MCP server · Developer Tools

Apache Doris

Apache Doris MCP Server

74Good

Scored 22 hours ago · breakdown

About Apache Doris

Apache Doris is an MCP server published by apache in the Developer Tools category: apache Doris MCP Server. Conduid read 25 tools from its source: analyze_columns, analyze_data_access_patterns, analyze_data_flow_dependencies, analyze_resource_growth_curves, analyze_slow_queries_topn, analyze_table_storage and 19 more. No package is published for it, so it installs from a source checkout.

The repository has 361 stars and 109 forks, is licensed Apache-2.0, and its last commit was on 26 Nov 2026. The latest release is 1.0.0 (1 Aug 2026): Apache Doris MCP Server 1.0.0 establishes the project's first versioned public contract for exposing read-only Apache Doris capabilities to MCP Hosts and AI agents over… It follows 0.6.0 (9 Sep 2025), and the 4 most recent releases go back to 0.4.2 (2 Jul 2025). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include doris, database, analytics and sql.

Install

From source
git clone https://github.com/apache/doris-mcp-server

Tools (25)

analyze_columns[Function Description]: Analyze completeness and distribution of specified columns in a table. [Parameter Content]: - table_name (string) [Required] - Name of the table to analyze - columns (array) [Required] - List of column names to analyze - analysis_types (array) [Optional] - Types of analysis to perform, default is ["both"] * "completeness": Only completeness analysis (null rates, non-null counts) * "distribution": Only distribution analysis (statistical patterns by data type) * "both": Both completeness and distribution analysis - sample_size (integer) [Optional] - Maximum number of rows to sample, default is 100000 - catalog_name (string) [Optional] - Target catalog name - db_name (string) [Optional] - Target database name - detailed_response (boolean) [Optional] - Whether to return detailed response including raw data, default is false
ParameterTypeDescription
analysis_typesarrayTypes of analysis to perform
catalog_namestringTarget catalog name
columns *arrayList of column names to analyze
db_namestringTarget database name
detailed_responsebooleanWhether to return detailed response including raw data
sample_sizeintegerMaximum number of rows to sample
table_name *stringName of the table to analyze
analyze_data_access_patterns[Function Description]: Analyze user data access patterns, security anomalies, and access behavior. [Parameter Content]: - days (integer) [Optional] - Number of days to analyze, default is 7 - include_system_users (boolean) [Optional] - Whether to include system users in analysis, default is false - min_query_threshold (integer) [Optional] - Minimum queries for user inclusion, default is 5
ParameterTypeDescription
daysintegerNumber of days to analyze
include_system_usersbooleanWhether to include system users
min_query_thresholdintegerMinimum queries for user inclusion
analyze_data_flow_dependencies[Function Description]: Analyze data flow dependencies and impact relationships between tables. [Parameter Content]: - target_table (string) [Optional] - Specific table to analyze, if not specified analyzes all tables - analysis_depth (integer) [Optional] - Maximum depth for dependency traversal, default is 3 - include_views (boolean) [Optional] - Whether to include views in analysis, default is true - catalog_name (string) [Optional] - Target catalog name - db_name (string) [Optional] - Target database name
ParameterTypeDescription
analysis_depthintegerMaximum depth for dependency traversal
catalog_namestringTarget catalog name
db_namestringTarget database name
include_viewsbooleanWhether to include views in analysis
target_tablestringSpecific table to analyze
analyze_resource_growth_curves[Function Description]: Analyze resource growth patterns and trends for capacity planning. [Parameter Content]: - days (integer) [Optional] - Number of days to analyze, default is 30 - resource_types (array) [Optional] - Types of resources to analyze, default is ["storage", "query_volume", "user_activity"] - include_predictions (boolean) [Optional] - Whether to include growth predictions, default is false
ParameterTypeDescription
daysintegerNumber of days to analyze
detailed_responsebooleanWhether to return detailed data including daily breakdowns
include_predictionsbooleanWhether to include growth predictions
resource_typesarrayTypes of resources to analyze
analyze_slow_queries_topn[Function Description]: Analyze top N slowest queries and identify performance patterns and issues. [Parameter Content]: - days (integer) [Optional] - Number of days to analyze, default is 7 - top_n (integer) [Optional] - Number of top slow queries to return, default is 20 - min_execution_time_ms (integer) [Optional] - Minimum execution time threshold in milliseconds, default is 1000 - include_patterns (boolean) [Optional] - Whether to include query pattern analysis, default is true
ParameterTypeDescription
daysintegerNumber of days to analyze
include_patternsbooleanWhether to include query pattern analysis
min_execution_time_msintegerMinimum execution time threshold in milliseconds
top_nintegerNumber of top slow queries to return
analyze_table_storage[Function Description]: Analyze table's physical distribution and storage information. [Parameter Content]: - table_name (string) [Required] - Name of the table to analyze - catalog_name (string) [Optional] - Target catalog name - db_name (string) [Optional] - Target database name - detailed_response (boolean) [Optional] - Whether to return detailed response including raw data, default is false
ParameterTypeDescription
catalog_namestringTarget catalog name
db_namestringTarget database name
detailed_responsebooleanWhether to return detailed response including raw data
table_name *stringName of the table to analyze
exec_adbc_query[Function Description]: Execute SQL query using ADBC (Arrow Flight SQL) protocol for high-performance data transfer. [Parameter Content]: - sql (string) [Required] - SQL statement to execute - max_rows (integer) [Optional] - Maximum number of rows to return, default is {adbc_default_max_rows} - max_bytes (integer) [Optional] - Maximum UTF-8 JSON bytes for returned row data, default is {result_limits.max_bytes} - timeout (integer) [Optional] - Query timeout in seconds, default is {adbc_default_timeout} - return_format (string) [Optional] - Format for returned data, default is "{adbc_config.default_return_format}" * "arrow": Return Arrow format with metadata * "pandas": Return Pandas DataFrame format * "dict": Return dictionary format [Prerequisites]: - Environment variables FE_ARROW_FLIGHT_SQL_PORT and BE_ARROW_FLIGHT_SQL_PORT must be configured - Required Python packages: adbc_driver_manager, adbc_driver_flightsql - Arrow Flight SQL services must be running on FE and BE nodes
ParameterTypeDescription
max_bytesintegerMaximum UTF-8 JSON result bytes
max_rowsintegerMaximum number of rows to return
return_formatstringFormat for returned data
sql *stringSQL statement to execute
timeoutintegerQuery timeout in seconds
exec_query[Function Description]: Execute SQL query and return result command with catalog federation support. [Parameter Content]: - sql (string) [Required] - SQL statement to execute. MUST use three-part naming for all table references: 'catalog_name.db_name.table_name'. For internal tables use 'internal.db_name.table_name', for external tables use 'catalog_name.db_name.table_name' - db_name (string) [Optional] - Target database name, defaults to the current database - catalog_name (string) [Optional] - Reference catalog name for context, defaults to current catalog - max_rows (integer) [Optional] - Maximum number of rows to return, defaults to the configured DEFAULT_RESULT_ROWS value - max_bytes (integer) [Optional] - Maximum UTF-8 JSON bytes for returned row data - timeout (integer) [Optional] - Query timeout in seconds, default 30
ParameterTypeDescription
catalog_namestringCatalog name
db_namestringTarget database name
max_bytesintegerMaximum UTF-8 JSON bytes for returned row data
max_rowsintegerMaximum number of rows to return
sql *stringSQL statement to execute, must use three-part naming
timeoutintegerTimeout in seconds
get_adbc_connection_info[Function Description]: Get ADBC (Arrow Flight SQL) connection information and status. [Parameter Content]: No parameters required. Returns connection status, configuration, and diagnostic information.
get_catalog_list[Function Description]: Get a list of all catalog names on the server. [Parameter Content]: - random_string (string) [Required] - Unique identifier for the tool call
ParameterTypeDescription
random_string *stringUnique identifier
get_db_list[Function Description]: Get a list of all database names on the server. [Parameter Content]: - catalog_name (string) [Optional] - Target catalog name for federation queries, defaults to current catalog
ParameterTypeDescription
catalog_namestringCatalog name
get_db_table_list[Function Description]: Get a list of all table names in the specified database. [Parameter Content]: - db_name (string) [Optional] - Target database name, defaults to the current database - catalog_name (string) [Optional] - Target catalog name for federation queries, defaults to current catalog
ParameterTypeDescription
catalog_namestringCatalog name
db_namestringDatabase name
get_memory_stats[Function Description]: Get comprehensive memory statistics from Doris BE nodes, supporting both real-time and historical data. [Parameter Content]: - data_type (string) [Optional] - Type of memory data to retrieve, default is "realtime" * "realtime": Real-time memory statistics via Memory Tracker web interface * "historical": Historical memory statistics via Bvar interface * "both": Both real-time and historical data - tracker_type (string) [Optional] - Type of memory trackers to retrieve (for real-time), default is "overview" * "overview": Overview type trackers (process memory, tracked memory summary) * "global": Global shared memory trackers (cache, metadata) * "query": Query-related memory trackers * "load": Load-related memory trackers * "compaction": Compaction-related memory trackers * "all": All memory tracker types - tracker_names (array) [Optional] - List of specific tracker names for historical data * Example: ["process_resident_memory", "global", "query", "load", "compaction"] - time_range (string) [Optional] - Time range for historical data, default is "1h" * "1h": Last 1 hour * "6h": Last 6 hours * "24h": Last 24 hours - include_details (boolean) [Optional] - Whether to include detailed tracker information and definitions, default is true
ParameterTypeDescription
data_typestringType of memory data to retrieve
include_detailsbooleanWhether to include detailed tracker information and definitions
time_rangestringTime range for historical data
tracker_namesarrayList of specific tracker names for historical data
tracker_typestringType of memory trackers to retrieve (for real-time)
get_monitoring_metrics[Function Description]: Get comprehensive Doris monitoring metrics including definitions and/or actual data from FE and BE nodes. [Parameter Content]: - content_type (string) [Optional] - Type of monitoring content to retrieve, default is "data" * "definitions": Only metric definitions and descriptions * "data": Only actual metric data from nodes * "both": Both definitions and data - role (string) [Optional] - Node role to monitor, default is "all" * "fe": Only FE nodes/metrics * "be": Only BE nodes/metrics * "all": Both FE and BE nodes/metrics - monitor_type (string) [Optional] - Type of monitoring metrics, default is "all" * "process": Process monitoring metrics * "jvm": JVM monitoring metrics (FE only) * "machine": Machine monitoring metrics * "all": All monitoring types - priority (string) [Optional] - Metric priority level, default is "core" * "core": Only core essential metrics (10-12 items for production use) * "p0": Only P0 (highest priority) metrics * "all": All metrics (P0 and non-P0) - include_raw_metrics (boolean) [Optional] - Whether to include raw detailed metrics data (can be very large), default is false
ParameterTypeDescription
content_typestringType of monitoring content to retrieve
include_raw_metricsbooleanWhether to include raw detailed metrics data (can be very large)
monitor_typestringType of monitoring metrics
prioritystringMetric priority level
rolestringNode role to monitor
get_recent_audit_logs[Function Description]: Get audit log records for a recent period. [Parameter Content]: - days (integer) [Optional] - Number of recent days of logs to retrieve, default is 7 - limit (integer) [Optional] - Maximum number of records to return, default is 100
ParameterTypeDescription
daysintegerNumber of recent days
limitintegerMaximum number of records
get_sql_explain[Function Description]: Get SQL execution plan using EXPLAIN command based on Doris syntax. [Parameter Content]: - sql (string) [Required] - SQL statement to explain - verbose (boolean) [Optional] - Whether to show verbose information, default is false - db_name (string) [Optional] - Target database name, defaults to the current database - catalog_name (string) [Optional] - Target catalog name for federation queries, defaults to current catalog
ParameterTypeDescription
catalog_namestringCatalog name
db_namestringDatabase name
sql *stringSQL statement to explain
verbosebooleanWhether to show verbose information
get_sql_profile[Function Description]: Get SQL execution profile by setting trace ID and fetching profile via FE HTTP API. [Parameter Content]: - sql (string) [Required] - SQL statement to profile - db_name (string) [Optional] - Target database name, defaults to the current database - catalog_name (string) [Optional] - Target catalog name for federation queries, defaults to current catalog - timeout (integer) [Optional] - Query timeout in seconds, default is 30
ParameterTypeDescription
catalog_namestringCatalog name
db_namestringDatabase name
sql *stringSQL statement to profile
timeoutintegerQuery timeout in seconds
get_table_basic_info[Function Description]: Get basic information about a table including row count, column count, partitions, and size. [Parameter Content]: - table_name (string) [Required] - Name of the table to analyze - catalog_name (string) [Optional] - Target catalog name - db_name (string) [Optional] - Target database name
ParameterTypeDescription
catalog_namestringTarget catalog name
db_namestringTarget database name
table_name *stringName of the table to analyze
get_table_column_comments[Function Description]: Get comment information for all columns in the specified table. [Parameter Content]: - table_name (string) [Required] - Name of the table to query - db_name (string) [Optional] - Target database name, defaults to the current database - catalog_name (string) [Optional] - Target catalog name for federation queries, defaults to current catalog
ParameterTypeDescription
catalog_namestringCatalog name
db_namestringDatabase name
table_name *stringTable name
get_table_comment[Function Description]: Get the comment information for the specified table. [Parameter Content]: - table_name (string) [Required] - Name of the table to query - db_name (string) [Optional] - Target database name, defaults to the current database - catalog_name (string) [Optional] - Target catalog name for federation queries, defaults to current catalog
ParameterTypeDescription
catalog_namestringCatalog name
db_namestringDatabase name
table_name *stringTable name
get_table_data_size[Function Description]: Get table data size information via FE HTTP API. [Parameter Content]: - db_name (string) [Optional] - Database name, if not specified returns all databases - table_name (string) [Optional] - Table name, if not specified returns all tables in the database - single_replica (boolean) [Optional] - Whether to get single replica data size, default is false
ParameterTypeDescription
db_namestringDatabase name
single_replicabooleanWhether to get single replica data size
table_namestringTable name
get_table_indexes[Function Description]: Get index information for the specified table. [Parameter Content]: - table_name (string) [Required] - Name of the table to query - db_name (string) [Optional] - Target database name, defaults to the current database - catalog_name (string) [Optional] - Target catalog name for federation queries, defaults to current catalog
ParameterTypeDescription
catalog_namestringCatalog name
db_namestringDatabase name
table_name *stringTable name
get_table_schema[Function Description]: Get detailed structure information of the specified table (columns, types, comments, etc.). [Parameter Content]: - table_name (string) [Required] - Name of the table to query - db_name (string) [Optional] - Target database name, defaults to the current database - catalog_name (string) [Optional] - Target catalog name for federation queries, defaults to current catalog
ParameterTypeDescription
catalog_namestringCatalog name
db_namestringDatabase name
table_name *stringTable name
monitor_data_freshness[Function Description]: Monitor data freshness and staleness patterns for specified tables. [Parameter Content]: - table_names (array) [Optional] - List of table names to monitor, if not specified monitors all tables - freshness_threshold_hours (integer) [Optional] - Freshness threshold in hours, default is 24 - include_update_patterns (boolean) [Optional] - Whether to include update pattern analysis, default is true - catalog_name (string) [Optional] - Target catalog name - db_name (string) [Optional] - Target database name
ParameterTypeDescription
catalog_namestringTarget catalog name
db_namestringTarget database name
freshness_threshold_hoursintegerFreshness threshold in hours
include_update_patternsbooleanWhether to include update pattern analysis
table_namesarrayList of table names to monitor
trace_column_lineage[Function Description]: Trace data lineage for specified columns through SQL analysis and dependency mapping. [Parameter Content]: - target_columns (array) [Required] - List of column specifications in format "table.column" or "db.table.column" - analysis_depth (integer) [Optional] - Maximum depth for lineage tracing, default is 3 - include_transformations (boolean) [Optional] - Whether to include transformation details, default is true - catalog_name (string) [Optional] - Target catalog name
ParameterTypeDescription
analysis_depthintegerMaximum depth for lineage tracing
catalog_namestringTarget catalog name
include_transformationsbooleanWhether to include transformation details
target_columns *arrayList of column specifications

Security checks

Static checks derived from the repository yesterday. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 941 words.
  • ✓License declaredThe repository declares the Apache-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by uv.lock.
  • ✓No dynamic code executionScanned 101 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdio and Streamable HTTPdoris_mcp_client/client.py:498, doris_mcp_client/client.py:498
Starts other programs
1 calldoris_mcp_server/semantic/metricflow.py:150
Outbound network calls
4 callsdoris_mcp_server/auth/doris_oauth_client_metadata.py:244, doris_mcp_server/auth/oauth_client.py:223, doris_mcp_server/auth/oauth_client.py:301
Writes or deletes files
13 callsdoris_mcp_server/auth/key_manager.py:287, doris_mcp_server/auth/key_manager.py:292, doris_mcp_server/auth/token_manager.py:889
Lockfile
uv.lock

Pattern matches on the source text of 101 files: places to read, not proof of what the code does at run time.

Releases

1.0.01.0.0 · 1 Aug 2026Apache Doris MCP Server 1.0.0 establishes the project's first versioned public contract for exposing read-only Apache Doris capabilities to MCP Hosts and AI agents over MCP `2026-07-28`. Highlights Eight stable top-level Doris domains and…
0.6.00.6.0 · 9 Sep 2025Doris MCP Server 0.6.0 Release Notes Release Date: 3 September 2025 Release Manager: FreeOnePlus(Yijia Su) 🚀 Major Features & Enhancements Enterprise-Grade Authentication System Doris MCP Server 0.6.0 introduces a comprehensive…
0.5.10.5.1 · 16 Jul 2025Doris MCP Server v0.5.1 Release Notes 🔥 Critical Fixes & System Improvements ✅ Complete Resolution of at_eof Connection Issues The most important fix in v0.5.1 - Complete elimination of `at_eof` connection pool errors that affected…
0.4.20.4.2 · 2 Jul 2025Doris MCP Server v0.4.2 Release Notes Release Date: 2025-07-02 Version: 0.4.2 Type: Major Feature & Stability Release 🎯 Overview Doris MCP Server v0.4.2 is a comprehensive release that introduces significant enhancements focused on…

README

The repository's README runs to about 941 words, fetched yesterday. The original in the repository is authoritative.

Read full README
Questions

About Apache Doris

How do I install Apache Doris?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Apache Doris safe to use with an AI agent?

Its trust score is 74 out of 100 (good). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 101 source files found that it serves MCP over stdio and Streamable HTTP, starts other programs (1 call), makes outbound network calls (4 calls) and writes or deletes files (13 calls). Its dependencies are pinned by uv.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Apache Doris still maintained?

Yes — the latest release is 1.0.0 (1 Aug 2026), and the last commit was 5 days ago. The repository has 361 stars and 31 open issues.

What tools does Apache Doris provide?

Conduid read 25 tools from the source: analyze_columns, analyze_data_access_patterns, analyze_data_flow_dependencies, analyze_resource_growth_curves, analyze_slow_queries_topn, analyze_table_storage, exec_adbc_query, exec_query and 17 more. 24 of them publish their parameters, listed under Tools above.

What license is Apache Doris released under?

The repository declares the Apache-2.0 license. That applies to the latest release, 1.0.0, as well.