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. Its 6 documented tools cluster into run & execute, read & search, explain, health. It runs locally over stdio via the published package.

People connecting DevOps & monitoring tools to Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-08-16 · ★ 29 · #35 OF 101 MAINTAINED DEVOPS & MONITORING · VERIFIED 2026-08-25

MIT · Python servers · how we verify → /methodology

01 · Install Greptimedb MCP Server

before you install - you'll need

Set GREPTIMEDB_HOST, GREPTIMEDB_USER, GREPTIMEDB_DATABASE, GREPTIMEDB_TIMEZONE, GREPTIMEDB_HTTP_PORT, GREPTIMEDB_HTTP_PROTOCOL, GREPTIMEDB_POOL_SIZE, GREPTIMEDB_MASK_ENABLED, GREPTIMEDB_AUDIT_ENABLED, GREPTIMEDB_ALLOW_WRITE, GREPTIMEDB_TRANSPORT before connecting. GREPTIMEDB_PORT is optional or environment-specific per the README.

Claude Code

claude mcp add greptimeteam-greptimedb-mcp-server -- uvx greptimedb-mcp-server

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "greptimeteam-greptimedb-mcp-server": {
      "command": "uvx",
      "args": [
        "greptimedb-mcp-server"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

pypi package greptimedb-mcp-server - check the name against the project README before installing (PyPI has no namespace ownership)

registry namespace io.github.GreptimeTeam is GitHub-verified and matches the repo owner

03 · What Greptimedb MCP Server can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can execute time-window aggregation queries with RANGE/ALIGN syntax, inspect a table profile: schema, semantic metadata, latest sample rows, and query guidance, and check database connection status and server version.

Capability map

Tools grouped from the project's README - what Greptimedb MCP Server lets an agent do.

run & execute

2 tools - e.g. Execute SQL queries with format (csv/json/markdown) and limit options; Execute TQL (PromQL-compatible) queries for time-series analysis

execute_sql · execute_tql

read & search

2 tools - e.g. Execute time-window aggregation queries with RANGE/ALIGN syntax; Inspect a table profile: schema, semantic metadata, latest sample rows, and query guidance

query_range · describe_table

Explain

1 tool - e.g. Analyze SQL or TQL query execution plans (analyze=true for runtime stats; add verbose=true alongside analyze=true for per-partition scan metrics and index-pruni

explain_query

Health

1 tool - e.g. Check database connection status and server version

health_check

Latest releases

v0.5.2 · 2026-08-16

Fixes a startup failure on fresh installs. MCP Python SDK 2.0.0 removed mcp.server.fastmcp, and the dependency was declared as mcp>=1.8.0, so new installs resolved to 2.x and crashed with ModuleNotFoundError. Now…

v0.5.1 · 2026-06-17

add verbose mode to explain_query for scan-level metrics

v0.5.0 · 2026-06-08

Refresh prompts with sandboxed Jinja rendering · describe table profile · adds allow write mode for dev

04 · Who maintains Greptimedb MCP Server

greptimedb-mcp-server is maintained by greptimeteam. It's the only MCP server we track from this author; the repo dates to Mar 2025.

05 · Facts

category
DevOps & monitoring - ranked #35 of 101 actively-maintained DevOps & monitoring servers as of 2026-08-25.
release cadence
3 releases in the last 90 days (latest 2026-08-16)
registry
io.github.GreptimeTeam/greptimedb-mcp-server (active, first published 2026-03-02)
packages
pypi:greptimedb-mcp-server

06 · Greptimedb MCP Server FAQ

Is Greptimedb MCP Server still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-16 and it shipped 3 releases in the last 90 days. We re-verify nightly.

What can Greptimedb MCP Server do?

With this server connected, an agent can execute time-window aggregation queries with RANGE/ALIGN syntax, inspect a table profile: schema, semantic metadata, latest sample rows, and query guidance, and check database connection status and server version.

How do I install Greptimedb MCP Server?

Run `uvx greptimedb-mcp-server`. The README documents 12 environment variables (GREPTIMEDB_HOST, GREPTIMEDB_PORT, GREPTIMEDB_USER…) to set first. Set GREPTIMEDB_HOST, GREPTIMEDB_USER, GREPTIMEDB_DATABASE, GREPTIMEDB_TIMEZONE, GREPTIMEDB_HTTP_PORT, GREPTIMEDB_HTTP_PROTOCOL, GREPTIMEDB_POOL_SIZE, GREPTIMEDB_MASK_ENABLED, GREPTIMEDB_AUDIT_ENABLED, GREPTIMEDB_ALLOW_WRITE, GREPTIMEDB_TRANSPORT before connecting. GREPTIMEDB_PORT is optional or environment-specific per the README. You can also paste the ready-made client config above.

Does Greptimedb MCP Server run locally?

Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Greptimedb MCP Server

More DevOps & monitoring MCP servers · Arduino MCP Server (hardware-mcp) · Homebutler · Zuul · Iris Eval MCP Server · Marktplaats MCP

More Python MCP servers · Ihalent · Qai Consultant MCP · OpenHire · 哨兵 · Omni Lpr · Data Profiler MCP · see all