# PlanetScale Database Driver — card for AI agents

Fetch API-compatible driver for PlanetScale MySQL databases.

Category: Databases, ORMs and clients · npm package `@planetscale/database` · latest version 2.0.0 (checked 2026-11-01)
Install: `npm install @planetscale/database`
License: Apache-2.0 (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.

## Agent Skills for it
- database-lookup from K-Dense-AI/scientific-agent-skills: `npx skills add K-Dense-AI/scientific-agent-skills --skill database-lookup`
- database-security from zhaoxuya520/reverse-skill: `npx skills add zhaoxuya520/reverse-skill --skill database-security`
- database-migration from wshobson/agents: `npx skills add wshobson/agents --skill database-migration`
- database-optimizer from Jeffallan/claude-skills: `npx skills add Jeffallan/claude-skills --skill database-optimizer`
- database-optimizer from zebbern/claude-code-guide: `npx skills add zebbern/claude-code-guide --skill database-optimizer`
- database-optimization from rohitg00/awesome-claude-code-toolkit: `npx skills add rohitg00/awesome-claude-code-toolkit --skill database-optimization`

## Numbers (AgentGid data)
- Gid Score: 41.0 (#3022 of all tools, 91 of 120 in its category)
- Used in 1 public projects set up for AI coding agents (0.0%)
- Downloads last week: 848,510 (as of 2026-11-24), +65.4% over 4 weeks
- GitHub stars: 1,206 (as of 2026-11-24)
- Last push: 2026-10-30

## Often used with
AWS SDK for JavaScript (S3) 100.0%, Vercel Postgres 100.0%, mysql2 100.0%, pg 100.0%, Zod 100.0%, ClickHouse JS client 85.7%

## Checked alternatives (same job)
- pg: https://agentgid.com/tools/pg/agent.md
- mysql2: https://agentgid.com/tools/mysql2/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/planetscale-database/
- Homepage: https://github.com/planetscale/database-js#readme
- Repository: https://github.com/planetscale/database-js

---
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.
