New: every message picks a fast or a slow model

MotherDuck MCP

Explore MotherDuck database schemas, query data, and manage Dives, Flights, and Guides through MotherDuck’s official hosted MCP server. Includes SQL writes, scheduled Python jobs, sharing, and deletion tools.

What agents can do

Actions45

  • Ask docs question

    Ask a question about DuckDB or MotherDuck.

  • Cancel flight run

    Cancel an in-flight run of a flight.

  • Create flight

    Create a new MotherDuck flight.

  • Create guide

    Create a new guide — a markdown document that agents read to answer this org's data questions correctly (metric definitions, join/filter conventions, pitfalls).

  • Delete dive

    Delete a dive by ID.

  • Delete flight

    Permanently delete a flight, its versions, schedule, and run history.

  • Delete guide

    Soft-delete a guide while preserving its version history.

  • Dive query

    Execute a read-only DuckDB query on behalf of a dive.

37 more
  • Edit dive content

    Edit a dive's content by applying one or more text replacements, then save to MotherDuck.

  • Edit flight source

    Edit a flight's source_code by applying one or more text replacements, then save as a new FlightVersion.

  • Edit guide content

    Edit a guide's markdown body by applying one or more text replacements, then save as a new version.

  • Get dive guide

    Load instructions for creating MotherDuck dives.

  • Get flight

    Fetch a flight by UUID.

  • Get flight guide

    Load instructions for authoring, scheduling, running, and troubleshooting MotherDuck flights.

  • Get flight logs

    Fetch the plain-text logs (stdout + stderr) of a flight run plus the matching `Run` record (status, exit_code, timing).

  • Get flight run

    Fetch a single run of a flight by its sequential run number (from list_flight_runs).

  • Get guide

    Load a guide by uuid.

  • Get query guide

    Call this before writing SQL to answer a data question.

  • Get short lived token

    Returns a short-lived token and connection details for the MotherDuck database endpoint.

  • List columns

    List all columns of a table or view with their types and comments.

  • List databases

    List all databases in your MotherDuck account.

  • List dives

    List all dives in MotherDuck.

  • List flight runs

    List executions of a flight, newest first.

  • List flights

    List MotherDuck flights.

  • List flight versions

    List the immutable versions of a flight, newest first.

  • List guides

    Browse this organization's curated guides — markdown documents that capture organization and personal context about the data in MotherDuck.

  • List macros

    List all macros (table and scalar macros) in a MotherDuck database, with their schema and parameters.

  • List shares

    List all database shares that have been shared with you.

  • List tables

    List all tables and views in a MotherDuck database with comments.

  • List views

    List all views in a MotherDuck database, with their schema, comment, and column count.

  • Log dive viewer event

    Log a dive viewer event for analytics.

  • Mint dive state reference

    Mint a server-stored reference for a `useDiveState` bag and return its id.

  • Query

    Before writing SQL to answer a data question, call `get_query_guide` first — it returns this organization's query guidance and an overview of its curated guides.

  • Query rw

    Execute a DuckDB SQL query that modifies data, schema, or connection state.

  • Read dive

    Read a specific dive by ID, including its full JSX/React component code.

  • Run flight

    Trigger an on-demand execution of a flight using its current version.

  • Save dive

    Save a new dive to MotherDuck.

  • Search catalog

    Search the catalog for databases, schemas, tables, columns, and shares using fuzzy matching.

  • Set guide access

    Set a guide's visibility to 'user' (private to the owner) or 'organization' (visible to the whole org).

  • Share dive data

    Share the data for a dive with your organization.

  • Update dive

    Update an existing dive's title, description, or content.

  • Update flight

    Update a flight.

  • Update guide

    Append a new version to an existing guide, identified by `uuid`.

  • Update guide metadata

    Change a guide's title, description, or topic without appending a content version.

  • View dive

    Open and render a MotherDuck Dive as a live MCP app with interactive charts.

How it connects

You paste an API key from MotherDuck MCP on a page Composio hosts, so the key never passes through Definable.

Keep the connection to yourself or share it with your workspace. Any action that writes or sends can wait for your approval.