mcp-server-duckdb

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
db-pathYesPath to the DuckDB database file. The server will automatically create the database file and parent directories if they don't exist.

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
read-query

Execute a SELECT query on the DuckDB database

list-tables

List all tables in the DuckDB database

describe-table

Get the schema information for a specific table

write-query

Execute an INSERT, UPDATE, or DELETE query on the DuckDB database

create-table

Create a new table in the DuckDB database