Official descriptionA Model Context Protocol (MCP) server for GreptimeDB
Config template (adjust for your client)
claude mcp add greptimedb-mcp-server -- npx -y greptimedb-mcp-server
A pasteable skeleton generated from the repository name. Check the project README for the exact package and arguments.
Star count
29 ★ · GreptimeTeam/greptimedb-mcp-server · read from the GitHub search API · (checked 2026-10-16 20:00:20)
Source
collected from the punkpeye/awesome-mcp-servers list · type: MCP server
Harvest history
first seen 2026-10-09 · last seen 2026-10-16 · seen 32× · listed by 10 sources
Score
score 1,003 · 29 ★ · 10 sources · mcp
FAQ (answers come from our records)
How do I install it?
We did not find an install command for this repository (our install coverage is only about 4%). Check its README or releases page.
Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
repository GreptimeTeam/greptimedb-mcp-server;first catalogued 2026-10-09;last seen 2026-10-16。There is no official certification or quality rating here — we record sources and dates only.
A Model Context Protocol (MCP) server for GreptimeDB — an open-source observability database that handles metrics, logs, and traces in one engine. 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. Quick Start For Claude Desktop, add this to your config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS): Features Tools | Tool | Description | |------|-------------| | 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. schema selects the database to search | | 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 index-pruning counters) | | health_check | Check database connection status and server version | search_table_semantics and the semantic metadata in describe_table read information_schema.table_semantics. A table appears there when it carries a greptime.semantic.* option or a built-in convention derives an entity declaration for it; other tables are absent. The server reads the view's column list once per process and selects only the columns it exposes. entity_declarations requires GreptimeDB 1.3; on earlier versions it is reported as a missing column rather than as an empty declaration set. Tool results are bounded by GREPTIMEDB_MAX_RESULT_BYTES (default 1048576, or 1 MiB). A query result over the budget returns fewer rows and reports it in truncated and truncation_reason; a result with no rows to shed is cut with a notice at the end. The budget is a backstop against a result too large to be consumed, so lower it if your MCP client rejects results before it is reached. Cross-database queries The server connects to one database, but reads are not restricted to it: | Tool | How to reach another database | |------|-------------------------------| | execute_sql, query_range, describe_table | Qualify the table as schema.table | | execute_tql | metric{__schema__="other_db"}, which accepts = only | | search_table_semantics | Pass schema | | query_semantic_graph | Catalog-wide already; no scoping needed | The connected account needs read permission on the target database. Use SHOW DATABASES to list them. query_semantic_graph reads greptime_private.semantic_entities and greptime_private.semantic_relationships, which require GreptimeDB 1.3. At startup the server checks that both views exist, carry the columns it reads, and are readable by the connected account; when they are not, the tool is not offered and the reason is logged. Its time window is required and half-open, start_time, end_time) over observed_at, and rows are aggregated across the 60-second observation buckets in that window.