TokenToSeaMCP Hub
中文 Console

GreptimeDB MCP Server

GreptimeDBOfficialChina

Lets assistants query and analyze metrics, logs and traces in GreptimeDB with SQL, TQL and RANGE queries.

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add greptimedb --env GREPTIMEDB_PASSWORD='<GREPTIMEDB_PASSWORD>' --env GREPTIMEDB_DATABASE='<GREPTIMEDB_DATABASE>' --env GREPTIMEDB_HOST='<GREPTIMEDB_HOST>' --env GREPTIMEDB_PORT='<GREPTIMEDB_PORT>' --env GREPTIMEDB_USER='<GREPTIMEDB_USER>' -- uvx greptimedb-mcp-server

Environment variables

  • GREPTIMEDB_PASSWORD
  • GREPTIMEDB_DATABASE
  • GREPTIMEDB_HOST
  • GREPTIMEDB_PORT
  • GREPTIMEDB_USER

Replace the placeholders with your own credentials and keep them out of version control.