MCP server
DuckDB MCP Server
A single-tool DuckDB server for local analytical queries.
Add it to your client
CommunityInstall
uvx mcp-server-duckdb --db-path ~/data.duckdb
mcpServers
{
"mcpServers": {
"duckdb-mcp": {
"command": "uvx",
"args": [
"mcp-server-duckdb",
"--db-path",
"~/data.duckdb"
]
}
}
}- Transport
- stdio
- Runtime
- Python
- Auth
- Not required
- Tools
- 1
- License
- MIT
Tools
query
Opens the DuckDB file given on the command line and exposes one tool that accepts any DuckDB SQL statement. The maintainer's reasoning is that a capable model writes its own SELECT, CREATE TABLE or JOIN, so splitting the surface into separate endpoints adds little. A read-only flag hands the guarantee to DuckDB itself rather than to prompt wording, and the file is created automatically when it does not exist.
Similar MCP servers
MongoDB MCP Server
MCP serverQuery MongoDB collections and manage Atlas clusters from an agent session.
Developer ToolsDatabases
ClickHouse MCP Server
MCP serverRun read-only SQL against ClickHouse and browse its databases and tables.
Data & AnalyticsDatabases
MotherDuck / DuckDB MCP Server
MCP serverRun DuckDB SQL locally or against MotherDuck, over files, S3 or a cloud warehouse.
Data & AnalyticsDatabases
Comments(0)
Sign in to comment