Skip to content
mcp/skillhub

Motherduck MCP Server

by motherduckdbio.github.motherduckdb/mcp-server-motherduckv1.1.0

SQL analytics and data engineering for AI Assistants and IDEs

526Pythonstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Active2d ago

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 -1

Configuration

VariableRequiredSecretDescription
motherduck_token—yesAccess token for MotherDuck connections (alternative to --motherduck-token)
MOTHERDUCK_TOKEN—yesAccess 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—yesAWS access key for S3 database connections
AWS_SECRET_ACCESS_KEY—yesAWS secret access key for S3 database connections
AWS_SESSION_TOKEN—yesAWS session token for temporary credentials
AWS_DEFAULT_REGION——AWS region for S3 database connections
AWS_ENDPOINT——AWS endpoint for S3 database connections

Freshness

Active — last maintenance signal 2d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-07 · 2d ago · GitHub

  2. Latest release

    2026-10-07 · 2d ago · GitHub · v1.1.0

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-10-07 · 2d ago · official registry · v1.1.0

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.

Alternatives to Motherduck

Other database MCP servers.

View all