DuckDB Server

•
179
•

Enables interaction with a DuckDB database via the Model Context Protocol.

The DuckDB Server implements a Model Context Protocol (MCP) server, allowing Language Models (LLMs) to interact with a DuckDB database. It exposes a 'query' tool, which accepts any valid DuckDB SQL statement and returns the results or a success message. This allows for database operations such as querying, table creation, and schema inspection through MCP compatible tools. The server can also be run in read-only mode to prevent unintended data modification by the LLM.

Características Principales

01Executes SQL queries on a DuckDB database
02Offers read-only mode to prevent write operations
0377 GitHub stars
04Provides a unified 'query' tool for all database interactions
05Supports database operations like querying, table creation, and schema inspection
06Integrates with Claude Desktop via MCP configuration

Casos de Uso

01Automating database tasks through LLM-based agents
02Analyzing local datasets with LLMs
03Building data-driven applications powered by LLMs