Data & analytics / mcp-server-motherduck
mcp-server-motherduck
io.github.motherduckdb/mcp-server-motherduck · v1.1.0
SQL analytics and data engineering for AI Assistants and IDEs
Description supplied by the publisher in the MCP Registry. We have not tested this server.
Ranks #97 of 435 Data & analytics servers on Socketlist by score, with 540 GitHub stars and a last code push 18d ago.
Install
uvx mcp-server-motherduckAssembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.
Connect mcp-server-motherduck to Claude Code, Cursor or VS Code
Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.
Claude Code
Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Secret variables the publisher declares are included; drop any the README says are optional. Claude Code setup guide.
claude mcp add --env motherduck_token=<motherduck_token> --env MOTHERDUCK_TOKEN=<motherduck_token> --env AWS_ACCESS_KEY_ID=<aws_access_key_id> --env AWS_SECRET_ACCESS_KEY=<aws_secret_access_key> --env AWS_SESSION_TOKEN=<aws_session_token> --transport stdio mcp-server-motherduck -- uvx mcp-server-motherduck.mcp.json (Claude Code project scope, VS Code with Copilot)
Put this in a .mcp.json file at the project root. ${NAME} reads the value from your environment, so no secret is written to the file. VS Code and .mcp.json guide.
{
"mcpServers": {
"mcp-server-motherduck": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-server-motherduck"
],
"env": {
"motherduck_token": "${motherduck_token}",
"MOTHERDUCK_TOKEN": "${MOTHERDUCK_TOKEN}",
"AWS_ACCESS_KEY_ID": "${AWS_ACCESS_KEY_ID}",
"AWS_SECRET_ACCESS_KEY": "${AWS_SECRET_ACCESS_KEY}",
"AWS_SESSION_TOKEN": "${AWS_SESSION_TOKEN}"
}
}
}
}Cursor
Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.
{
"mcpServers": {
"mcp-server-motherduck": {
"command": "uvx",
"args": [
"mcp-server-motherduck"
],
"env": {
"motherduck_token": "${env:motherduck_token}",
"MOTHERDUCK_TOKEN": "${env:MOTHERDUCK_TOKEN}",
"AWS_ACCESS_KEY_ID": "${env:AWS_ACCESS_KEY_ID}",
"AWS_SECRET_ACCESS_KEY": "${env:AWS_SECRET_ACCESS_KEY}",
"AWS_SESSION_TOKEN": "${env:AWS_SESSION_TOKEN}"
}
}
}
} Configuration the publisher declares
| Environment variable | Required | Secret | Publisher's note |
|---|---|---|---|
motherduck_token | No | Yes | Access token for MotherDuck connections (alternative to --motherduck-token) |
MOTHERDUCK_TOKEN | No | Yes | Access token for MotherDuck connections (alternative to --motherduck-token) |
HOME | No | No | Used by DuckDB for extensions and config. Override with --home-dir if not set. |
AWS_ACCESS_KEY_ID | No | Yes | AWS access key for S3 database connections |
AWS_SECRET_ACCESS_KEY | No | Yes | AWS secret access key for S3 database connections |
AWS_SESSION_TOKEN | No | Yes | AWS session token for temporary credentials |
AWS_DEFAULT_REGION | No | No | AWS region for S3 database connections |
AWS_ENDPOINT | No | No | AWS endpoint for S3 database connections |
"Required" and "secret" are the publisher's own flags in the registry, and many publishers leave them unset, so check the README too.
Allowlist entry
If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together.
{
"allowedMcpServers": [
{
"serverCommand": [
"uvx",
"mcp-server-motherduck"
]
}
]
} How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.
Signals
| GitHub stars | 540 |
| npm weekly downloads | - |
| Last push | 18d ago |
| Licence | MIT |
| Open issues | 0 |
| SECURITY.md | No |
| Language | Python |
| Latest version published | 2026-10-07 |
Signals captured from GitHub, npm and the official MCP Registry on November 11, 2026. See the scoring method.
Similar servers compare all →
Yandex Metrika MCP
Score 81MCP server for Yandex Metrika API — web analytics, traffic, audience data
fabric-dw
Score 73MCP server for Microsoft Fabric Data Warehouses and SQL Analytics Endpoints
MeteoSwiss MCP Server
Score 70Swiss weather data for AI assistants — forecasts, measurements, stations, pollen.
Five MCP servers worth your time, every week
The Plug Weekly is a free email picked from these scores. About a 3-minute read. Unsubscribe any time.