Skip to main content
Glama
poovenp

DuckDB MCP Server

by poovenp

DuckDB MCP Server v1.1

MCP server for DuckDB — built for the ARC Pricing Engine. Exposes 6 tools via Streamable-HTTP transport for use with Fuelix copilots and Prisms.

Setup

Step 1 — Install dependencies

pip install -r requirements.txt

Step 2 — Configure environment

cp .env.example .env

Edit .env — replace ALL <<<REPLACE_WITH_...>>> placeholders:

DUCKDB_PATH=<<<REPLACE_WITH_YOUR_DUCKDB_PATH>>>
MCP_BEARER_TOKEN=<<<REPLACE_WITH_YOUR_BEARER_TOKEN>>>

Generate a bearer token:

python -c "import secrets; print(secrets.token_urlsafe(32))"

Step 3 — Run the server

uvicorn main:app --host 0.0.0.0 --port 8001 --reload

Step 4 — Health check

curl http://localhost:8001/health

Step 5 — Test a tool

curl http://localhost:8001/mcp/call \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <<<REPLACE_WITH_YOUR_BEARER_TOKEN>>>" \
  -d '{"tool": "list_tables", "parameters": {}}'

Step 6 — Test with MCP Inspector

npx @modelcontextprotocol/inspector --server-url http://localhost:8001/mcp --transport http

Related MCP server: FastAPI Database MCP Server

Tools

Tool

Description

query

Run any read-only SQL query

list_tables

List all tables in the DB

describe_table

Get schema for a table

get_suppliers

Return all suppliers

get_price_types

Return all price types / price factors

get_table_data

Paginated row fetch

Changelog

  • v1.1 — Fixed get_suppliers + get_price_types table names. Added <<>> placeholders.

  • v1.0 — Initial build. Read-only, 6 tools, Bearer token auth.

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    C
    maintenance
    Enables SQL querying over CSV and Excel files using DuckDB, providing tools to load files, inspect schemas, and run read-only queries via MCP.
    Last updated
    5
    MIT

View all related MCP servers

Related MCP Connectors

  • Read-only MCP access to sessions, funnels, campaigns, errors, live visitors, and anomalies.

  • Read-only MCP server for wafergraph.com's semiconductor & AI supply-chain data: 30 tools, no auth.

  • Read-only MCP server for ClassQuill, a tutoring-business-management platform.

View all MCP Connectors

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/poovenp/duckdb-mcp'

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