Database · Developer Tools

GreptimeDB logo

GreptimeDB

greptimeteam/greptimedb-mcp-server

A Model Context Protocol (MCP) server for GreptimeDB — an open-source observability database that handles metrics, logs, and traces in one engine.

Install

pip install greptimedb-mcp-server

Client configuration

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

Environment variables

GREPTIMEDB_HOSTGREPTIMEDB_PORTGREPTIMEDB_USERGREPTIMEDB_PASSWORDGREPTIMEDB_DATABASEGREPTIMEDB_TIMEZONEGREPTIMEDB_HTTP_PORTGREPTIMEDB_HTTP_PROTOCOLGREPTIMEDB_POOL_SIZEGREPTIMEDB_MASK_ENABLEDGREPTIMEDB_MASK_PATTERNSGREPTIMEDB_AUDIT_ENABLED
GitHub stars
15
Category
Database, Developer Tools
License
MIT
Updated
Oct 6, 2026

About GreptimeDB

Enables AI assistants to query and analyze GreptimeDB using SQL, TQL (PromQL-compatible), and RANGE queries, with built-in security features like read-only enforcement and data masking.

Tools (8)

  • execute_sql

    Execute SQL queries with format (csv/json/markdown) and limit options

  • execute_tql

    Execute TQL (PromQL-compatible) queries for time-series analysis

  • query_range

    Execute time-window aggregation queries with RANGE/ALIGN syntax

  • search_table_semantics

    Find tables by observability concept, ranked by matched terms; searches table names, semantic options, and entity declarations

  • query_semantic_graph

    Query the semantic graph: summary (what it contains), entities (nodes), relationships (edges) over a required time window

  • describe_table

    Inspect a table profile: schema, semantic metadata, latest sample rows, and query guidance

  • explain_query

    Analyze SQL or TQL query execution plans (analyze=true for runtime stats; add verbose=true alongside analyze=true for per-partition scan metrics and…

  • health_check

    Check database connection status and server version

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS

Related MCP servers

More servers
Supabase MCP logo

Supabase MCP

supabase-community/supabase-mcp

1.3k

The Model Context Protocol (MCP) standardizes how Large Language Models (LLMs) talk to external services like Supabase. It connects AI assistants directly with your Supabase project and allows them to perform tasks like managing tables, fetching config, and querying data. See the full list of tools.

Database
Genai Toolbox logo

Genai Toolbox

googleapis/genai-toolbox

769

MCP Toolbox for Databases is an open source Model Context Protocol (MCP) server that connects your AI agents, IDEs, and applications directly to your enterprise databases.

Database
Supabase MCP Server logo

Supabase MCP Server

alexander-zuev/supabase-mcp-server

677

Query MCP is an open-source MCP server that lets your IDE safely run SQL, manage schema changes, call the Supabase Management API, and use Auth Admin SDK — all with built-in safety controls.

Database
Awesome MCP List logo

Awesome MCP List

MobinX/awesome-mcp-list

645

This is a continuously updated curated list of MCP servers, covering categories such as browser control, arts and culture, cloud platforms, command line, communication, customer data platforms, databases, developer tools, data science tools, file systems, finance and fintech, gaming, knowledge and memory, location services, marketing, monitoring, search and utilities. Each project includes a GitHub link and star count for quick reference and use.

Database
PostgreSQL Model Context Protocol (PG MCP) Server logo

PostgreSQL Model Context Protocol (PG MCP) Server

stuzero/pg-mcp-server

440

PG-MCP is a server implementation of the Model Context Protocol for PostgreSQL databases. It provides a comprehensive API for AI agents to discover, connect to, query, and understand PostgreSQL databases through MCP's resource-oriented architecture.

Database
dbhub logo

dbhub

bytebase/dbhub

332

[!NOTE] If you need an enterprise-level database MCP server with built-in guardrails like approval flow, access control, data masking, and audit logging beyond what DBHub offers, check out Bytebase.

Database