MotherDuck / DuckDB

MotherDuck / DuckDB

v1.0.7
analyticsduckdbsqldata

Summary

Run DuckDB analytics locally or in MotherDuck's cloud — query files and warehouses with the same SQL.

Features

  • Analytical SQL over local DuckDB files or MotherDuck cloud
  • Query Parquet, CSV, and JSON directly without loading
  • Read-only mode for safe exploration

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it.
  3. Restart the agent — the "MotherDuck / DuckDB" tools will be available.
{
  "mcpServers": {
    "motherduck": {
      "command": "uvx",
      "args": [
        "mcp-server-motherduck",
        "--db-path",
        "md:"
      ]
    }
  }
}

Description

The MotherDuck MCP server gives an assistant a full analytical SQL engine, working against local DuckDB databases, MotherDuck's cloud warehouse, or files on disk and in object storage.

What makes DuckDB a good fit here

You can query a Parquet, CSV, or JSON file directly — no import step, no schema definition. That means an assistant can answer questions about a data file the moment it exists, which removes most of the friction from ad-hoc analysis.

Capabilities

  • SQL execution with DuckDB's full analytical feature set — window functions, CTEs, complex joins
  • File querying across local paths and S3 and other object stores
  • MotherDuck cloud for shared, persistent warehouses
  • Hybrid execution, combining local files with cloud tables in one query
  • Read-only mode for exploration you do not want writing anything

Setup

uvx mcp-server-motherduck --db-path md: for the cloud service with a MotherDuck token, or a local file path for pure DuckDB use.

Related MCP Servers

Browse all MCP servers →