
DuckDB
CLI进程内分析型 SQL 数据库,命令行可直接用 SQL 查询 CSV、Parquet、JSON 文件,无需导入或启动服务,适合 agent 抽样与聚合大文件。官方维护。
DuckDB
DuckDB is a high-performance analytical database system. It is designed to be fast, reliable, portable, and easy to use. DuckDB provides a rich SQL dialect with support far beyond basic SQL. DuckDB supports arbitrary and nested correlated subqueries, window functions, collations, complex types (arrays, structs, maps), and several extensions designed to make SQL easier to use.
DuckDB is available as a standalone CLI application and has clients for Python, R, Java, Wasm, etc., with deep integrations with packages such as pandas and dplyr.
For more information on using DuckDB, please refer to the DuckDB documentation.
Installation
If you want to install DuckDB, please see our installation page for instructions.
Data Import
For CSV files and Parquet files, data import is as simple as referencing the file in the FROM clause:
SELECT * FROM 'myfile.csv';
SELECT * FROM 'myfile.parquet';
Refer to our Data Import section for more information.
SQL Reference
The documentation contains a SQL introduction and reference.
Development
For development, DuckDB requires CMake, Python 3 and a C++17 compliant compiler. In the root directory, run make to compile the sources. For development, use make debug to build a non-optimized debug version. You should run make unit and make allunit to verify that your version works properly after making changes. To test performance, you can run BUILD_BENCHMARK=1 BUILD_TPCH=1 make and then perform several standard benchmarks from the root directory by executing ./build/release/benchmark/benchmark_runner. The details of benchmarks are in our Benchmark Guide.
Please also refer to our Build Guide and Contribution Guide.
Support
See the Support Options page and the dedicated endoflife.date page.
相關資源

DuckDB Skills
SkillDuckDB 官方技能合集:用 SQL 或自然语言查询本地与 S3 上的 CSV、Parquet、Excel、JSON 文件,挂载数据库、转换格式、分析空间数据、检索文档。需要 DuckDB 命令行,仅在 macOS 与 Linux 上测试过。
duckdb/duckdb-skills609
Datasette
CLI把 SQLite 数据库发布成可以浏览、可以查询的网页和 JSON API,支持 SQL 查询、元数据和插件扩展,也能用 datasette publish 部署到 Cloud Run 等平台。适合数据探索和数据新闻,需要 Python 3.10 及以上版本。
simonw/datasette11.5k
sqlite-utils
CLISimon Willison 出品的命令行工具与 Python 库:把 JSON、CSV 直接导入 SQLite 并自动建表,对文件跑内存 SQL 查询,还支持全文检索与表结构变换。
simonw/sqlite-utils2.2k
SQL Queries
SkillAnthropic 官方数据技能,指导 agent 在 Snowflake、BigQuery、Databricks、PostgreSQL 等主流数仓方言下编写、翻译和优化 SQL,涵盖 CTE、窗口函数与聚合分析查询。
anthropics/knowledge-work-plugins29.9k
BigQuery Basics
Skill用 bq 与 gcloud 命令行管理 BigQuery 的数据集、表与作业,运行 SQL 查询并导入数据,附客户端库、MCP 与 Terraform 参考。Google 官方技能,需要 Google Cloud 项目。
google/skills21.4k
ClickHouse MCP Server
MCP对 ClickHouse 执行 SQL 查询、浏览库表结构,默认只读;也可启用内嵌的 chDB 直接查询文件与 URL 中的数据。ClickHouse 官方维护。
ClickHouse/mcp-clickhouse888