Same collection group
StarRocks MCP
Explore StarRocks databases, run SQL, inspect query performance, and turn analytical query results into charts.
MCPby GreptimeTeam · GreptimeTeam/greptimedb-mcp-server
Analyze metrics, logs and traces in GreptimeDB with SQL, PromQL-compatible TQL, and time-window aggregation tools.
# Install
pip install greptimedb-mcp-server
# Run (connects to localhost:4002 by default)
greptimedb-mcp-server --host localhost --database publicSources: Author README · Checked 2026-10-14.
{
"mcpServers": {
"greptimedb": {
"command": "greptimedb-mcp-server",
"args": [
"--host",
"localhost",
"--database",
"public"
]
}
}
}Sources: Author README · Checked 2026-10-14.
The author’s example uses the local defaults. Configure credentials for your own deployment. Write operations require explicit enablement; use a database account with appropriate read permissions.
Sources: Author README · Checked 2026-10-14.
| Capability | What it does |
|---|---|
| execute_sql | Query GreptimeDB with output-format and result-limit options. |
| execute_tql | Run PromQL-compatible time-series queries. |
| query_range | Aggregate data over time windows with RANGE and ALIGN. |
| describe_table | Read a table profile, semantic metadata and query guidance. |
Sources: Author README · Checked 2026-10-14.
Suggested prompts for your own client. These are examples, not recorded tool executions.
Describe the schema and recent samples for my GreptimeDB metrics table, then suggest a time-window aggregation.Use a bounded TQL range query to compare a metric across two time windows I specify, and explain missing samples.Author README, linked first-party setup instructions and public repository metadata reviewed on 2026-10-14. No third-party package was installed, no MCP server was executed, and no hosted service was connected.
Recent activity refers to the repository push timestamp. It does not establish the product’s original release date. Stars are a dated snapshot of the entire repository.