315 Claude Code plugins · 382 MCP servers · refreshed 26 Oct 2026Get your plugin featured →

greptimedb-mcp-server

Query GreptimeDB metrics, logs and traces with SQL, TQL and RANGE. Manage pipelines and dashboards.

MCP · local★ 29updated 12 Oct 2026by io.github.GreptimeTeam
run in your terminal
claude mcp add greptimedb-mcp-server -- uvx greptimedb-mcp-server

How to start

  1. Run the command in your terminal, in the project where you want it.
  2. Sign in if asked the first time Claude connects.
  3. Check it: run /mcp in Claude Code and look for it in the list.

What it needs

  • GREPTIMEDB_HOSTOptional. GreptimeDB host address
  • GREPTIMEDB_PORTOptional. GreptimeDB MySQL protocol port (default: 4002)
  • GREPTIMEDB_USEROptional. Database username
  • GREPTIMEDB_PASSWORDOptional. Secret: keep it out of your repo. Database password
  • GREPTIMEDB_DATABASEOptional. Database name to connect to
  • GREPTIMEDB_TIMEZONEOptional. Session timezone (default: UTC)
  • GREPTIMEDB_POOL_SIZEOptional. Connection pool size (default: 5)
  • GREPTIMEDB_HTTP_PORTOptional. HTTP API port for pipeline/dashboard management (default: 4000)
  • GREPTIMEDB_HTTP_PROTOCOLOptional. HTTP protocol for pipeline/dashboard API: http or https (default: http)
  • GREPTIMEDB_MASK_ENABLEDOptional. Enable sensitive data masking (default: true)
  • GREPTIMEDB_MASK_PATTERNSOptional. Additional column name patterns for data masking (comma-separated)
  • GREPTIMEDB_AUDIT_ENABLEDOptional. Enable audit logging for tool invocations (default: true)
  • GREPTIMEDB_ALLOW_WRITEOptional. Allow write/destructive SQL (DDL/DML) via execute_sql by skipping the security gate. DANGEROUS: only use on local or test instances (default: false)

Environment variables as listed in the server's MCP Registry entry.