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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_server_motherduck-0.3.3.tar.gz.
File metadata
- Download URL: mcp_server_motherduck-0.3.3.tar.gz
- Upload date:
- Size: 49.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a94bd0d8d34320fd83b3373aea01a61024a51c614840e740521e32880b7c624
|
|
| MD5 |
a418b6dd4aae15d5fca142e5ababc46f
|
|
| BLAKE2b-256 |
f6e54ceb41557ef8b785725250712fac7ec2ff1a0ebaf1d12468cbdc9a664a65
|
File details
Details for the file mcp_server_motherduck-0.3.3-py3-none-any.whl.
File metadata
- Download URL: mcp_server_motherduck-0.3.3-py3-none-any.whl
- Upload date:
- Size: 25.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c552cf4e6e1244c157723cb79cc616c413fa686995592f9e09ffe29dd075e913
|
|
| MD5 |
aaa6ed3f96d5c20cbedf0dd4cb274c5a
|
|
| BLAKE2b-256 |
ddfc04aea5a4b2f45255bb518d5a423eac5a96fdefb0f7a40c86b8e2d7f86616
|