MCP Directory

GreptimeDB MCP Server vs DBHub

A side-by-side comparison of two Databases servers — tools, transport, auth, maintenance, and copy-paste config for each.

 GreptimeDB MCP Server

Query and analyze GreptimeDB observability data (metrics, logs, traces) via SQL, TQL, and RANGE queries.

Unverified
stdio (local)
No auth
Python
DBHub

Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, and SQLite.

Unverified
stdio (local)
No auth
TypeScript
CategoryDatabasesDatabases
LanguagePythonTypeScript
Transportstdio (local)stdio (local)
AuthNoneNone
GitHub stars283.0k
Last commit10 days ago1 day ago
Verified
Actively maintained
Installpip install greptimedb-mcp-servernpx @bytebase/dbhub@latest --transport stdio --dsn "postgres://user:password@localhost:5432/dbname"
RepoOpen Open

Verdict

Pick GreptimeDB MCP Server if you need the broadest set of tools.

Pick DBHub if you prefer the more popular, battle-tested option.

Add GreptimeDB MCP Server

Install / run
pip install greptimedb-mcp-server

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "greptimedb-mcp-server": {
      "command": "greptimedb-mcp-server",
      "args": [
        "--host",
        "localhost",
        "--database",
        "public"
      ]
    }
  }
}

Add DBHub

Install / run
npx @bytebase/dbhub@latest --transport stdio --dsn "postgres://user:password@localhost:5432/dbname"

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "dbhub": {
      "command": "npx",
      "args": [
        "@bytebase/dbhub@latest",
        "--transport",
        "stdio",
        "--dsn",
        "postgres://user:password@localhost:5432/dbname"
      ]
    }
  }
}

FAQ

GreptimeDB MCP Server or DBHub — which is better?

Pick GreptimeDB MCP Server if you need the broadest set of tools. Pick DBHub if you prefer the more popular, battle-tested option.

Can I use both GreptimeDB MCP Server and DBHub?

Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.

Do GreptimeDB MCP Server and DBHub work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.