Skip to main content

A MCP server for MotherDuck and local DuckDB

Project description

mcp-server-motherduck MCP server

An MCP server for MotherDuck and local DuckDB.

Components

Prompts

The server provides one prompt:

  • duckdb-motherduck-prompt: A prompt to initialize a connection to duckdb or motherduck and start working with it

Tools

The server offers one tool:

  • query: Execute a query on the MotherDuck (DuckDB) database
    • Takes "query" as required string arguments

This is because all the interactions with both the DuckDB and MotherDuck are done through writing SQL queries.

Usage with Claude Desktop

Add the snippet below to your Claude Desktop config and make sure to set the HOME var to your home folder (needed by DuckDB).

When using MotherDuck, you also need to set a MotherDuck token env var.

On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json

On Windows: %APPDATA%/Claude/claude_desktop_config.json

Servers Configuration

"mcpServers": {
  "mcp-server-motherduck": {
    "command": "uvx",
    "args": [
      "mcp-server-motherduck"
    ],
    "env": {
      "motherduck_token": "<your-motherduck-token>",
      "HOME": "<your-home-folder-for-project-files>"
    }
  }
}

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_server_motherduck-0.3.2.tar.gz (48.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_server_motherduck-0.3.2-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_motherduck-0.3.2.tar.gz.

File metadata

File hashes

Hashes for mcp_server_motherduck-0.3.2.tar.gz
Algorithm Hash digest
SHA256 eac2e52ecb79a58fa9812a1921f988457b59ac466b0df45d4f89b0e3ff1afeae
MD5 477ab770e6c4139d0d481cb4c78e3117
BLAKE2b-256 acec213a591d4a9f635d03d3724e12c498fbc405bbfb146a7f2aee5a1c20f1f2

See more details on using hashes here.

File details

Details for the file mcp_server_motherduck-0.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_server_motherduck-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 62015a330d7624ba6b16ab8a7620220a508ad1f2782713aa2330066ce0c0de50
MD5 c4d10f6eb31f80aec535f2c671273f98
BLAKE2b-256 ee7bdb3c69451cbbe083bf4122c690b0df7049d0338c71f6a0cbb95837868e9d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page