)
Connect MotherDuck MCP to your AI agents, securely.
One secured endpoint for every MotherDuck call your AI agents make, scoped per user, inspected, and logged.Try MotherDuck MCP now
What your agents can ask once MotherDuck MCP is connected.
Select the tools your AI agents can call
5 tools from the MotherDuck MCP schema.
Showing 5 tools
What MotherDuck MCP exposes
MotherDuck MCP groups its 5 tools into 3 categories, each with a suggested starting policy.
All 5 tools as JSON, ready to paste.
| Category | Covers | Access | Suggested policy |
|---|---|---|---|
| Catalog | Listing all databases, which matters for MotherDuck or multiple attached databases, listing the tables and views in a database or schema, and listing the columns of a table or view | Read | Read-only and the right prerequisite for a query that compiles. These three are cheap to allow freely and keep an agent from guessing at schema it cannot see |
| SQL Execution | Executing an arbitrary SQL query in the DuckDB dialect against whichever database the connection currently points at, returning JSON capped at 1024 rows and 50,000 characters by default | Write | DuckDB reaches past the attached database to the local filesystem and its own settings, which is why MotherDuck says read-only mode is not sufficient on its own. Log the SQL text rather than the tool name, and set a query timeout, since the default is disabled |
| Connection | Switching the server to a different database by path, optionally creating it if it does not exist, where the path can be a local file, an S3 URL or MotherDuck | Write | This is hidden unless --allow-switch-databases is passed, which is the cleanest control here. Leaving it off pins the connection to one database for the life of the server |
Connect MotherDuck MCP to your AI agent
Four steps, under ten minutes.
- 01
Sign in to NeuralTrust
Open the NeuralTrust platform, sign in and go to Getting started, then Connect your tools.
- 02
Choose your agent
When asked which agent you use, pick Claude Code, Codex, Cursor, Windsurf, Copilot or your own code.
- 03
Connect MotherDuck
Find MotherDuck in the tool list and connect it.
- 04
Connect your agent
Follow the steps on screen to add the config to your agent, then send the test prompt.
Permissions down to the single tool
You do not allow MotherDuck MCP or block it. You allow the exact tools each agent can call, one by one.
| MotherDuck MCP | 5 TOOLS AVAILABLE |
|---|---|
| Code review agent | 4 tools, read only |
| Issue triage bot | 9 tools |
| Platform team assistant | all 5 tools |
- Tool by toolConnecting the server is not the unit of access. Each tool is granted on its own.
- Default denyA tool you have not enabled is never exposed to the agent.
- Approval on writesTools that change or delete things can require a human to confirm.
Is MotherDuck MCP secure?
One endpoint instead of raw credentials. Every call is checked against policy and logged.
| AI agentsConnect through your MCP client configuration. | NeuralTrustApply controls based on your configuration. | MotherDuck MCP5 documented tools in the local DuckDB and MotherDuck MCP server, run through uvx over stdio or as a Docker container over streamable HTTP. It defaults to an in-memory database in read-only mode; --read-write enables writes and --allow-switch-databases exposes the fifth tool. Query timeout is disabled by default, and MotherDuck states that read-only mode alone is not sufficient for third-party access. |
|---|---|---|
| Coding assistants | Connection & credentialsper user | Catalog3 tools |
| Internal copilots | Tool access policiesdeny by default | SQL Execution1 tool |
| Workflow automations | Request & response inspectioninline | Connection1 tool |
| Compatible MCP clients | Activity monitoringalerts and logs |
Use MotherDuck MCP with any AI agent framework
Setup guides for the tools your team already uses.
Claude CodeAdd MotherDuck MCP to Claude Code from the terminal
CursorUse MotherDuck MCP tools inside Cursor's agent
CodexConnect MotherDuck MCP to the OpenAI Codex CLI
WindsurfGive Windsurf's Cascade access to MotherDuck MCP
Gemini CLICall MotherDuck MCP from Gemini CLI prompts
Google AntigravityLet Antigravity agents work with MotherDuck MCP
GitHub CopilotUse MotherDuck MCP in Copilot agent mode
Claude EnterpriseRoll out MotherDuck MCP across your Claude workspace
Microsoft Copilot StudioAdd MotherDuck MCP as a tool for Copilot Studio agents
Open WebUIBring MotherDuck MCP tools into Open WebUI chats
LangChainLoad MotherDuck MCP tools into LangChain agents
HaystackPlug MotherDuck MCP into Haystack agent pipelines
Strands AgentsGive Strands agents MotherDuck MCP tools
Vercel AI SDKCall MotherDuck MCP from Vercel AI SDK apps
n8nUse MotherDuck MCP in n8n AI agent workflows
Common questions about running MotherDuck MCP through TrustGate.
Other MCP servers
More servers from the catalog.
Cube
Securely connect your AI agents to Cube through TrustGate: semantic model search and SQL, agent chat, reports and dashboards, model editing on dev branches, commits and pre-aggregations, scoped per agent and logged.
30 toolsView)
Hex
Securely connect your AI agents to Hex through TrustGate: project search, Threads on your data, notebook authoring with SQL, Python and Markdown cells, draft runs and chart images, scoped per agent and logged.
18 toolsView)
GoodData
Securely connect your AI agents to GoodData through TrustGate: metrics, visualizations and dashboards, governed metric creation, AI search and chat, datasource scanning, alerts and exports, scoped per agent and logged.
35 toolsViewAirbyte
Securely connect your AI agents to Airbyte through TrustGate: workspaces, sources and destinations, connections, syncs and logs, custom connectors, direct reads and the connector registry, scoped per agent and logged.
46 toolsView
Connect MotherDuck MCP instantly
Pick the tools, point your agent at TrustGate, and MotherDuck MCP is live: scoped, inspected, logged.