greptimedb-mcp-server
local MCP serverInstallation
Terminal
claude mcp add greptimedb-mcp-server -e GREPTIMEDB_HOST=... -e GREPTIMEDB_PORT=... -e GREPTIMEDB_USER=... -e GREPTIMEDB_PASSWORD=... -e GREPTIMEDB_DATABASE=... -e GREPTIMEDB_TIMEZONE=... -e GREPTIMEDB_POOL_SIZE=... -e GREPTIMEDB_HTTP_PORT=... -e GREPTIMEDB_HTTP_PROTOCOL=... -e GREPTIMEDB_MASK_ENABLED=... -e GREPTIMEDB_MASK_PATTERNS=... -e GREPTIMEDB_AUDIT_ENABLED=... -e GREPTIMEDB_ALLOW_WRITE=... -- uvx greptimedb-mcp-server
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"greptimedb-mcp-server": {
"command": "uvx",
"args": [
"greptimedb-mcp-server"
],
"env": {
"GREPTIMEDB_HOST": "...",
"GREPTIMEDB_PORT": "...",
"GREPTIMEDB_USER": "...",
"GREPTIMEDB_PASSWORD": "...",
"GREPTIMEDB_DATABASE": "...",
"GREPTIMEDB_TIMEZONE": "...",
"GREPTIMEDB_POOL_SIZE": "...",
"GREPTIMEDB_HTTP_PORT": "...",
"GREPTIMEDB_HTTP_PROTOCOL": "...",
"GREPTIMEDB_MASK_ENABLED": "...",
"GREPTIMEDB_MASK_PATTERNS": "...",
"GREPTIMEDB_AUDIT_ENABLED": "...",
"GREPTIMEDB_ALLOW_WRITE": "..."
}
}
}
}Fill in the environment variables with your own credentials.
Summary
Query GreptimeDB metrics, logs and traces with SQL, TQL and RANGE. Manage pipelines and dashboards.
Questions
greptimedb-mcp-server is a local MCP server distributed as the pypi package greptimedb-mcp-server.
Run: claude mcp add greptimedb-mcp-server -e GREPTIMEDB_HOST=... -e GREPTIMEDB_PORT=... -e GREPTIMEDB_USER=... -e GREPTIMEDB_PASSWORD=... -e GREPTIMEDB_DATABASE=... -e GREPTIMEDB_TIMEZONE=... -e GREPTIMEDB_POOL_SIZE=... -e GREPTIMEDB_HTTP_PORT=... -e GREPTIMEDB_HTTP_PROTOCOL=... -e GREPTIMEDB_MASK_ENABLED=... -e GREPTIMEDB_MASK_PATTERNS=... -e GREPTIMEDB_AUDIT_ENABLED=... -e GREPTIMEDB_ALLOW_WRITE=... -- uvx greptimedb-mcp-server
Run: codex mcp add greptimedb-mcp-server --env GREPTIMEDB_HOST=... --env GREPTIMEDB_PORT=... --env GREPTIMEDB_USER=... --env GREPTIMEDB_PASSWORD=... --env GREPTIMEDB_DATABASE=... --env GREPTIMEDB_TIMEZONE=... --env GREPTIMEDB_POOL_SIZE=... --env GREPTIMEDB_HTTP_PORT=... --env GREPTIMEDB_HTTP_PROTOCOL=... --env GREPTIMEDB_MASK_ENABLED=... --env GREPTIMEDB_MASK_PATTERNS=... --env GREPTIMEDB_AUDIT_ENABLED=... --env GREPTIMEDB_ALLOW_WRITE=... -- uvx greptimedb-mcp-server
Similar MCP servers
NameStars
- Superlogsh.superlog/superlog1,456
- SigNoz MCP Serverio.github.SigNoz/signoz-mcp-server123
- circlecicom.mcparmory/circleci31
- Jitsucom.jitsu/mcp5,094
- Prometheus MCP Serverio.github.pab1it0/prometheus-mcp-server517
- Opik MCP Serverio.github.comet-ml/opik-mcp221
- Copilot Moneyio.github.ignaciohermosillacornejo/copilot-money-mcp83
- kesslerio-attio-mcp-serverai.smithery/kesslerio-attio-mcp-server69