# เซิร์ฟเวอร์ Motherduck MCP (uvx) (`mcp-server-motherduck`)

> MotherDuck อย่างเป็นทางการและเซิร์ฟเวอร์ SQL MCP เชิงวิเคราะห์ DuckDB ในเครื่อง

- **Canonical URL:** https://syndipath.com/th/mcp/mcp-server-motherduck
- **Runtime:** `pypi` | **Transport:** STDIO | **License:** MIT | **Package:** `mcp-server-motherduck`
- **Upvotes:** 110 | **GitHub Stars:** 407 | **Weekly Installs:** 2849
- **Security Note:** HTTP-200 ตรวจสอบแล้วบน PyPI (mcp-server-motherduck); ดำเนินการผ่านสภาพแวดล้อม Python ที่แยกได้ของ Astral uvx

## Quick CLI Setup
```bash
# Run isolated Python tool via Astral uvx
uvx mcp-server-motherduck

# Alternative: run via pipx
pipx run mcp-server-motherduck

# Add to Claude Code CLI
claude mcp add mcp-server-motherduck -- uvx mcp-server-motherduck
```

## MCP Manifest (`mcp.json`)
```json
{
  "mcpServers": {
    "mcp-server-motherduck": {
      "command": "uvx",
      "args": [
        "mcp-server-motherduck"
      ]
    }
  }
}
```

## Exposed MCP Tools
- `mcp_server_motherduck_query(sql_or_filter: string, limit?: number)`: Official MotherDuck and local DuckDB analytical SQL MCP server.
- `mcp_server_motherduck_inspect_schema(namespace?: string)`: Enumerates tables, collections, column types, and active index definitions.
