DuckDB / MotherDuck MCP Server
Local DuckDB analytics over CSV, Parquet, and S3 files, with optional MotherDuck cloud.
Overview
MotherDuck's MCP server runs SQL through DuckDB, so agents can analyse local CSV and Parquet files, in-memory data, or MotherDuck cloud databases. It is a lightweight way to give an agent analytical SQL without a database server. DuckDB can read files by path and remote object storage, so restrict where it runs.
Capabilities
- SQL queries
- File analytics (CSV/Parquet)
- MotherDuck cloud databases
- Read-only mode
Connection profile
- Transports
- stdio, Streamable HTTP
- Authentication
- None (local); MotherDuck token (optional)
- License
- MIT
- Vendor
- MotherDuck
Client format support is reviewed against official client documentation. It is not a claim that this specific server was tested with every client.
Configuration starting point
A documented preset is available for this server. It contains placeholders, not real credentials. Generate a client-correct file or review the raw values below.
uvx mcp-server-motherduck --db-path :memory:
Security notes
- DuckDB can read any local path and configured remote storage. Use read-only mode and a restricted working directory.
The catalog records source evidence, not a security audit. Review the server's permissions, recent releases, and the data it can access before connecting it to a real account.
Sources & evidence
- github.com/motherduckdb/mcp-server-motherduckRepository · checked Nov 26, 2026 · documented
MotherDuck's repository documents the DuckDB/MotherDuck MCP server, options, and uvx setup; active on the check date.