mcp-server-motherduck

Official

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOMEYesThe home directory path needed by DuckDB
motherduck_tokenNoYour MotherDuck access token

Schema

Prompts

Interactive templates invoked by user choice

NameDescription
duckdb-motherduck-initial-promptA prompt to initialize a connection to duckdb or motherduck and start working with it

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
initialize-connection

Create a connection to either a local DuckDB or MotherDuck and retrieve available databases

read-schemas

Get table schemas from a specific DuckDB/MotherDuck database

execute-query

Execute a query on the MotherDuck (DuckDB) database