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.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-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_server_motherduck-0.3.tar.gz
  • Upload date:
  • Size: 38.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.21

File hashes

Hashes for mcp_server_motherduck-0.3.tar.gz
Algorithm Hash digest
SHA256 ca77356516d081fa2aba9af5677950e0a3491423444b517a3580677bc958cd65
MD5 7b77edcff0298c6762241ee70d3525a2
BLAKE2b-256 fae025b702c2c6622b87e258d7ff62db5d351ae2de1e9e724751e62ddf7d465f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_server_motherduck-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 15ebe18c566467c06aed8a978f8384ec2a77e3d13882c1a2b5db6bc6a2798230
MD5 3a1a9b008a4dfa02770e3162260641c8
BLAKE2b-256 29f5e30e58383758a12b8fcb2cc82fd6402375c7d67be971535c90f778c9523c

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