A MCP server for MotherDuck and local DuckDB
Project description
mcp-server-motherduck MCP server
A MCP server for MotherDuck and local DuckDB
Components
Resources
Prompts
The server provides one prompt:
- duckdb-motherduck-initial-prompt: A prompt to initialize a connection to duckdb or motherduck and start working with it
Tools
The server offers three tools:
- initialize-connection: Create a connection to either a local DuckDB or MotherDuck and retrieve available databases
- Takes "type" (DuckDB or MotherDuck) as input
- read-schemas: Get table schemas from a specific DuckDB/MotherDuck database
- Takes "database_name" as required string arguments
- execute-query: Execute a query on the MotherDuck (DuckDB) database
- Takes "query" as required string arguments
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.
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.2.2.tar.gz.
File metadata
- Download URL: mcp_server_motherduck-0.2.2.tar.gz
- Upload date:
- Size: 36.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba28bf24e213477fbee74540407cd27263c4e23d0e97d1e401e47cb30a04080c
|
|
| MD5 |
ead9a0261eb52fb8d777641174ac5789
|
|
| BLAKE2b-256 |
ca09881171880a2f5efc9f8d7b2d30e337cdb83a7c09eacb619136ab1426630a
|
File details
Details for the file mcp_server_motherduck-0.2.2-py3-none-any.whl.
File metadata
- Download URL: mcp_server_motherduck-0.2.2-py3-none-any.whl
- Upload date:
- Size: 23.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f8c273ad3d306ba7e11f59050a35c38a4bbd1231870555771c8b82222698fb8
|
|
| MD5 |
a6fdafd1644c164e71b425235e7dfbe7
|
|
| BLAKE2b-256 |
c2fc22b5b3931fbb80d5e063a31eab7234f3ddc9d91f4dfd6545081bc463a0d6
|