English
Official publisherMCPNewly listed 2026-10-14

GreptimeDB MCP

by GreptimeTeam · GreptimeTeam/greptimedb-mcp-server

Analyze metrics, logs and traces in GreptimeDB with SQL, PromQL-compatible TQL, and time-window aggregation tools.

GitHub stars29 · collected 2026-10-14Repository pushedGuide checked2026-10-14

Install from the author’s instructions

Before connecting

Package installation and local startup

# Install
pip install greptimedb-mcp-server

# Run (connects to localhost:4002 by default)
greptimedb-mcp-server --host localhost --database public

Sources: Author README · Checked 2026-10-14.

Claude Desktop · local database

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

Sources: Author README · Checked 2026-10-14.

The author’s example uses the local defaults. Configure credentials for your own deployment. Write operations require explicit enablement; use a database account with appropriate read permissions.

Sources: Author README · Checked 2026-10-14.

Tools and capabilities

CapabilityWhat it does
execute_sqlQuery GreptimeDB with output-format and result-limit options.
execute_tqlRun PromQL-compatible time-series queries.
query_rangeAggregate data over time windows with RANGE and ALIGN.
describe_tableRead a table profile, semantic metadata and query guidance.

Sources: Author README · Checked 2026-10-14.

Workflow examples

Suggested prompts for your own client. These are examples, not recorded tool executions.

Prompt 1

Describe the schema and recent samples for my GreptimeDB metrics table, then suggest a time-window aggregation.

Prompt 2

Use a bounded TQL range query to compare a metric across two time windows I specify, and explain missing samples.

Sources and verification

Author README, linked first-party setup instructions and public repository metadata reviewed on 2026-10-14. No third-party package was installed, no MCP server was executed, and no hosted service was connected.

Recent activity refers to the repository push timestamp. It does not establish the product’s original release date. Stars are a dated snapshot of the entire repository.

  1. GitHub repository metadataVerified 2026-10-14
  2. Author READMEVerified 2026-10-14

Continue exploring

Related tools and workflows

Choose another guide for your workflow, or explore a collection.

Same collection group

StarRocks MCP

Explore StarRocks databases, run SQL, inspect query performance, and turn analytical query results into charts.

MCP

Same collection group

Apache IoTDB MCP

Query Apache IoTDB time-series data using Tree Model or Table Model SQL and inspect the permission requirements for database actions.

MCP

Same collection group

ClickHouse MCP

Run analytical SQL queries and inspect ClickHouse through the publisher’s MCP server.

MCP

Same collection group

Teradata MCP

Connect AI clients to Teradata for data exploration, profiling, semantic layers, analytics, and database administration.

MCP

Browse all topic collections → · See 29 new official additions →