greptimedb-mcp-server
by GreptimeTeam
The greptimedb-mcp-server provides a Model Context Protocol (MCP) server implementation for GreptimeDB. It enables AI assistants to securely explore and analyze databases by listing tables, reading data, and executing SQL queries through a controlled interface.
Last updated: N/A
What is greptimedb-mcp-server?
The greptimedb-mcp-server is a Model Context Protocol (MCP) server designed to allow AI assistants to interact with and analyze GreptimeDB databases in a secure and structured manner. It acts as an intermediary, providing a controlled interface for AI to access database resources.
How to use greptimedb-mcp-server?
- Install the server using
pip install greptimedb-mcp-server
. 2. Configure environment variables (GREPTIMEDB_HOST, GREPTIMEDB_PORT, GREPTIMEDB_USER, GREPTIMEDB_PASSWORD, GREPTIMEDB_DATABASE) or use command-line arguments. 3. Integrate with Claude Desktop by configuring theclaude_desktop_config.json
file. 4. Use MCP Inspector for debugging during development.
Key features of greptimedb-mcp-server
list_resources (list tables)
read_resource (read table data)
list_tools (list tools)
call_tool (execute an SQL)
list_prompts (list prompts)
get_prompt (get the prompt by name)
Use cases of greptimedb-mcp-server
Enabling AI assistants to query and analyze data stored in GreptimeDB
Providing a secure interface for AI to access database resources
Automating data analysis tasks using AI
Building AI-powered applications that leverage GreptimeDB data
FAQ from greptimedb-mcp-server
What is MCP?
What is MCP?
MCP stands for Model Context Protocol, a standard for AI agents to interact with data sources.
What databases are supported?
What databases are supported?
Currently, this server is specifically designed for GreptimeDB.
How do I configure the database connection?
How do I configure the database connection?
You can configure the database connection using environment variables or command-line arguments.
How do I integrate this with Claude Desktop?
How do I integrate this with Claude Desktop?
You need to modify the claude_desktop_config.json
file with the appropriate configuration details.
Where can I find more information about MCP Inspector?
Where can I find more information about MCP Inspector?
You can find more information about MCP Inspector at https://modelcontextprotocol.io/docs/tools/inspector.