PluginBench
MCP Server
Active
MIT

io.github.GreptimeTeam/greptimedb-mcp-server MCP Server

io.github.GreptimeTeam/greptimedb-mcp-server

What is the io.github.GreptimeTeam/greptimedb-mcp-server MCP server?

Query and analyze GreptimeDB metrics, logs and traces via SQL, TQL and RANGE queries.

How to install io.github.GreptimeTeam/greptimedb-mcp-server

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • GREPTIMEDB_HOST

    GreptimeDB host address

  • GREPTIMEDB_PORT

    GreptimeDB MySQL protocol port (default: 4002)

  • GREPTIMEDB_USER

    Database username

  • GREPTIMEDB_PASSWORD
    secret

    Database password

  • GREPTIMEDB_DATABASE

    Database name to connect to

  • GREPTIMEDB_TIMEZONE

    Session timezone (default: UTC)

  • GREPTIMEDB_POOL_SIZE

    Connection pool size (default: 5)

  • GREPTIMEDB_HTTP_PORT

    HTTP API port for pipeline management (default: 4000)

  • GREPTIMEDB_HTTP_PROTOCOL

    HTTP protocol for pipeline API: http or https (default: http)

  • GREPTIMEDB_MASK_ENABLED

    Enable sensitive data masking (default: true)

  • GREPTIMEDB_MASK_PATTERNS

    Additional column name patterns for data masking (comma-separated)

  • GREPTIMEDB_AUDIT_ENABLED

    Enable audit logging for tool invocations (default: true)

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "greptimedb-mcp-server": {
      "command": "uvx",
      "args": [
        "greptimedb-mcp-server",
        "--host",
        "--port",
        "--database",
        "--user",
        "--password",
        "--timezone"
      ],
      "env": {
        "GREPTIMEDB_HOST": "<YOUR_GREPTIMEDB_HOST>",
        "GREPTIMEDB_PORT": "<YOUR_GREPTIMEDB_PORT>",
        "GREPTIMEDB_USER": "<YOUR_GREPTIMEDB_USER>",
        "GREPTIMEDB_PASSWORD": "<YOUR_GREPTIMEDB_PASSWORD>",
        "GREPTIMEDB_DATABASE": "<YOUR_GREPTIMEDB_DATABASE>",
        "GREPTIMEDB_TIMEZONE": "<YOUR_GREPTIMEDB_TIMEZONE>",
        "GREPTIMEDB_POOL_SIZE": "<YOUR_GREPTIMEDB_POOL_SIZE>",
        "GREPTIMEDB_HTTP_PORT": "<YOUR_GREPTIMEDB_HTTP_PORT>",
        "GREPTIMEDB_HTTP_PROTOCOL": "<YOUR_GREPTIMEDB_HTTP_PROTOCOL>",
        "GREPTIMEDB_MASK_ENABLED": "<YOUR_GREPTIMEDB_MASK_ENABLED>",
        "GREPTIMEDB_MASK_PATTERNS": "<YOUR_GREPTIMEDB_MASK_PATTERNS>",
        "GREPTIMEDB_AUDIT_ENABLED": "<YOUR_GREPTIMEDB_AUDIT_ENABLED>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "greptimedb-mcp-server": {
      "command": "uvx",
      "args": [
        "greptimedb-mcp-server",
        "--host",
        "--port",
        "--database",
        "--user",
        "--password",
        "--timezone"
      ],
      "env": {
        "GREPTIMEDB_HOST": "<YOUR_GREPTIMEDB_HOST>",
        "GREPTIMEDB_PORT": "<YOUR_GREPTIMEDB_PORT>",
        "GREPTIMEDB_USER": "<YOUR_GREPTIMEDB_USER>",
        "GREPTIMEDB_PASSWORD": "<YOUR_GREPTIMEDB_PASSWORD>",
        "GREPTIMEDB_DATABASE": "<YOUR_GREPTIMEDB_DATABASE>",
        "GREPTIMEDB_TIMEZONE": "<YOUR_GREPTIMEDB_TIMEZONE>",
        "GREPTIMEDB_POOL_SIZE": "<YOUR_GREPTIMEDB_POOL_SIZE>",
        "GREPTIMEDB_HTTP_PORT": "<YOUR_GREPTIMEDB_HTTP_PORT>",
        "GREPTIMEDB_HTTP_PROTOCOL": "<YOUR_GREPTIMEDB_HTTP_PROTOCOL>",
        "GREPTIMEDB_MASK_ENABLED": "<YOUR_GREPTIMEDB_MASK_ENABLED>",
        "GREPTIMEDB_MASK_PATTERNS": "<YOUR_GREPTIMEDB_MASK_PATTERNS>",
        "GREPTIMEDB_AUDIT_ENABLED": "<YOUR_GREPTIMEDB_AUDIT_ENABLED>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "greptimedb-mcp-server": {
      "command": "uvx",
      "args": [
        "greptimedb-mcp-server",
        "--host",
        "--port",
        "--database",
        "--user",
        "--password",
        "--timezone"
      ],
      "env": {
        "GREPTIMEDB_HOST": "<YOUR_GREPTIMEDB_HOST>",
        "GREPTIMEDB_PORT": "<YOUR_GREPTIMEDB_PORT>",
        "GREPTIMEDB_USER": "<YOUR_GREPTIMEDB_USER>",
        "GREPTIMEDB_PASSWORD": "<YOUR_GREPTIMEDB_PASSWORD>",
        "GREPTIMEDB_DATABASE": "<YOUR_GREPTIMEDB_DATABASE>",
        "GREPTIMEDB_TIMEZONE": "<YOUR_GREPTIMEDB_TIMEZONE>",
        "GREPTIMEDB_POOL_SIZE": "<YOUR_GREPTIMEDB_POOL_SIZE>",
        "GREPTIMEDB_HTTP_PORT": "<YOUR_GREPTIMEDB_HTTP_PORT>",
        "GREPTIMEDB_HTTP_PROTOCOL": "<YOUR_GREPTIMEDB_HTTP_PROTOCOL>",
        "GREPTIMEDB_MASK_ENABLED": "<YOUR_GREPTIMEDB_MASK_ENABLED>",
        "GREPTIMEDB_MASK_PATTERNS": "<YOUR_GREPTIMEDB_MASK_PATTERNS>",
        "GREPTIMEDB_AUDIT_ENABLED": "<YOUR_GREPTIMEDB_AUDIT_ENABLED>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "greptimedb-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "greptimedb-mcp-server",
        "--host",
        "--port",
        "--database",
        "--user",
        "--password",
        "--timezone"
      ],
      "env": {
        "GREPTIMEDB_HOST": "<YOUR_GREPTIMEDB_HOST>",
        "GREPTIMEDB_PORT": "<YOUR_GREPTIMEDB_PORT>",
        "GREPTIMEDB_USER": "<YOUR_GREPTIMEDB_USER>",
        "GREPTIMEDB_PASSWORD": "<YOUR_GREPTIMEDB_PASSWORD>",
        "GREPTIMEDB_DATABASE": "<YOUR_GREPTIMEDB_DATABASE>",
        "GREPTIMEDB_TIMEZONE": "<YOUR_GREPTIMEDB_TIMEZONE>",
        "GREPTIMEDB_POOL_SIZE": "<YOUR_GREPTIMEDB_POOL_SIZE>",
        "GREPTIMEDB_HTTP_PORT": "<YOUR_GREPTIMEDB_HTTP_PORT>",
        "GREPTIMEDB_HTTP_PROTOCOL": "<YOUR_GREPTIMEDB_HTTP_PROTOCOL>",
        "GREPTIMEDB_MASK_ENABLED": "<YOUR_GREPTIMEDB_MASK_ENABLED>",
        "GREPTIMEDB_MASK_PATTERNS": "<YOUR_GREPTIMEDB_MASK_PATTERNS>",
        "GREPTIMEDB_AUDIT_ENABLED": "<YOUR_GREPTIMEDB_AUDIT_ENABLED>"
      }
    }
  }
}
Claude Code
claude mcp add greptimedb-mcp-server --env GREPTIMEDB_HOST=<YOUR_GREPTIMEDB_HOST> --env GREPTIMEDB_PORT=<YOUR_GREPTIMEDB_PORT> --env GREPTIMEDB_USER=<YOUR_GREPTIMEDB_USER> --env GREPTIMEDB_PASSWORD=<YOUR_GREPTIMEDB_PASSWORD> --env GREPTIMEDB_DATABASE=<YOUR_GREPTIMEDB_DATABASE> --env GREPTIMEDB_TIMEZONE=<YOUR_GREPTIMEDB_TIMEZONE> --env GREPTIMEDB_POOL_SIZE=<YOUR_GREPTIMEDB_POOL_SIZE> --env GREPTIMEDB_HTTP_PORT=<YOUR_GREPTIMEDB_HTTP_PORT> --env GREPTIMEDB_HTTP_PROTOCOL=<YOUR_GREPTIMEDB_HTTP_PROTOCOL> --env GREPTIMEDB_MASK_ENABLED=<YOUR_GREPTIMEDB_MASK_ENABLED> --env GREPTIMEDB_MASK_PATTERNS=<YOUR_GREPTIMEDB_MASK_PATTERNS> --env GREPTIMEDB_AUDIT_ENABLED=<YOUR_GREPTIMEDB_AUDIT_ENABLED> -- uvx greptimedb-mcp-server --host --port --database --user --password --timezone

Related MCP servers

Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.

67k
Python
BSD-3-Clause
View repository →

Give your AI coding agent full control of a live Chrome browser for automation, debugging, and performance analysis.

45k
TypeScript
Apache-2.0
View repository →

Let AI agents manage your Puter files, websites, and serverless workers over MCP.

43k
TypeScript
AGPL-3.0
View repository →

Browser automation for AI agents via MCP, powering ByteDance's Agent TARS hybrid GUI/DOM browser control.

37k
TypeScript
Apache-2.0
View repository →

Run arbitrary shell commands from an MCP-connected AI agent.

37k
TypeScript
Apache-2.0
View repository →

Filesystem access MCP server from ByteDance's UI-TARS/Agent TARS ecosystem.

37k
TypeScript
Apache-2.0
View repository →