Skip to main content
Glama
wuqunfei

duckdb-mcp

by wuqunfei

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SCHEMANoDefault schema. Corresponds to the --schema option. Default: 'main'.main
INIT_SQLNoPath to a SQL file executed once on startup. Corresponds to the --init-sql option.
READ_ONLYNoSet to 'true' to open the database read-only, 'false' for read-write. Corresponds to the --read-only flag. Default: 'false'.false
DATABASE_PATHNoPath to the DuckDB database. Use ':memory:' for an in-memory database. Corresponds to the --db/--database option. Default: ':memory:'.:memory:

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
queryB

Execute a SQL SELECT query and return the results.

executeA

Execute a SQL statement (INSERT, UPDATE, DELETE, CREATE, ...) without returning rows.

read_csvC

Read a CSV file into a table.

read_parquetC

Read a Parquet file into a table.

list_catalogsA

List all catalogs.

list_databasesA

List all databases.

list_schemasA

List all schemas.

list_tablesA

List all tables in the current schema.

list_columnsB

List the columns of a table.

list_extensionsA

List loaded extensions.

list_environmentsA

List environment variables as key: value, with values masked (**** / empty).

check_versionA

Check the DuckDB version.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wuqunfei/duckdb-mcp-mini'

If you have feedback or need assistance with the MCP directory API, please join our Discord server