Does DuckDB have an MCP server?

Sort of Community only

DuckDB does not maintain an official MCP server. Community-built servers exist.

The most-used DuckDB MCP server is maintained by MotherDuck, a separate commercial company, not by DuckDB Labs or the DuckDB Foundation.

Checked by hand against the vendor's docs on 2026-09-29
Access
Local server
Maintainer
MotherDuck
License
MIT
Language
Python
Stars
528
Last commit
7d ago
Category
Databases

What it does

Local MCP server for DuckDB and MotherDuck
How motherduckdb/mcp-server-motherduck describes itself

The receipts

Top community server motherduckdb/mcp-server-motherduck

Local MCP server for DuckDB and MotherDuck

528 stars last push 2026-10-07 MIT Active

Connect it

Runs on your machine over stdio, launched by your MCP client.

Add it from the terminal, then restart your session:

terminal
claude mcp add duckdb -- npx -y <package-from-readme>

Swap in the exact package and flags from the repo README — most servers need an API key passed as an environment variable.

Add --scope user to make it available in every project.

CoinGate Gift Cards Buy gift cards from 6,000+ brands by asking Claude or ChatGPT. Visit Sponsored

Before you connect this

A community server is unaudited third-party code that will hold your DuckDB API credentials and see whatever data they unlock. Independent research puts SSRF vulnerabilities in roughly a third of public MCP servers, and 41% ship with no authentication at all.

  • Read the source before running it — especially any network calls it makes.
  • Check who maintains it and whether commits are recent (this one: 7d ago).
  • Issue a scoped, revocable API key rather than an account-wide token.
  • Prefer read-only credentials until you trust it with writes.

Questions

Does DuckDB have an official MCP server?

No. DuckDB does not maintain one. Third-party developers have built community servers, the most established being motherduckdb/mcp-server-motherduck, but they are not endorsed or supported by DuckDB.

How do I connect DuckDB to Claude?

Run the server locally and register it in Claude's MCP config. In Claude Code that's a single "claude mcp add" command; in Claude Desktop you add it to claude_desktop_config.json.

Is it safe to use a community DuckDB MCP server?

Treat it like any dependency that gets your API keys. Community MCP servers are unaudited third-party code: independent research has found roughly a third of public MCP servers carry SSRF vulnerabilities and 41% ship with no authentication. Read the source, check the maintainer and commit recency, and scope the credentials you hand it.

How is this verdict verified?

I found no MCP server in the duckdb GitHub org, the DuckDB docs or the MCP Registry under a DuckDB namespace. duckdb.org only lists the third-party duckdb_mcp community extension. The strongest dedicated server is motherduckdb/mcp-server-motherduck (~525 stars, actively maintained), which queries local DuckDB files as well as MotherDuck. GitHub metadata is refreshed every six hours.

How we know

I found no MCP server in the duckdb GitHub org, the DuckDB docs or the MCP Registry under a DuckDB namespace. duckdb.org only lists the third-party duckdb_mcp community extension. The strongest dedicated server is motherduckdb/mcp-server-motherduck (~525 stars, actively maintained), which queries local DuckDB files as well as MotherDuck.

  • GitHub data refreshed on 2026-10-14, and again every six hours.
  • Vendor docs checked by hand on 2026-09-29.

Work at DuckDB? The moment you ship an official server this page flips to Official — send us the link.

Also in Databases

See all Databases servers