# DuckDB Node API — card for AI agents

Node.js API for running DuckDB analytics queries.

Category: Databases, ORMs and clients · npm package `@duckdb/node-api` · latest version 2.0.0-r.1 (checked 2026-11-01)
Install: `npm install @duckdb/node-api`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 45.3 (#2519 of all tools, 71 of 120 in its category)
- Used in 2 public projects set up for AI coding agents (0.0%)
- Downloads last week: 4,346,457 (as of 2026-11-24), +79.6% over 4 weeks
- GitHub stars: 200 (as of 2026-11-24)
- Last push: 2026-11-24

## Often used with
Vitest 63.6%, AI SDK 45.5%, TypeScript 100.0%, Zod 63.6%, OpenAI 36.4%, Model Context Protocol SDK (JavaScript) 36.4%

## Checked alternatives (same job)
- pg: https://agentgid.com/tools/pg/agent.md
- better-sqlite3: https://agentgid.com/tools/better-sqlite3/agent.md
- libSQL Client: https://agentgid.com/tools/libsql-client/agent.md
- mysql2: https://agentgid.com/tools/mysql2/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/duckdb-node-api/
- Homepage: https://github.com/duckdb/duckdb-node-neo#readme
- Repository: https://github.com/duckdb/duckdb-node-neo

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
