DuckDB MCP server
Lets your AI assistant open, convert, combine and analyse big CSV, Excel, Parquet and JSON files — millions of rows in seconds, on your own computer. It runs the official DuckDB 2.0.0 locally — no API key, no cloud, files never uploaded. Part of GUI Hub Data; unofficial, not affiliated with the DuckDB project.
Install (one line)
npx -y https://guihub.cc/mcp.tgz --product=data
Claude Code: claude mcp add gui-hub-data -- npx -y https://guihub.cc/mcp.tgz --product=data · Claude Desktop: one-file extension (double-click). Other clients (Cursor, VS Code, Windsurf) — add to the MCP config:
{
"mcpServers": {
"gui-hub-data": {
"command": "npx",
"args": [
"-y",
"https://guihub.cc/mcp.tgz",
"--product=data"
]
}
}
}
The DuckDB binary is downloaded once (the official release, checked by SHA-256) and cached; after that it works offline. Needs Node.js 18+ for npx.
Tools your assistant gets
| MCP tool | What it does | Inputs (* required) |
|---|---|---|
| duckdb_summarize | Inspect a local data file (CSV/TSV, Excel .xlsx, Parquet, JSON) without loading it into the chat: returns the first rows and per-column statistics (type, nulls, min, max, distinct count) as Markdown tables. Use this before writing a query. | input*, rows |
| duckdb_convert | Convert a local data file between CSV, Excel (.xlsx), Parquet and JSON. Writes a new file; the original is not changed. | input*, format, out* |
| duckdb_combine | Combine several local CSV files into one file (rows stacked, columns matched by name; missing columns become empty). Output format CSV, Excel, Parquet or JSON. | inputs*, format, out* |
| duckdb_dedupe | Write a copy of a local data file with exact duplicate rows removed (CSV, Excel, Parquet or JSON in; chosen format out). | input*, format, out* |
| duckdb_query | Run DuckDB SQL over local data files and get the answer as a Markdown table. Read files by quoted path: SELECT * FROM '/abs/path/file.csv' (also .xlsx, .parquet, .json; globs like '/dir/*.csv'). Use for totals, filters, group-bys, joins across files on data too big to paste into chat. Results are capped by the row limit; to save results use COPY (query) TO '/abs/out.xlsx' (FORMAT xlsx, HEADER true). | sql*, maxRows |
Things to ask
- “Convert orders.csv to an Excel file.”
- “Combine all the CSVs in ~/Exports into one Excel file.”
- “Remove duplicate rows from contacts.csv.”
- “Which region sold the most in sales-2025.xlsx?”
No MCP client? Agents with their own computer
Codex, Manus, OpenClaw and similar agents can call the same tools from a shell:
npx -y https://guihub.cc/cli.tgz run duckdb_summarize --input /path/to/input.csv
Cost
Each tool works 3 times free. Then $9 once unlocks every GUI Hub tool — MCP, desktop apps and browser tools — on up to 3 computers. No subscription; 30-day refunds.
Prefer clicking? The same jobs are in the DuckDB GUI desktop app. Or write the command yourself with the free DuckDB command generator.
DuckDB is MIT-licensed open source by its authors (source). GUI Hub is independent and does not modify it.