MCP Catalogs
Homemcp-server-starrocks screenshot

mcp-server-starrocks

by StarRocks·171·Score 48

Official MCP server connecting AI assistants to StarRocks databases for SQL execution, data exploration, and visualization.

databasedeveloper-toolsai-llm
54
Forks
7
Open issues
this month
Last commit
2d ago
Indexed

Overview

The StarRocks MCP server provides comprehensive database connectivity through the Model Context Protocol. It allows AI assistants to directly execute SQL queries, both read and write operations, explore database schemas, retrieve table overviews, and generate data visualizations using Plotly. The server supports multiple transport modes including stdio and HTTP, with intelligent caching for frequently accessed data. Configuration is flexible, supporting individual environment variables or a connection URL, with optional macOS Keychain integration for secure password management.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:AI assistants querying StarRocks databases to retrieve and analyze business data
you:Automated data exploration and schema understanding for AI systems
you:Generating visual charts from SQL query results directly within AI workflows
you:How do I connect to a password-protected StarRocks database?
you:Can I execute write operations through this MCP server?

When to choose this

Choose this server when working with StarRocks databases and need AI assistants to perform SQL queries, explore schemas, and create data visualizations without complex client setup.

When NOT to choose this

Don't choose this server if you need to connect to non-StarRocks databases or require advanced features not implemented by this server.

Tools this server exposes

6 tools extracted from the README
  • read_query

    Execute a SELECT query or other commands that return a ResultSet.

  • write_query

    Execute DDL or DML commands that don't return a ResultSet.

  • analyze_query

    Analyze a query and get analyze results using query profile or explain analyze.

  • query_and_plotly_chart

    Execute a SQL query and generate a Plotly chart from the results.

  • table_overview

    Get an overview of a specific table including columns, row count, and sample rows.

  • db_overview

    Get an overview of all tables within a specified database.

Comparable tools

mysql-mcppostgresql-mcpsqlite-mcp

Installation

Install the MCP server using uv:

uv add mcp-server-starrocks

Configure in Claude Desktop:

{
  "mcpServers": {
    "mcp-server-starrocks": {
      "url": "http://localhost:8000/mcp"
    }
  }
}

Start the server:

uv run mcp-server-starrocks --mode streamable-http --port 8000

FAQ

How do I connect to a password-protected StarRocks database?
You can use the STARROCKS_URL environment variable with format 'user:password@host:port/database' or store the password in macOS Keychain with STARROCKS_PASSWORD_KEYCHAIN_SERVICE.
Can I execute write operations through this MCP server?
Yes, the server supports write_query for DDL (CREATE, ALTER, DROP) and DML (INSERT, UPDATE, DELETE) operations that modify the database.

Compare mcp-server-starrocks with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.