Koskamo

greptimedb-mcp-server

Enables AI assistants to query and analyze GreptimeDB using SQL, TQL (PromQL-compatible), and RANGE queries. It supports managing observability data including metrics, logs, and traces, with features like read-only enforcement, data masking, and semantic graph querying.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

greptimedb-mcp-server logo, by GreptimeTeamCommunity listingLocal stdioSource reviewed; not executedPublished by GreptimeTeam
Vendor documentation

What you can do with it

  • Execute SQL queries with format and limit options
  • Execute TQL queries for time-series analysis
  • Query time-window aggregation with RANGE syntax
  • Inspect table schema and semantic metadata

Source and maintenance

Community listingRegistry 0.6.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

greptimedb-mcp-server 0.6.0

pypi
greptimedb-mcp-server package definition
{
  "version": "0.6.0",
  "transport": "stdio",
  "identifier": "greptimedb-mcp-server",
  "registryType": "pypi",
  "packageArguments": [
    {
      "name": "--host",
      "type": "named",
      "valueHint": "localhost",
      "description": "GreptimeDB host address"
    },
    {
      "name": "--port",
      "type": "named",
      "valueHint": "4002",
      "description": "GreptimeDB MySQL protocol port"
    },
    {
      "name": "--database",
      "type": "named",
      "valueHint": "public",
      "description": "Database name to connect to"
    },
    {
      "name": "--user",
      "type": "named",
      "description": "Database username"
    },
    {
      "name": "--password",
      "type": "named",
      "description": "Database password"
    },
    {
      "name": "--timezone",
      "type": "named",
      "valueHint": "UTC",
      "description": "Session timezone"
    }
  ],
  "environmentVariables": [
    {
      "name": "GREPTIMEDB_HOST",
      "description": "GreptimeDB host address"
    },
    {
      "name": "GREPTIMEDB_PORT",
      "description": "GreptimeDB MySQL protocol port (default: 4002)"
    },
    {
      "name": "GREPTIMEDB_USER",
      "description": "Database username"
    },
    {
      "name": "GREPTIMEDB_PASSWORD",
      "description": "Database password"
    },
    {
      "name": "GREPTIMEDB_DATABASE",
      "description": "Database name to connect to"
    },
    {
      "name": "GREPTIMEDB_TIMEZONE",
      "description": "Session timezone (default: UTC)"
    },
    {
      "name": "GREPTIMEDB_POOL_SIZE",
      "description": "Connection pool size (default: 5)"
    },
    {
      "name": "GREPTIMEDB_HTTP_PORT",
      "description": "HTTP API port for pipeline/dashboard management (default: 4000)"
    },
    {
      "name": "GREPTIMEDB_HTTP_PROTOCOL",
      "description": "HTTP protocol for pipeline/dashboard API: http or https (default: http)"
    },
    {
      "name": "GREPTIMEDB_MASK_ENABLED",
      "description": "Enable sensitive data masking (default: true)"
    },
    {
      "name": "GREPTIMEDB_MASK_PATTERNS",
      "description": "Additional column name patterns for data masking (comma-separated)"
    },
    {
      "name": "GREPTIMEDB_AUDIT_ENABLED",
      "description": "Enable audit logging for tool invocations (default: true)"
    },
    {
      "name": "GREPTIMEDB_ALLOW_WRITE",
      "description": "Allow write/destructive SQL (DDL/DML) via execute_sql by skipping the security gate. DANGEROUS: only use on local or test instances (default: false)"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "greptimedb-mcp-server": {
      "command": "uvx",
      "args": [
        "greptimedb-mcp-server==0.6.0"
      ],
      "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>",
        "GREPTIMEDB_ALLOW_WRITE": "<YOUR_GREPTIMEDB_ALLOW_WRITE>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "greptimedb-mcp-server": {
      "command": "uvx",
      "args": [
        "greptimedb-mcp-server==0.6.0"
      ],
      "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>",
        "GREPTIMEDB_ALLOW_WRITE": "<YOUR_GREPTIMEDB_ALLOW_WRITE>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "greptimedb-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "greptimedb-mcp-server==0.6.0"
      ],
      "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>",
        "GREPTIMEDB_ALLOW_WRITE": "<YOUR_GREPTIMEDB_ALLOW_WRITE>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "greptimedb-mcp-server": {
      "command": "uvx",
      "args": [
        "greptimedb-mcp-server==0.6.0"
      ],
      "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>",
        "GREPTIMEDB_ALLOW_WRITE": "<YOUR_GREPTIMEDB_ALLOW_WRITE>"
      }
    }
  }
}

Let your agent find its tools

Find servers like greptimedb-mcp-server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.