CrateDB MCP Server

The CrateDB MCP Server provides natural-language Text-to-SQL and documentation retrieval.

The Model Context Protocol (MCP) is a protocol that standardizes providing context to language models and AI assistants.

Introduction

The CrateDB Model Context Protocol (MCP) Server connects AI assistants directly to your CrateDB clusters and the CrateDB knowledge base, enabling seamless interaction through natural language.

It serves as a bridge between AI tools and your analytics database, allowing you to analyze data, the cluster state, troubleshoot issues, and perform operations using conversational prompts.

What’s inside

Documentation

About how to install and configure the CrateDB MCP Server, and what’s inside.

CrateDB MCP Server README
Python package

The Python package cratedb-mcp for public consumption.

CrateDB MCP Server Python package `cratedb-mcp`

Example

An example conversation to “talk to your data using your AI assistant of choice” may look like this in practice. It is using a dataset about weather data, where the user is interested in values which are beyond certain thresholds.

Example Claude conversation screenshot using CrateDB MCP

Code example

Ready-to-run example program using the CrateDB MCP Server.

CrateDB MCP Server example

Caution

Experimental: Please note that the CrateDB MCP Server is an experimental feature provided as-is without warranty or support guarantees. Enterprise customers should use this feature at their own discretion.