Ask docs questionAsk a question about DuckDB or MotherDuck.
Cancel flight runCancel an in-flight run of a flight.
Create flightCreate a new MotherDuck flight.
Create guideCreate a new guide — a markdown document that agents read to answer this org's data questions correctly (metric definitions, join/filter conventions, pitfalls).
Delete diveDelete a dive by ID.
Delete flightPermanently delete a flight, its versions, schedule, and run history.
Delete guideSoft-delete a guide while preserving its version history.
Dive queryExecute a read-only DuckDB query on behalf of a dive.
Edit dive contentEdit a dive's content by applying one or more text replacements, then save to MotherDuck.
Edit flight sourceEdit a flight's source_code by applying one or more text replacements, then save as a new FlightVersion.
Edit guide contentEdit a guide's markdown body by applying one or more text replacements, then save as a new version.
Get dive guideLoad instructions for creating MotherDuck dives.
Get flightFetch a flight by UUID.
Get flight guideLoad instructions for authoring, scheduling, running, and troubleshooting MotherDuck flights.
Get flight logsFetch the plain-text logs (stdout + stderr) of a flight run plus the matching `Run` record (status, exit_code, timing).
Get flight runFetch a single run of a flight by its sequential run number (from list_flight_runs).
Get guideLoad a guide by uuid.
Get query guideCall this before writing SQL to answer a data question.
Get short lived tokenReturns a short-lived token and connection details for the MotherDuck database endpoint.
List columnsList all columns of a table or view with their types and comments.
List databasesList all databases in your MotherDuck account.
List divesList all dives in MotherDuck.
List flight runsList executions of a flight, newest first.
List flightsList MotherDuck flights.
List flight versionsList the immutable versions of a flight, newest first.
List guidesBrowse this organization's curated guides — markdown documents that capture organization and personal context about the data in MotherDuck.
List macrosList all macros (table and scalar macros) in a MotherDuck database, with their schema and parameters.
List sharesList all database shares that have been shared with you.
List tablesList all tables and views in a MotherDuck database with comments.
List viewsList all views in a MotherDuck database, with their schema, comment, and column count.
Log dive viewer eventLog a dive viewer event for analytics.
Mint dive state referenceMint a server-stored reference for a `useDiveState` bag and return its id.
QueryBefore 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 rwExecute a DuckDB SQL query that modifies data, schema, or connection state.
Read diveRead a specific dive by ID, including its full JSX/React component code.
Run flightTrigger an on-demand execution of a flight using its current version.
Save diveSave a new dive to MotherDuck.
Search catalogSearch the catalog for databases, schemas, tables, columns, and shares using fuzzy matching.
Set guide accessSet a guide's visibility to 'user' (private to the owner) or 'organization' (visible to the whole org).
Share dive dataShare the data for a dive with your organization.
Update diveUpdate an existing dive's title, description, or content.
Update flightUpdate a flight.
Update guideAppend a new version to an existing guide, identified by `uuid`.
Update guide metadataChange a guide's title, description, or topic without appending a content version.
View diveOpen and render a MotherDuck Dive as a live MCP app with interactive charts.