Duckdb
DuckDB enables fast in-process SQL querying of data files like CSV and Parquet – ideal for quick data exploration & analysis without a database server.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add duckdb npx -- -y @trustedskills/duckdb
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"duckdb": {
"command": "npx",
"args": [
"-y",
"@trustedskills/duckdb"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
The DuckDB skill enables AI agents to execute SQL queries directly against local data files, allowing for instant analysis of CSVs, JSON, Parquet, and other formats without requiring a separate database server. It acts as an in-process analytical database that handles complex joins, aggregations, and time-series calculations efficiently within the agent's execution environment.
When to use it
- Analyzing large datasets locally where setting up a persistent database cluster is impractical or too slow.
- Performing ad-hoc exploratory data analysis on CSV or JSON files uploaded during a session.
- Generating dynamic reports by joining multiple local data sources in real-time.
- Validating data quality and performing aggregations before feeding results into downstream AI workflows.
Key capabilities
- Reads diverse file formats including CSV, JSON, Parquet, SQLite, and Avro directly from the filesystem.
- Executes full SQL dialects supporting complex joins, window functions, and recursive queries.
- Operates as a zero-configuration, in-process engine requiring no external server installation.
- Handles both single-threaded and parallel execution modes for varying data sizes.
Example prompts
- "Load the sales_2023.csv file from my project directory and calculate the total revenue by region."
- "Join the customers.json and orders.parquet files to find the top 5 customers by purchase frequency."
- "Analyze the time-series data in events.log to identify any spikes in error rates over the last week."
Tips & gotchas
Ensure the AI agent has read permissions for the local file paths you specify, as DuckDB operates strictly on the local filesystem. While highly efficient for analytical workloads, avoid using this skill for high-concurrency transactional systems designed for persistent storage.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.