Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Create guide
MOTHERDUCK_MCP_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). Group related guides with a lowercase kebab-case `topic` (e.g. 'revenue-billing' or 'core/metrics'); omit it for a guide without a topic. Visibility is controlled by `access`: 'user' (private, default) or 'organization' (org-wide, permission-gated). Personal dive/flight style guides belong under topic 'dives' / 'flights' with access 'user'. Attach `references` to the 1–5 objects the guide is authoritative about.
Get short lived token
MOTHERDUCK_MCP_GET_SHORT_LIVED_TOKENReturns a short-lived token and connection details for the MotherDuck database endpoint.
Log dive viewer event
MOTHERDUCK_MCP_LOG_DIVE_VIEWER_EVENTLog a dive viewer event for analytics. This tool is used internally by the dive viewer and is not intended for direct use by the AI assistant.
Mint dive state reference
MOTHERDUCK_MCP_MINT_DIVE_STATE_REFERENCEMint a server-stored reference for a `useDiveState` bag and return its id. Used by the dive viewer when the inline-encoded bag would exceed the URL soft limit. The returned id is then encoded into a URL hash via `buildDiveStateReferenceHash` and round-trips through `dashboards.get` on dive open.
Save dive
MOTHERDUCK_MCP_SAVE_DIVESave a new dive to MotherDuck. Returns a URL the user can click to view the dive. Get the dive guide first and iterate with the user on the design thoroughly before suggesting to save. Never save without previous confirmation that iteration is done.