MCPdir β€” MCP Server Directory
πŸ‡¬πŸ‡§ πŸ‡ͺπŸ‡Έ

StarRocks MCP

by StarRocks

Sub-second analytics on fresh data with high concurrency via MCP

database Python Intermediate Self-hostable
⭐ 100 stars πŸ“… Updated: 1mo ago

Description

MCP server for interacting with StarRocks, an analytics platform designed for sub-second queries on fresh data with high concurrency and low latency. StarRocks excels at real-time dashboards, ad-hoc queries, and data lake analytics. This server lets AI assistants execute SQL queries, explore database schemas, and analyze query performance directly on StarRocks clusters. Compatible with MySQL protocol and supports querying external data sources like Apache Hive, Apache Iceberg, and Delta Lake without data movement. Ideal for teams that need blazing-fast analytics on both internal tables and data lake formats.

βœ… Best for

Teams building real-time dashboards and analytics that need sub-second query performance across both internal and lake data

⏭️ Skip if

You need a general-purpose transactional database or only work with small datasets

πŸ’‘ Use cases

  • Running sub-second analytical queries from AI assistants for real-time dashboards
  • Exploring and querying data across internal tables and external data lakes
  • Analyzing query performance and identifying optimization opportunities
  • Ad-hoc data exploration with natural language on StarRocks clusters

πŸ‘ Pros

  • βœ“ Sub-second query latency even on complex analytical workloads
  • βœ“ MySQL-compatible protocol β€” LLMs can generate standard SQL directly
  • βœ“ Native data lake analytics (Hive, Iceberg, Delta Lake) without data movement
  • βœ“ High concurrency support for dashboard and multi-user scenarios

πŸ‘Ž Cons

  • βœ— Requires a running StarRocks cluster (not trivial to set up locally)
  • βœ— Focused on analytical workloads β€” not designed for heavy OLTP transactions
  • βœ— Smaller community compared to more established data warehouses

πŸ”§ Exposed tools (4 tools)

ToolCategoryDescription
list_databasesdiscoveryList all available databases and external catalogs
describe_tablediscoveryGet schema details and column types for a table
analyze_performanceoptimizationAnalyze query performance and suggest optimizations
execute_queryqueryExecute a SQL query on the StarRocks cluster

⚑ Installation

Prerequisites:

  • β€’ python v3.10+
  • β€’ StarRocks database credentials (host, port, user, password)
  • β€’ API key required

Check Claude Code documentation to configure this MCP server.

πŸ’‘ Tips & tricks

StarRocks is MySQL-compatible, so use standard SQL syntax. Use describe_table to inspect schemas before writing queries. For data lake analytics, check available external catalogs first. The analyze_performance tool helps identify slow queries and missing indexes.

πŸ”„ Alternatives

Quick info

Author
StarRocks
License
Apache-2.0
Runtime
Python 3.10+
Transport
stdio
Category
database
Difficulty
Intermediate
Self-hostable
βœ…
Auth
β€”
Docker
β€”
Version
latest
Updated
Feb 28, 2026

Client compatibility

  • βœ… Claude Code
  • βœ… Cursor
  • βœ… VS Code Copilot
  • ❓ Gemini CLI
  • βœ… Windsurf
  • βœ… Cline
  • ❓ JetBrains AI
  • ❓ Warp

Platforms

🍎 macOS 🐧 Linux πŸͺŸ Windows