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-queryExecute a SELECT query on the DuckDB database
list-tablesList all tables in the DuckDB database
describe-tableGet the schema information for a specific table
write-queryExecute an INSERT, UPDATE, or DELETE query on the DuckDB database
create-tableCreate a new table in the DuckDB database