MCP Directory

MotherDuck / DuckDB MCP Server vs Postgres MCP Pro

A side-by-side comparison of two Databases servers — tools, transport, auth, maintenance, and copy-paste config for each.

 MotherDuck / DuckDB MCP Server

Query local DuckDB files, in-memory DBs, S3, or MotherDuck cloud with read/write SQL.

Verified
stdio (local)
API key
Python
Postgres MCP Pro

Read/write Postgres access plus index tuning, EXPLAIN plans, and database health analysis for AI agents.

Verified
stdio (local)
API key
Python
CategoryDatabasesDatabases
LanguagePythonPython
Transportstdio (local)stdio (local)
AuthAPI keyAPI key
GitHub stars8002.9k
Last commit1 month ago3 months ago
Verified
Actively maintained
Installuvx mcp-server-motherduck --db-path md: --read-writeuvx postgres-mcp --access-mode=restricted
RepoOpen Open

Verdict

Pick MotherDuck / DuckDB MCP Server if you want the official, vendor-maintained server.

Pick Postgres MCP Pro if you prefer the more popular, battle-tested option, and you need the broadest set of tools.

Add MotherDuck / DuckDB MCP Server

Install / run
uvx mcp-server-motherduck --db-path md: --read-write

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "motherduck-duckdb-mcp-server": {
      "command": "uvx",
      "args": [
        "mcp-server-motherduck",
        "--db-path",
        "md:"
      ],
      "env": {
        "motherduck_token": "<your-motherduck-token>"
      }
    }
  }
}

Requires `uv` (the Python package runner). Install it from https://docs.astral.sh/uv/ if `uvx` is not found.

Add Postgres MCP Pro

Install / run
uvx postgres-mcp --access-mode=restricted

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "postgres-mcp-pro": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "DATABASE_URI",
        "crystaldba/postgres-mcp",
        "--access-mode=restricted"
      ],
      "env": {
        "DATABASE_URI": "postgresql://<user>:<password>@<host>:5432/<dbname>"
      }
    }
  }
}

Requires Docker to be installed and running.

FAQ

MotherDuck / DuckDB MCP Server or Postgres MCP Pro — which is better?

Pick MotherDuck / DuckDB MCP Server if you want the official, vendor-maintained server. Pick Postgres MCP Pro if you prefer the more popular, battle-tested option, and you need the broadest set of tools.

Can I use both MotherDuck / DuckDB MCP Server and Postgres MCP Pro?

Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.

Do MotherDuck / DuckDB MCP Server and Postgres MCP Pro work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.