MotherDuck MCP Server

Databasestdiohttp-streaming
代码仓库

Official MCP server for DuckDB and MotherDuck. Lets AI assistants run SQL analytics directly against local DuckDB files, in-memory databases, S3-hosted data, and MotherDuck cloud warehouses. Supports read and write queries, browsing database catalogs, and switching between connections on the fly, making it well suited for conversational data exploration and lightweight analytics.

连接

将此配置添加到 .claude/mcp.json

传输方式:
{
  "mcpServers": {
    "motherduck": {
      "command": "uvx",
      "args": [
        "mcp-server-motherduck",
        "--db-path",
        "md:"
      ],
      "env": {
        "motherduck_token": "<YOUR_motherduck_token>"
      }
    }
  }
}

工具 (1)

query

Execute a SQL query against DuckDB or MotherDuck and return the results.

{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "SQL statement to execute (read or write)"
    }
  }
}

资源

此服务器未提供任何资源。

提示词

此服务器未提供任何提示词。

服务器信息

作者
MotherDuck (@motherduckdb)
代码仓库
https://github.com/motherduckdb/mcp-server-motherduck
星标
0
最后更新
2026年7月12日