Mcp-server-motherduck MCP Server

Connect AI assistants to your data using DuckDB's powerful analytical SQL engine. Supports connecting to local DuckDB files, in-memory databases, S3-hosted databases, and MotherDuck. Allows…

Local serverstdio

What is the Mcp-server-motherduck MCP Server?

mcp-server-motherduck is an MCP project maintained in the motherduckdb/mcp-server-motherduck repository. The maintainer describes its purpose as “Connect AI assistants to your data using DuckDB's powerful analytical SQL engine. Supports connecting to local DuckDB files, in-memory databases, S3-hosted databases, and MotherDuck. Allows…”. Read the project documentation for the complete scope.

Installation

The documented pypi package is mcp-server-motherduck. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
execute_queryExecute SQL query (DuckDB dialect)
list_databasesList all databases (useful for MotherDuck or multiple attached DBs)
list_tablesList tables and views
list_columnsList columns of a table/view
switch_database_connectionSwitch to different database

How to install the Mcp-server-motherduck MCP Server

{
  "mcpServers": {
    "DuckDB (in-memory, r/w)": {
      "command": "uvx",
      "args": [
        "mcp-server-motherduck",
        "--db-path",
        ":memory:",
        "--read-write",
        "--allow-switch-databases"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.