Tool connections (MCP)
DuckDB / MotherDuck MCP
Let AI query local DuckDB databases, inspect tables, and analyze data.
Install
Cursor MCP settingsConfiguration to paste
This installs DuckDB (read-only)
- Install uv, the Python package manager, before running this command.
- Prepare the database connection and grant only the permissions you need.
- Replace the placeholder values below before running or saving.
- Merge into the existing configuration; keep other tools and settings.
- Save the configuration, then restart or reload your assistant or editor.
Cursor MCP settings
Configuration file ~/.cursor/mcp.json
Replace these values: /ABSOLUTE/PATH/database.duckdb
{
"mcpServers": {
"duckdb": {
"command": "uvx",
"args": [
"mcp-server-motherduck",
"--db-path",
"/ABSOLUTE/PATH/database.duckdb"
]
}
}
}Requirements, costs and detailed steps
DuckDB / MotherDuck MCP setup documentation
Setup requirements have not been reviewed yet. Check the project’s setup guide.
Based on public documentation; not individually installed and tested here.
What is DuckDB / MotherDuck MCP?
This local connector lets an assistant inspect tables and run analytical SQL against DuckDB files. DuckDB is a database designed for data analysis; the project can also connect to MotherDuck's cloud service. Follow the documented Python and uv setup and specify the database file in an MCP-compatible client. MotherDuck requires separate account access and a check of service charges. Queries can involve writes and local file access, so configure the runtime and permissions for the task rather than treating a read-only setting as complete isolation.
DuckDB / MotherDuck MCP use cases
- Inspect databases, tables, and columns
- Query and analyze data using SQL
- Choose local DuckDB or an authorized MotherDuck connection
Official project & documentation
Alternatives to DuckDB / MotherDuck MCP for similar tasks
Compare plugins for similar tasks and check their setup requirements.
- AiToEarn MCP — Connect an AI assistant to AiToEarn for content drafts, generation tasks and authorized social publishing workflows.
- Supabase MCP — Let AI inspect Supabase data and schemas to assist with development and debugging.
- Redis MCP Server — Let AI inspect and manage Redis caches, lists, and message data.