- How you use it
- Your agent calls its tools
- What it can do
- installs software · writes files · network · secrets access · runs shell
- What's inside
The option
| Option | AMCP server · v1.1.0+wwfix.2DuckDB / MotherDuck local MCP server |
|---|---|
| How you use it | Your agent calls its tools |
| What it can do | installs software · writes files · network · secrets access · runs shell |
| What's inside |
What this thread does
Why
On 16 September 2026 the DuckDB team pointed out that agents usually inspect a data file by writing a small Python script, running it and reading the output. That works, but it is slow and not always accurate. DuckDB reads CSV, Parquet, JSON, Excel and more directly with SQL, so the agent can ask the question in one query.
This thread is about files and DuckDB databases on your own machine. For a company warehouse (BigQuery, Snowflake) see data-analyst-plugin-sql-warehouse; for an application's Postgres database see postgres-database-access-for-agents.
Option 1: duckdb-skills plugin (Claude Code)
As of November 2026, duckdb-skills (v0.2.5, last changed November 2026) documents six skills that call the DuckDB CLI: attach-db, query, read-file, duckdb-docs, read-memories and install-duckdb (the repo's skills folder also holds convert-file, s3-explore and spatial, which the README does not describe). Skills share one state.sql per project, so a database attached once is available to every skill. The DuckDB blog post explains the setup.
Install in Claude Code by adding the repo as a marketplace (/plugin marketplace add duckdb/duckdb-skills), then /plugin install duckdb-skills@duckdb-skills; the README says a listing in Anthropic's official marketplace is still coming soon. You need the DuckDB CLI: brew install duckdb on macOS, winget install DuckDB.cli on Windows, or the release binary from duckdb.org on Linux.
WhatWorks does not pin this plugin as a package: its install-duckdb skill suggests DuckDB's piped install script on Linux, which our safety scan does not accept. Install the CLI yourself first.
Things to know: read-memories searches your past Claude Code session logs; read-file can read S3, GCS and Azure with your local cloud credentials; the authors tested macOS and Linux, not Windows.
Option 2: DuckDB / MotherDuck MCP server (any MCP client)
MotherDuck's local MCP server gives any MCP client (Claude Code, Codex, Gemini CLI, Cursor, VS Code) a SQL tool backed by DuckDB. Start it in memory to query files ad hoc, or point it at a .duckdb file, which it opens read-only by default. Results are capped at 1,024 rows and 50,000 characters unless you change the limits. A MotherDuck cloud account is optional. The pinned package below installs this option.
Side by side
| duckdb-skills | DuckDB MCP server | |
|---|---|---|
| Works in | Claude Code | Any MCP client |
| Needs | DuckDB CLI | uv (installs DuckDB's Python package) |
| How the agent runs queries | Shell commands via the CLI | SQL and catalog tools |
| Write access | Whatever the CLI command does | In-memory mode is read-write; file mode read-only by default |
| Extras | Docs search, session-log search, spatial, format conversion | Optional database switching, MotherDuck |
Caveats
- Both can read any file your user account can read. Check queries that write files (
COPY ... TO). - No trial reports on WhatWorks yet.
Started from a post by @duckdb, packaged by the editor. Original post
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.