Enables AI interaction with GreptimeDB time-series databases through MySQL protocol for data exploration, analysis, and...
Created byApr 23, 2025
greptimedb-mcp-server
A Model Context Protocol (MCP) server implementation for GreptimeDB.
This server provides AI assistants with a secure and structured way to explore and analyze databases. It enables them to list tables, read data, and execute SQL queries through a controlled interface, ensuring responsible database access.
Capabilities
list_resources to list tables
read_resource to read table data
list_tools to list tools
call_tool to execute an SQL
list_prompts to list prompts
get_prompt to get the prompt by name
Installation
Configuration
Set the following environment variables:
Or via command-line args:
--host the database host
--port the database port
--user the database username
--password the database password
--database the database name
Usage
Claude Desktop Integration
Configure the MCP server in Claude Desktop's configuration file:
A Model Context Protocol (MCP) server implementation for GreptimeDB.
This server provides AI assistants with a secure and structured way to explore and analyze databases. It enables them to list tables, read data, and execute SQL queries through a controlled interface, ensuring responsible database access.
Capabilities
list_resources to list tables
read_resource to read table data
list_tools to list tools
call_tool to execute an SQL
list_prompts to list prompts
get_prompt to get the prompt by name
Installation
Configuration
Set the following environment variables:
Or via command-line args:
--host the database host
--port the database port
--user the database username
--password the database password
--database the database name
Usage
Claude Desktop Integration
Configure the MCP server in Claude Desktop's configuration file: