mcp-server-duckdb

mcp-server-duckdb

PythonDuckdbMcpDatabaseServerJavascriptGoRubyR

About This Server

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

Server Information

šŸ“‹ Overview:

This webpage provides information about the "mcp-server-duckdb" GitHub repository, which is an implementation of a Model Context Protocol (MCP) server for DuckDB. The server facilitates database interactions using MCP tools and is suitable for local analysis by Language Learning Models (LLMs).


ā­ Key Points:
  • The repository contains an MCP server implementation for DuckDB.

  • The server supports database operations such as querying, table creation, and schema inspection.

  • The server can be configured to run in read-only mode to prevent LLMs from modifying the database.

  • Installation can be done via Smithery.

  • The MCP Inspector is recommended for debugging.


  • šŸ” Main Findings:
  • The "mcp-server-duckdb" project offers a way to interact with DuckDB databases using the Model Context Protocol.

  • It provides tools for data retrieval, modification, and schema management.

  • A read-only mode enhances security by preventing unintended database changes by LLMs.

  • Setting correct configuration and usage for debugging are important elements.


  • šŸ“Š Details:
  • The server has following components and tools:

  • Resources (no custom implementations).

  • Prompts (no custom implementations).

  • Tools:

  • read-query (for SELECT statements).

  • write-query (for INSERT, UPDATE, DELETE statements).

  • create-table (for CREATE TABLE statements).

  • list-tables (lists tables from information_schema).

  • describe-table (retrieves schema information for a specific table).

  • Configuration parameters include a required "db-path" and an optional "--readonly" flag.


šŸŽÆ Conclusion:
The "mcp-server-duckdb" repository offers a functional MCP server implementation for DuckDB, with database interaction capabilities and a security-focused read-only mode. Correct usage and debugging are aided by the MCP Inspector tool.

Server Features

read-query

Execute SELECT queries to read data from the database

write-query

Execute INSERT, UPDATE, or DELETE queries to modify data

create-table

Create new tables in the database

list-tables

List all tables in the database

describe-table

Get schema information for a specific table

Provider Information

Ktanaka101 logo

Ktanaka101

cloud Provider

Visit Provider Website

Quick Actions

Visit Website

MCP Configuration

Available Tools

read-querywrite-querycreate-tablelist-tablesdescribe-table