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.3.tar.gz (49.9 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.3-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for mcp_server_motherduck-0.3.3.tar.gz
Algorithm Hash digest
SHA256 4a94bd0d8d34320fd83b3373aea01a61024a51c614840e740521e32880b7c624
MD5 a418b6dd4aae15d5fca142e5ababc46f
BLAKE2b-256 f6e54ceb41557ef8b785725250712fac7ec2ff1a0ebaf1d12468cbdc9a664a65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_server_motherduck-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c552cf4e6e1244c157723cb79cc616c413fa686995592f9e09ffe29dd075e913
MD5 aaa6ed3f96d5c20cbedf0dd4cb274c5a
BLAKE2b-256 ddfc04aea5a4b2f45255bb518d5a423eac5a96fdefb0f7a40c86b8e2d7f86616

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