
Description
The DuckDB and MotherDuck local MCP server connects AI assistants and IDEs to DuckDB data. It lets an assistant run SQL read and write queries, browse database catalogs, and switch between database connections while it runs. It can connect to a local DuckDB file, an in-memory database, DuckDB files hosted on S3, or MotherDuck. The README contrasts it with MotherDuck's hosted remote MCP server. The local version runs on your own machine or on hardware you host, and it can query local and remote databases together and move data to and from the local filesystem. A read-only connection to a local DuckDB file does not hold the file lock, so it can run alongside a write connection to the same file. The quick start uses the uv tool, which installs with pip or Homebrew. The README also covers command-line options, environment variables for S3 authentication, and a section on securing the server for production.…
Highlights
- SQL read and write queries from AI assistants
- Connects to local DuckDB, in-memory, S3 and MotherDuck
- Browse catalogs and switch connections at runtime
- Read-only mode for local DuckDB files
- Setup with the uv tool
Ratings & Reviews
No ratings yet
Be the first to rate MotherDuck.
People also visit

ktanaka101/mcp-server-duckdb
DuckDB database integration with schema inspection and query capabilities
MotherDuck FAQ
What is this MCP server?
A local server that lets AI assistants and IDEs run SQL against DuckDB and MotherDuck data.
How is it different from the remote MCP server?
The remote version is hosted by MotherDuck with zero setup. This local version runs on your own machine or self-hosted hardware.
Can it write data?
Yes. The README says it supports read and write queries, and read-write mode is available for in-memory and MotherDuck connections.
What do I need to start?
Install the uv tool with pip or Homebrew, then run the quick start command for the connection you want.
What are the best MotherDuck alternatives?
Popular alternatives to MotherDuck include ktanaka101/mcp-server-duckdb, query and duckdb-docs. See all MotherDuck alternatives
















