Greptimedb MCP server
io.github.GreptimeTeam/greptimedb-mcp-server·v0.6.0·29 starsQuery GreptimeDB metrics, logs and traces with SQL, TQL and RANGE. Manage pipelines and dashboards.
29 stars38 downloads/wk
Reviews
Write oneNobody has reviewed Greptimedb yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Greptimedb tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-10-03 · same rubric, same numbers if you re-run it
- Code scan19 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 10 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year9/10
How Greptimedb compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 85/100
- higher than 65% of 802 Databases servers
- GitHub stars
- 29
- more than 86% of 602 Databases servers
- Downloads a week
- 38
- more than 25% of 328 Databases servers with a package
Install Greptimedb in Claude Code, Cursor or VS Code
claude mcp add greptimedb-mcp-server -- uvx greptimedb-mcp-server
What the publisher says
From the Greptimedb repository's README, as published. We do not edit it. Read it on GitHub
greptimedb-mcp-server
A Model Context Protocol (MCP) server for GreptimeDB — an open-source observability database that handles metrics, logs, and traces in one engine.
<!-- mcp-name: io.github.GreptimeTeam/greptimedb-mcp-server -->
Enables AI assistants to query and analyze GreptimeDB using SQL, TQL (PromQL-compatible), and RANGE queries, with built-in security features like read-only enforcement and data masking.
Quick Start
# Install
pip install greptimedb-mcp-server
# Run (connects to localhost:4002 by default)
greptimedb-mcp-server --host localhost --database publicFor Claude Desktop, add this to your config (~/Library/Application Support/Claude/claudedesktopconfig.json on macOS):
{
"mcpServers": {
"greptimedb": {
"command": "greptimedb-mcp-server",
"args": ["--host", "localhost", "--database", "public"]
}
}
}Features
Tools
searchtablesemantics and the semantic metadata in describetable read informationschema.tablesemantics. A table appears there when it carries a greptime.semantic. option or a built-in convention derives an entity declaration for it; other tables are absent. The server reads the view's column list once per process and selects only the columns it exposes. entity_declarations requires GreptimeDB 1.3; on earlier versions it is reported as a missing column rather than as an empty declaration set.
querysemanticgraph reads greptimeprivate.semanticentities and greptimeprivate.semanticrelationships, which require GreptimeDB 1.3. At startup the server checks that both views exist, carry the columns it reads, and are readable by the connected account; when they are not, the tool is not offered and the reason is logged. Its time window is required and half-open, [starttime, endtime) over observed_at, and rows are aggregated across the 60-second observation buckets in that window.
Pipeline Management
Dashboard Management
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Greptimedb: common questions
- Is Greptimedb MCP server safe?
- Yes, by our scan: it is graded A (85/100). Read the Greptimedb safety report
- How do I install Greptimedb?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Greptimedb need an API key?
- Yes. The registry entry asks for
GREPTIMEDB_PASSWORD. - Is Greptimedb maintained?
- The last commit was 42 days ago (2026-09-23). The latest release is v0.6.0.
- What can I use instead of Greptimedb?
- Servers from other publishers that do the same job: Metabase AI Assistant MCP server, Showboard MCP server and Redash MCP server. Compare all Greptimedb alternatives.
- How does Greptimedb compare with other Databases MCP servers?
- safety score 85/100 (higher than 65% of 802 Databases servers); github stars 29 (more than 86% of 602 Databases servers); downloads a week 38 (more than 25% of 328 Databases servers with a package). Full comparison.
Alternatives to Greptimedb
Same job from other publishers: the closest match first, then the best rated.
- Metabase AI AssistantMCP Server for Metabase - 111 tools for SQL generation, dashboards & PostgreSQLnot reviewedGrowingB
ShowboardYour coding agent answers with dashboards: charts and tables from read-only SQL, Excel and CSV.not reviewedGrowingB- RedashConnect Redash to Claude -- query data, manage dashboards, and run SQL with natural language.not reviewedGrowingB
- DBHubToken-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLitenot reviewedWidely usedA
- MotherduckSQL analytics and data engineering for AI Assistants and IDEsnot reviewedEstablishedA