NestDaddy

Mcp Server Motherduck

io.github.motherduckdb/mcp-server-motherduck · v1.1.1

SQL analytics and data engineering for AI Assistants and IDEs

Connect Runs on your machine

Terminal
claude mcp add mcp-server-motherduck -e motherduck_token=<motherduck_token> -e MOTHERDUCK_TOKEN=<MOTHERDUCK_TOKEN> -e HOME=<HOME> -e AWS_ACCESS_KEY_ID=<AWS_ACCESS_KEY_ID> -e AWS_SECRET_ACCESS_KEY=<AWS_SECRET_ACCESS_KEY> -e AWS_SESSION_TOKEN=<AWS_SESSION_TOKEN> -e AWS_DEFAULT_REGION=<AWS_DEFAULT_REGION> -e AWS_ENDPOINT=<AWS_ENDPOINT> -- uvx mcp-server-motherduck==1.1.1
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server-motherduck": {
      "command": "uvx",
      "args": [
        "mcp-server-motherduck==1.1.1"
      ],
      "env": {
        "motherduck_token": "<motherduck_token>",
        "MOTHERDUCK_TOKEN": "<MOTHERDUCK_TOKEN>",
        "HOME": "<HOME>",
        "AWS_ACCESS_KEY_ID": "<AWS_ACCESS_KEY_ID>",
        "AWS_SECRET_ACCESS_KEY": "<AWS_SECRET_ACCESS_KEY>",
        "AWS_SESSION_TOKEN": "<AWS_SESSION_TOKEN>",
        "AWS_DEFAULT_REGION": "<AWS_DEFAULT_REGION>",
        "AWS_ENDPOINT": "<AWS_ENDPOINT>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server-motherduck": {
      "command": "uvx",
      "args": [
        "mcp-server-motherduck==1.1.1"
      ],
      "env": {
        "motherduck_token": "<motherduck_token>",
        "MOTHERDUCK_TOKEN": "<MOTHERDUCK_TOKEN>",
        "HOME": "<HOME>",
        "AWS_ACCESS_KEY_ID": "<AWS_ACCESS_KEY_ID>",
        "AWS_SECRET_ACCESS_KEY": "<AWS_SECRET_ACCESS_KEY>",
        "AWS_SESSION_TOKEN": "<AWS_SESSION_TOKEN>",
        "AWS_DEFAULT_REGION": "<AWS_DEFAULT_REGION>",
        "AWS_ENDPOINT": "<AWS_ENDPOINT>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mcp-server-motherduck": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-server-motherduck==1.1.1"
      ],
      "env": {
        "motherduck_token": "<motherduck_token>",
        "MOTHERDUCK_TOKEN": "<MOTHERDUCK_TOKEN>",
        "HOME": "<HOME>",
        "AWS_ACCESS_KEY_ID": "<AWS_ACCESS_KEY_ID>",
        "AWS_SECRET_ACCESS_KEY": "<AWS_SECRET_ACCESS_KEY>",
        "AWS_SESSION_TOKEN": "<AWS_SESSION_TOKEN>",
        "AWS_DEFAULT_REGION": "<AWS_DEFAULT_REGION>",
        "AWS_ENDPOINT": "<AWS_ENDPOINT>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
motherduck_token
Optional, secret
Access token for MotherDuck connections (alternative to --motherduck-token)
MOTHERDUCK_TOKEN
Optional, secret
Access token for MotherDuck connections (alternative to --motherduck-token)
HOME
Optional
Used by DuckDB for extensions and config. Override with --home-dir if not set.
AWS_ACCESS_KEY_ID
Optional, secret
AWS access key for S3 database connections
AWS_SECRET_ACCESS_KEY
Optional, secret
AWS secret access key for S3 database connections
AWS_SESSION_TOKEN
Optional, secret
AWS session token for temporary credentials
AWS_DEFAULT_REGION
Optional
AWS region for S3 database connections
AWS_ENDPOINT
Optional
AWS endpoint for S3 database connections

Details

Package[email protected] (PYPI, stdio)
First published11 Nov 2026
Last updated11 Nov 2026
Registry nameio.github.motherduckdb/mcp-server-motherduck

More databases servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.