Skip to content

Files, storage & spreadsheets

DuckDB MCP server for MotherDuck: ask questions of your shared databases

DuckDB is an in-process analytical database that reads Parquet, CSV and its own database files at speed. MotherDuck runs DuckDB as a cloud service, so a team can share databases and query them together.

DuckDB

Available now: Nexatron answers DuckDB questions with user-level access that inherits your existing DuckDB permissions.

Updated

Can Claude, ChatGPT or Copilot access DuckDB data?

Yes. To connect Claude, ChatGPT or Copilot to DuckDB, add Nexatron from Claude’s connector directory, or by its MCP server URL in ChatGPT and Copilot. Then connect it in Nexatron. Users sign in with their own DuckDB account (or your SSO), and Nexatron inherits their existing permissions.

What DuckDB data a question reads

MotherDuck databases and shares
Databases in a MotherDuck organization, and the shares other teams publish to you.
Tables and views
Tables loaded into DuckDB and views your team defines over them.
File-backed tables
Tables created from Parquet or CSV files, such as exports from another system.
information_schema
Column names and types, read at setup so questions use the right fields.

DuckDB questions people ask

  • What were weekly active accounts in the product events database over the last quarter?
  • Which SKUs in the inventory export are below their safety stock?
  • How do monthly costs in the shared billing database compare with budget by team?
  • Which experiments in the analysis database moved conversion by more than one point?
  • What is the median order value by channel in the exported orders data?

Who asks DuckDB questions

Analysts and data teams
Questions on shared MotherDuck databases without every analyst keeping a local copy.
Evaluation teams
A quick way to try governed answers on a sample database before connecting the warehouse.
Product engineers
Ad hoc questions on event exports and test datasets kept in MotherDuck, answered with the SQL so they can rerun it locally in DuckDB.

How Nexatron connects to DuckDB

API and sign-in
MotherDuck, with each user’s own MotherDuck access token.
User-level access
Each question runs with the user’s own token, so MotherDuck decides which databases and shares they can read. A local DuckDB file has no logins, so an administrator can allow one only as a test source, never as a shared answer for real users.
Read-only
Questions only read DuckDB; asking a question never changes DuckDB data.
Setup
An administrator enables DuckDB in Nexatron. Users link their own DuckDB account, or sign in through your SSO, the first time they ask. Queries run in DuckDB, with no warehouse to load.

DuckDB in Claude’s connector directory

Nexatron is listed in Claude’s MCP connector directory, so a Claude user can add it without a custom server URL. Its hosted MCP server answers DuckDB questions for Claude, ChatGPT and Microsoft Copilot with user-level access, and the same governed answer as the Nexatron app. It is Nexatron’s own server, not one published by the vendor.

  1. Connect DuckDB to your Nexatron workspace.
  2. In Claude, add Nexatron from Claude’s connector directory. In ChatGPT or Copilot, add a custom MCP connector with Nexatron’s server URL.
  3. Sign in with your own Nexatron identity (OAuth 2.1), then ask your DuckDB questions.

Server URL for a custom connector: https://api.nexatron.io/api/v1/mcp

DuckDB questions and answers

What is the difference between DuckDB and MotherDuck?
DuckDB is the database engine, running inside a process on one machine. MotherDuck runs DuckDB in the cloud with accounts, sharing and storage, which is what makes user-level access possible.
Can I use a local DuckDB file?
For testing, where an administrator allows it. A file has no user identities, so it is not used to answer people in production.
How do I share a DuckDB database with my team for questions?
Put it in MotherDuck and share it with the people who need it. Users then sign in to MotherDuck with their own token, and questions read only the databases and shares that user has been given.