P

mcp-server-motherduck

...
Created 12/12/2024bymotherduckdb

Categories

experimental

Language:

Python

Stars:

33

Forks:

5

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": "",
      "HOME": ""
    }
  }
}

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.

Last updated: 3/7/2025

Publisher info

motherduckdb's avatar

MotherDuck

MotherDuck Corporation

United States of America
86
followers
0
following
30
repos

More MCP servers built with Python

mcp-logo-gen

By sshtunnelvision137
ledger-mcp-server

MCP Server for my ledger

By mprokopov1
clickhouse_mcp_server

A MCP server for ClickHouse

By ThomAub1