mcp-server-motherduck 0.6.2__py3-none-any.whl → 0.6.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  from typing import Any
2
2
 
3
- SERVER_VERSION = "0.6.2"
3
+ SERVER_VERSION = "0.6.4"
4
4
 
5
5
  SERVER_LOCALHOST = "127.0.0.1"
6
6
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcp-server-motherduck
3
- Version: 0.6.2
3
+ Version: 0.6.4
4
4
  Summary: A MCP server for MotherDuck and local DuckDB
5
5
  Author-email: tdoehmen <till@motherduck.com>
6
6
  License-File: LICENSE
@@ -9,6 +9,7 @@ Requires-Dist: anyio>=4.8.0
9
9
  Requires-Dist: click>=8.1.8
10
10
  Requires-Dist: duckdb==1.3.1
11
11
  Requires-Dist: mcp>=1.9.4
12
+ Requires-Dist: pytz>=2025.2
12
13
  Requires-Dist: starlette>=0.46.1
13
14
  Requires-Dist: tabulate>=0.9.0
14
15
  Requires-Dist: uvicorn>=0.34.0
@@ -18,7 +19,7 @@ Description-Content-Type: text/markdown
18
19
 
19
20
  An MCP server implementation that interacts with DuckDB and MotherDuck databases, providing SQL analytics capabilities to AI Assistants and IDEs.
20
21
 
21
- [![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/install-mcp?name=DuckDB&config=eyJjb21tYW5kIjoidXZ4IG1jcC1zZXJ2ZXItbW90aGVyZHVjayAtLWRiLXBhdGggbWQ6IiwiZW52Ijp7Im1vdGhlcmR1Y2tfdG9rZW4iOiIifX0%3D)
22
+ [![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](cursor://anysphere.cursor-deeplink/mcp/install?name=DuckDB&config=eyJjb21tYW5kIjoidXZ4IG1jcC1zZXJ2ZXItbW90aGVyZHVjayAtLWRiLXBhdGggOm1lbW9yeToiLCJlbnYiOnsibW90aGVyZHVja190b2tlbiI6IiJ9fQ%3D%3D)
22
23
 
23
24
  ## Resources
24
25
  - [Close the Loop: Faster Data Pipelines with MCP, DuckDB & AI (Blogpost)](https://motherduck.com/blog/faster-data-pipelines-with-mcp-duckdb-ai/)
@@ -221,7 +222,44 @@ Optionally, you can add it to a file called `.vscode/mcp.json` in your workspace
221
222
  **Important Notes**:
222
223
 
223
224
  - Replace `YOUR_MOTHERDUCK_TOKEN_HERE` with your actual MotherDuck token
224
- - The `HOME` environment variable is required for DuckDB to function properly.
225
+
226
+ ### Usage with Claude Code
227
+
228
+ Claude Code supports MCP servers through CLI commands or JSON configuration. Here are two ways to set it up:
229
+
230
+ #### Option 1: Using CLI Commands
231
+
232
+ Add the MotherDuck MCP server directly using the Claude Code CLI:
233
+
234
+ ```bash
235
+ claude mcp add mcp-server-motherduck uvx mcp-server-motherduck -- --db-path md: --motherduck-token <YOUR_MOTHERDUCK_TOKEN_HERE>
236
+ ```
237
+
238
+ #### Option 2: Using JSON Configuration
239
+
240
+ Add the server using a JSON configuration:
241
+
242
+ ```bash
243
+ claude mcp add-json mcp-server-motherduck '{
244
+ "command": "uvx",
245
+ "args": [
246
+ "mcp-server-motherduck",
247
+ "--db-path",
248
+ "md:",
249
+ "--motherduck-token",
250
+ "<YOUR_MOTHERDUCK_TOKEN_HERE>"
251
+ ]
252
+ }'
253
+ ```
254
+
255
+ **Scoping Options**:
256
+ - Use `--local` (default) for project-specific configuration
257
+ - Use `--project` to share the configuration with your team via `.mcp.json`
258
+ - Use `--user` to make the server available across all your projects
259
+
260
+ **Important Notes**:
261
+ - Replace `YOUR_MOTHERDUCK_TOKEN_HERE` with your actual MotherDuck token
262
+ - Claude Code also supports environment variable expansion, so you can use `${MOTHERDUCK_TOKEN}` if you've set the environment variable
225
263
 
226
264
  ## Securing your MCP Server when querying MotherDuck
227
265
 
@@ -384,3 +422,6 @@ To run the server from a local development environment, use the following config
384
422
  ## License
385
423
 
386
424
  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.
425
+
426
+ ##
427
+ mcp-name: io.github.motherduckdb/mcp-server-motherduck
@@ -1,10 +1,10 @@
1
1
  mcp_server_motherduck/__init__.py,sha256=vogjO-bwHYZFut85eeiVmRepamcWHk8bImri_kBKZMU,6026
2
- mcp_server_motherduck/configs.py,sha256=bxbmWi4BzgB9p8kfb_A-RCQESc4P1Eb7BF8WV-PX6ss,771
2
+ mcp_server_motherduck/configs.py,sha256=-9cNtMBsNn0OK-0pxRWxMoTy4VbfUdCMKQG_BPMmIu4,771
3
3
  mcp_server_motherduck/database.py,sha256=3qkeBIpf08WV6pz9rf52b_MipzaHALurFugMx-XARI8,4513
4
4
  mcp_server_motherduck/prompt.py,sha256=P7BrmhVXwDkPeSHQ3f25WMP6lpBpN2BxDzYPOQ3fxX8,56699
5
5
  mcp_server_motherduck/server.py,sha256=U1LM2oQ36gO_pAZuez9HV_u8YDWdER8tQIdDbiXfzx0,5232
6
- mcp_server_motherduck-0.6.2.dist-info/METADATA,sha256=D886bXRNF7h6q6TpMP-cSWR7KEdRyCIOGxm2y7914Ts,15657
7
- mcp_server_motherduck-0.6.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
- mcp_server_motherduck-0.6.2.dist-info/entry_points.txt,sha256=dRTgcvWJn40bz0PVuKPylK6w92cFN32lwunZOgo5j4s,69
9
- mcp_server_motherduck-0.6.2.dist-info/licenses/LICENSE,sha256=Tj68w9jCiceFKTvZ3jET-008NjhozcQMXpm-fyL9WUI,1067
10
- mcp_server_motherduck-0.6.2.dist-info/RECORD,,
6
+ mcp_server_motherduck-0.6.4.dist-info/METADATA,sha256=McZsr6b8gFcH4ju85Ck2eC7-Z0cS06V_fOyecihfVIA,16831
7
+ mcp_server_motherduck-0.6.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
+ mcp_server_motherduck-0.6.4.dist-info/entry_points.txt,sha256=dRTgcvWJn40bz0PVuKPylK6w92cFN32lwunZOgo5j4s,69
9
+ mcp_server_motherduck-0.6.4.dist-info/licenses/LICENSE,sha256=Tj68w9jCiceFKTvZ3jET-008NjhozcQMXpm-fyL9WUI,1067
10
+ mcp_server_motherduck-0.6.4.dist-info/RECORD,,