Motherduck MCP Server
by motherduckdbio.github.motherduckdb/mcp-server-motherduckv1.1.0
SQL analytics and data engineering for AI Assistants and IDEs
context tax
needs auth
security
97/100
cold start
pending
freshness
Active34d ago
Our reading of Motherduck, from the data
Motherduck is a database MCP server from motherduckdb, listed in the official MCP Registry.
Its endpoint requires sign-in or an API key just to list tools, so we haven't measured its token cost; we never use real credentials.
Maintenance is active: the last public signal was 34 days ago (2026-10-07). For comparison, 63% of database servers are active or maintained.
With 532 GitHub stars it ranks #43 of 1,397 database servers we index.
It runs locally on your machine over stdio and needs 5 secrets (motherduck_token, MOTHERDUCK_TOKEN, AWS_ACCESS_KEY_ID, …); use a scoped, least-privilege key.
Install Motherduck MCP server
Install in Claude Code
claude mcp add motherduck -e motherduck_token='<motherduck-token>' -e MOTHERDUCK_TOKEN='<motherduck-token>' -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>' -- uvx mcp-server-motherduck --transport stdio --port 8000 --host 127.0.0.1 --db-path :memory: --max-rows 1024 --max-chars 50000 --query-timeout -1Install in Cursor
{
"mcpServers": {
"motherduck": {
"command": "uvx",
"args": [
"mcp-server-motherduck",
"--transport",
"stdio",
"--port",
"8000",
"--host",
"127.0.0.1",
"--db-path",
":memory:",
"--max-rows",
"1024",
"--max-chars",
"50000",
"--query-timeout",
"-1"
],
"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>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"motherduck": {
"command": "uvx",
"args": [
"mcp-server-motherduck",
"--transport",
"stdio",
"--port",
"8000",
"--host",
"127.0.0.1",
"--db-path",
":memory:",
"--max-rows",
"1024",
"--max-chars",
"50000",
"--query-timeout",
"-1"
],
"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>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"motherduck": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-server-motherduck",
"--transport",
"stdio",
"--port",
"8000",
"--host",
"127.0.0.1",
"--db-path",
":memory:",
"--max-rows",
"1024",
"--max-chars",
"50000",
"--query-timeout",
"-1"
],
"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>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"motherduck": {
"command": "uvx",
"args": [
"mcp-server-motherduck",
"--transport",
"stdio",
"--port",
"8000",
"--host",
"127.0.0.1",
"--db-path",
":memory:",
"--max-rows",
"1024",
"--max-chars",
"50000",
"--query-timeout",
"-1"
],
"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>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test pypi:mcp-server-motherduck
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| motherduck_token | — | yes | Access token for MotherDuck connections (alternative to --motherduck-token) |
| MOTHERDUCK_TOKEN | — | yes | Access token for MotherDuck connections (alternative to --motherduck-token) |
| HOME | — | — | Used by DuckDB for extensions and config. Override with --home-dir if not set. |
| AWS_ACCESS_KEY_ID | — | yes | AWS access key for S3 database connections |
| AWS_SECRET_ACCESS_KEY | — | yes | AWS secret access key for S3 database connections |
| AWS_SESSION_TOKEN | — | yes | AWS session token for temporary credentials |
| AWS_DEFAULT_REGION | — | — | AWS region for S3 database connections |
| AWS_ENDPOINT | — | — | AWS endpoint for S3 database connections |
Security signals
97/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
- No security policy (SECURITY.md)-3
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ○Package metadata (install scripts, provenance) — pending
- ○Tool descriptions (prompt-injection and hidden-text heuristics) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 34d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-07 · 34d ago · GitHub
Latest release
2026-10-07 · 34d ago · GitHub · v1.1.0
Package published
no data · npm/PyPI
Registry entry updated
2026-10-07 · 34d ago · official registry · v1.1.0
How it compares in Database
Against the most-starred database servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| Motherduck (this) | 532 | — | not measured | Active | local |
| Screenpipe | 21,982 | — | not measured | Active | — |
| Genai Toolbox | 16,679 | — | not measured | Active | hosted |
| Convex Backend | 12,716 | — | not measured | Active | — |
| Kubeshark | 12,100 | — | not measured | Active | local |
| Baserow | 6,174 | — | not measured | Active | — |
FAQ
›How do I install the Motherduck MCP server in Claude Code?
Run: claude mcp add motherduck -e motherduck_token='<motherduck-token>' -e MOTHERDUCK_TOKEN='<motherduck-token>' -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>' -- uvx mcp-server-motherduck --transport stdio --port 8000 --host 127.0.0.1 --db-path :memory: --max-rows 1024 --max-chars 50000 --query-timeout -1. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Motherduck require an API key?
Yes. It expects motherduck_token, MOTHERDUCK_TOKEN, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, of which 5 are secrets.
›Can I use Motherduck as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Motherduck in the official MCP registry?
Yes, as io.github.motherduckdb/mcp-server-motherduck.
Sources and method
- Official MCP Registry entry
- updated 2026-10-07
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Security signals, computed by us
- 2026-10-19
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to Motherduck
Other database MCP servers.