MotherDuck

Server MCP di MotherDuck

Query, explore and manage MotherDuck cloud databases with DuckDB SQL from your AI assistant.

Accesso con OAuth (La prima volta che ti colleghi accedi con il tuo account del fornitore)Streamable HTTP

Collegati a MotherDuck

MotherDuck richiede l’accesso. Collegati con il suo URL:

https://api.motherduck.com/mcp

Il tuo client apre la pagina di accesso di MotherDuck la prima volta che lo usi. Il token resta tra il tuo client e MotherDuck.

Condividi questo server

Apre questa pagina, con l’URL e i passaggi di configurazione.

mcp.tc/i/motherduck

Descrizione

Connects an assistant to MotherDuck, the cloud service built on DuckDB. It can run SQL queries, list databases, tables and views, and inspect column definitions so answers come from your real data.

The hosted endpoint at https://api.motherduck.com/mcp uses streamable HTTP and OAuth sign-in with a MotherDuck account. A local alternative, the mcp-server-motherduck package, runs with uvx and can also open in-memory DuckDB, local DuckDB files and S3-hosted databases. It is read-only by default, and a MotherDuck token is needed to reach MotherDuck from it.

Cosa puoi fare

  • Run SQL queries against MotherDuck and DuckDB databases
  • List available databases
  • List tables and views in a database
  • Inspect columns of a table or view
  • Switch between database connections in the local server when enabled

Tool 5

  • execute_query

    Run a SQL query; unqualified table names resolve automatically.

  • list_databases

    List all databases, useful with multiple attached DuckDB databases or MotherDuck.

  • list_tables

    List all tables and views, defaulting to the current database.

  • list_columns

    List all columns of a table or view in the current database or schema.

  • switch_database_connection

    Switch to a different database connection; needs the --allow-switch-databases flag.

Dal manifest del pacchetto, non da una connessione attiva (3 ott 2026).

Prompt di esempio

  • List the databases in my MotherDuck account.

  • Show the columns of the orders table and summarize its structure.

  • Run a SQL query for monthly revenue by region from my sales database.

  • Which tables in my analytics database contain a user_id column?

Configurazione

Ogni client si collega a api.motherduck.com, e la prima volta MotherDuck ti chiede di accedere. Scegli il tuo; la pagina ricorda la tua scelta.

Claude Code

  1. Eseguilo in un terminale, nella cartella del tuo progetto:
claude mcp add --transport http motherduck https://api.motherduck.com/mcp
  1. Avvia Claude Code, digita /mcp, scegli motherduck e seleziona Authenticate. Si apre una finestra del browser per accedere a MotherDuck.

Aggiungi --scope user per renderlo disponibile in tutti i progetti, non solo in questo.

Claude Desktop

  1. Apri Settings → Connectors e fai clic su Add custom connector.
  2. Chiamalo MotherDuck e incolla questo URL:
https://api.motherduck.com/mcp
  1. Fai clic su Add, poi su Connect, e accedi quando te lo chiede MotherDuck.

Il file di configurazione JSON di Claude Desktop avvia solo server locali. I server remoti passano dai Connectors, e i connettori che aggiungi su claude.ai compaiono anche qui.

claude.ai

  1. Apri il modulo dei connettori su claude.ai. Questo pulsante compila nome e URL per te:
  1. Controlla che l’URL sia https://api.motherduck.com/mcp e fai clic su Add.
  2. Fai clic su Connect e accedi quando te lo chiede MotherDuck.

I piani gratuiti consentono un connettore personalizzato. Nei piani Team ed Enterprise lo aggiunge un owner in Organization settings → Connectors.

ChatGPT

  1. Su chatgpt.com apri Settings → Security and login e attiva Developer mode.
  2. Vai su chatgpt.com/plugins e fai clic su + per creare un’app per un server MCP remoto.
  3. Incolla https://api.motherduck.com/mcp come URL del server e scegli OAuth. ChatGPT ti manda su MotherDuck per accedere.

La modalità sviluppatore è disponibile sul web per gli account Plus, Pro, Business, Enterprise ed Education.

Cursor

Oppure aggiungilo a mano in ~/.cursor/mcp.json (tutti i progetti) o in .cursor/mcp.json (questo progetto):

mcp.json
{
  "mcpServers": {
    "motherduck": {
      "url": "https://api.motherduck.com/mcp"
    }
  }
}

Cursor mostra Needs login accanto al server. Fai clic per accedere.

VS Code

Oppure da un terminale:

code --add-mcp '{"name":"motherduck","type":"http","url":"https://api.motherduck.com/mcp"}'

Oppure fai commit nel repository in .vscode/mcp.json:

.vscode/mcp.json
{
  "servers": {
    "motherduck": {
      "type": "http",
      "url": "https://api.motherduck.com/mcp"
    }
  }
}

VS Code ti chiede di accedere la prima volta che il server si avvia.

Devin Desktop

  1. Aggiungilo a ~/.config/devin/mcp_config.json (macOS e Linux) o a %APPDATA%\devin\mcp_config.json (Windows):
mcp_config.json
{
  "mcpServers": {
    "motherduck": {
      "serverUrl": "https://api.motherduck.com/mcp"
    }
  }
}
  1. Aggiorna l’elenco dei server MCP in Cascade e accedi quando richiesto.

Devin Desktop è il nuovo nome di Windsurf. Per i server remoti legge serverUrl (o url).

Codex

codex mcp add motherduck --url https://api.motherduck.com/mcp
codex mcp login motherduck

Oppure modifica direttamente ~/.codex/config.toml:

config.toml
[mcp_servers.motherduck]
url = "https://api.motherduck.com/mcp"

Gemini CLI

gemini mcp add --transport http motherduck https://api.motherduck.com/mcp

Poi, dentro Gemini CLI, esegui /mcp auth motherduck per accedere.

Così lo aggiungi al progetto corrente. Aggiungi -s user per usarlo ovunque.

Qualsiasi client

La maggior parte dei client accetta questa forma. Alcuni chiamano diversamente il campo dell’URL: serverUrl in Devin Desktop, httpUrl nel file di impostazioni di Gemini CLI.

{
  "mcpServers": {
    "motherduck": {
      "type": "http",
      "url": "https://api.motherduck.com/mcp"
    }
  }
}

Zed mette i server sotto context_servers nelle sue impostazioni. Cline ha bisogno di "type": "streamableHttp", altrimenti presume SSE.

Il tuo client avvia solo server locali? Collegalo con npx -y mcp-remote https://api.motherduck.com/mcp.

Domande frequenti

Posso incollare mcp.tc/i/motherduck nel mio client MCP?

No. I link di mcp.tc sono pagine, non indirizzi di server. Collegati con https://api.motherduck.com/mcp, così il tuo client parla direttamente con MotherDuck. Il token di accesso funziona comunque solo lì. Il link rapido serve per condividere: apre questa pagina, con i passaggi di configurazione per ogni client.

MotherDuck richiede una chiave API o un accesso?

Sì, ti serve un account MotherDuck. La prima volta che il tuo client si collega, apre la pagina di accesso di MotherDuck. Il token va direttamente all’URL del server stesso, mai attraverso mcp.tc.

MotherDuck è un server remoto o locale?

Remoto. Lo ospita MotherDuck a https://api.motherduck.com/mcp, e usa Streamable HTTP. Non c’è nulla da installare.

Cosa può fare MotherDuck?

Ha 5 tool, tra cui execute_query, list_databases e list_tables. Puoi run SQL queries against MotherDuck and DuckDB databases, list available databases e list tables and views in a database.

Quali client possono usarlo?

Qualsiasi client che supporta i server MCP remoti: Claude Code, Claude Desktop, claude.ai, ChatGPT in modalità sviluppatore, Cursor, VS Code, Devin Desktop, Codex, Gemini CLI, Zed e altri. I passaggi di configurazione li coprono tutti.

Chi ha scritto questa pagina?

Il robot di mcp.tc ha letto i metadati di MotherDuck (il suo handshake MCP, l’elenco dei tool e le pagine pubbliche), e un modello di AI ne ha ricavato il testo. Una persona esamina tutto ciò che i controlli non riescono a confermare. Il testo può comunque contenere errori, quindi se ne trovi uno usa Segnala questa scheda su questa pagina.

Embed

Mostra MotherDuck in un README o sul tuo sito. Ogni embed rimanda a questa pagina, usa l’URL del server stesso e non imposta cookie. Come funzionano gli embed

Badge per il README

Anteprima del badge, chiaroAnteprima del badge, scuro
Markdown
[![MotherDuck on mcp.tc](https://mcp.tc/i/motherduck/badge.svg)](https://mcp.tc/i/motherduck)
HTML
<a href="https://mcp.tc/i/motherduck"><img src="https://mcp.tc/i/motherduck/badge.svg" alt="MotherDuck on mcp.tc" height="20"></a>

Segue la modalità chiara o scura di chi legge. Aggiungi ?theme=light o ?theme=dark per fissarla, oppure ?style=compact per mostrare il simbolo senza la scritta.

Scheda per il sito

HTML
<script src="https://mcp.tc/w/motherduck.js" async></script>

La scheda compare dove si trova il tag. Aggiungi data-theme="dark" o data-size="compact" al tag per cambiarla. Il file contiene tutto ciò che serve, quindi non fa altre richieste e non imposta cookie.

iframe

HTML
<iframe src="https://mcp.tc/embed/motherduck" title="MotherDuck on mcp.tc" width="420" height="200" loading="lazy" allow="clipboard-write" style="border:0;border-radius:8px;max-width:100%"></iframe>

Usalo nelle pagine che non consentono script. Aggiungi ?theme=light o ?theme=dark all’indirizzo per fissare i colori.

JSON

La scheda come dati per le tue pagine e i tuoi strumenti: nome, descrizione breve, URL del server, tool e i link «Aggiungi a». Qualsiasi sito può leggerla (CORS aperto).

https://mcp.tc/i/motherduck.json

Cosa significa ogni campo

mcp.tc non è affiliato a MotherDuck. Questa pagina è stata costruita dai metadati pubblici di MotherDuck (ultimo controllo: 3 ott 2026), e la descrizione l’ha scritta un modello di AI, quindi può contenere errori. Nomi e marchi appartengono ai rispettivi titolari. Qualcosa non va? Segnala questa scheda.