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.1.tar.gz (38.6 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.1-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for mcp_server_motherduck-0.3.1.tar.gz
Algorithm Hash digest
SHA256 97fe9f0e88d0eb51b84018b53696b9aff7b59cbd57cb8ef1a316565aea5884b1
MD5 b21358a9381aaa15411dd2aea7ad2742
BLAKE2b-256 0d562ab509d97d2f22e3073b9f12e23995a42e7be8a03b91eda84f379f94ca53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_server_motherduck-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e94b69381380ac27b151e14903ceaff6f3383a4b030c6e277369dcecaa1e1ae3
MD5 482487d0ad67b3288ddeb2cec798b627
BLAKE2b-256 ba7a20352dbffd283344dd2df4af731922eb2d1fe581da4bfe540dc611b44567

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