MotherDuck

Official

Query and analyze data with MotherDuck and local DuckDB

About MotherDuck MCP Server

MotherDuck is an MCP server in the Data category. It exposes tools, resources to connected AI applications, enabling them to interact with motherduck capabilities through the standardized Model Context Protocol.

Features

Tools
Resources

Category

Data
Getting Started

To use the MotherDuck MCP server in your AI application, follow these steps:

  1. Install the MCP client SDK for your platform
  2. Connect to the MotherDuck MCP server
  3. Authenticate with your MotherDuck credentials
  4. Start using the tools, resources, and prompts provided by the server

Example Code


// Connect to the MotherDuck MCP server
const server = await mcp.connect("motherduck");

// List available tools
const tools = await server.tools.list();

// List available resources
const resources = await server.resources.list();

// List available prompts
const prompts = await server.prompts.list();
                      
Installation

npm

npm install @mcp/server-motherduck

pip

pip install mcp-server-motherduck
Compatible With
Claude Desktop
Cursor
Windsurf
Zed
Any MCP-compatible client