Enterprise DNA
M MCP Servers Developer low

ktanaka101/mcp-server-duckdb

by Various

A Model Context Protocol (MCP) server implementation for DuckDB, providing database interaction capabilities

K

MCP

ktanaka101/mcp-server-duckdb

Added 1 June 2026

#duckdb #mcp #mcp-server

Overview

This is a Model Context Protocol server that enables LLM agents to interact with DuckDB databases. It exposes DuckDB's SQL capabilities through the MCP standard. Written in Python, it allows reading and querying data stored in DuckDB files or in-memory.

Best for

Best for
Developers building AI agents that need lightweight SQL querying on local or analytical datasets.

Use cases

  • Run SQL queries on local or remote DuckDB files
  • Integrate DuckDB analytics into LLM agent workflows
  • Perform ad-hoc data analysis via natural language requests through MCP

How to use

Install

npx -y @smithery/cli install mcp-server-duckdb --client claude

Tools exposed

  • query

Tested with

Claude Desktop

Example client config

{\n  "mcpServers": {\n    "duckdb": {\n      "command": "uvx",\n      "args": [\n        "mcp-server-duckdb",\n        "--db-path",\n        "~/mcp-server-duckdb/data/data.db"\n      ]\n    }\n  }\n}

Notes

This is a Model Context Protocol server that enables LLM agents to interact with DuckDB databases. It exposes DuckDB’s SQL capabilities through the MCP standard. Written in Python, it allows reading and querying data stored in DuckDB files or in-memory.

176 stars on GitHub. Last updated 2025-05-05. Licensed MIT.

Use cases

  • Run SQL queries on local or remote DuckDB files
  • Integrate DuckDB analytics into LLM agent workflows
  • Perform ad-hoc data analysis via natural language requests through MCP

Pros

  • Leverages DuckDB’s fast, efficient query execution for analytical workloads
  • Simple setup using standard MCP client libraries
  • Supports both file-based and in-memory databases

Cons

  • Limited to DuckDB; cannot query other database systems directly
  • Requires Python runtime and MCP client setup
  • Not optimized for high-concurrency production environments

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Leverages DuckDB's fast, efficient query execution for analytical workloads
  • Simple setup using standard MCP client libraries
  • Supports both file-based and in-memory databases

Cons

  • Limited to DuckDB; cannot query other database systems directly
  • Requires Python runtime and MCP client setup
  • Not optimized for high-concurrency production environments
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks