StarRocks/mcp-server-starrocks
View on GitHub ↗StarRocks MCP (Model Context Protocol) Server
184 ★61 forksPythonUpdated 1mo ago
What you need to know
Official MCP server bridging AI assistants and StarRocks databases for direct SQL execution, schema exploration, data visualization and monitoring
Install
Run the published package via uv uv run --with mcp-server-starrocks mcp-server-starrocks
Usage
- •Launch in streamable-http or stdio mode, configure the connection via env vars
- •Run read_query/write_query for SQL, table_overview/db_overview for schema insights, query_and_plotly_chart for charts
Key features
- ✓read_query and write_query for SELECT and write commands
- ✓starrocks:// database exploration resources and schema templates
- ✓proc:// resource exposing internal StarRocks metrics
- ✓table_overview and db_overview with in-memory caching
- ✓query_and_plotly_chart generating Plotly charts from query results
- ✓analyze_query, top_hot_tables and top_bad_tables analytics tools
- ✓Transports: stdio, streamable-http and sse
- ✓macOS Keychain password support and TLS/SSL configuration
Best for
Connecting AI assistants to StarRocks for query analytics, exploration and charting
Caveats
- ⚠Requires a reachable StarRocks FE cluster
- ⚠SSE mode is deprecated and unmaintained
- ⚠Output files are written on the machine where the server runs
Platforms: Local · macOS · Linux · WindowsClients: Claude · Claude Desktop · Any MCP client
Reviewed 2026-08-11
Topics
- Stars
- 184★
- Forks
- 61
- Language
- Python
- License
- Apache-2.0
- Created
- 2025-03-05
- Last push
- 2026-07-28