duckcoop
Provides a sandboxed, read-only SQL interface (via DuckDB) to query CSV, Parquet, and JSON files under a specified directory.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
duckcoop
MCP server that lets an LLM client run sandboxed, read-only SQL (via DuckDB) against CSV/Parquet/JSON files under a directory you choose. Like a duck, it only gets to paddle around the pen you build for it.
Usage
npm run build
node dist/cli.js /path/to/sandbox-rootOptional flags: --scratch-dir <path> (defaults to a temp directory), --max-temp-size <size> (defaults to 4GB).
Exposes two tools: query (SELECT / CREATE TEMP VIEW / CREATE TEMP TABLE only) and list_files (data files under the sandbox root). See docs/adr/ for the security model.
Related MCP server: sql-explorer-mcp
Registering with an MCP client
Claude Code
claude mcp add duckcoop node /absolute/path/to/duckcoop/dist/cli.js /absolute/path/to/sandbox-rootClaude Desktop
Add an entry to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"duckcoop": {
"command": "node",
"args": [
"/absolute/path/to/duckcoop/dist/cli.js",
"/absolute/path/to/sandbox-root"
]
}
}
}Restart Claude Desktop for the change to take effect.
Querying files you drag-and-drop into a chat: Claude Desktop doesn't save chat attachments to a path duckcoop can see. Files dropped in a Local Agent Mode session instead land under ~/Library/Application Support/Claude/local-agent-mode-sessions/<account-id>/<session-id>/local_<id>/outputs/. Point the sandbox root at the stable parent directory, ~/Library/Application Support/Claude/local-agent-mode-sessions, so newly created session folders are covered without editing the config again:
{
"mcpServers": {
"duckcoop": {
"command": "node",
"args": [
"/absolute/path/to/duckcoop/dist/cli.js",
"/Users/<you>/Library/Application Support/Claude/local-agent-mode-sessions"
]
}
}
}This server cannot be deployed
Maintenance
Related MCP Connectors
Query, join, profile, clean and convert CSV/JSON/Parquet with server-side DuckDB over MCP.
An MCP server for search and retrieval over a local LanceDB database
Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema
Read-only MCP server for The Quiet Protocol's engines, benchmarks, proof, and business data.
Related MCP Servers
- AlicenseAqualityAmaintenanceAn MCP server for MotherDuck and local DuckDB.5536MIT
- AlicenseNot gradedqualityFmaintenanceRead-only MCP server for SQL databases (SQL Server, Postgres, SQLite) with multi-server support and three-layer safety using AST validation and linting.MIT
- FlicenseNot gradedqualityDmaintenanceCustom MCP server connected to a read-only SQLite database, exposing a schema resource and a query tool for safe data retrieval.-
- AlicenseNot gradedqualityDmaintenanceMCP server that exposes SQLite datasets as queryable tools and resources via Streamable HTTP, enabling read-only exploration and SQL queries.Apache 2.0