cloudflare-hyperdrive

Community

Edge-ready DB connections at scale.

Authorjackspace
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Cloudflare Hyperdrive connects Cloudflare Workers to PostgreSQL and MySQL databases with global connection pooling and edge-enabled query caching, dramatically reducing latency and scaling database access for serverless workloads.

Core Features & Use Cases

  • Global connection pooling to reduce handshake overhead
  • Automatic query caching at the edge for read-mostly workloads
  • PostgreSQL and MySQL support with driver integrations (pg, postgres.js, mysql2)
  • Local development workflow with Wrangler and full edge-ready deployments
  • TLS/SSL configuration and private database access via Cloudflare Tunnel

Quick Start

  1. Create Hyperdrive config with wrangler hyperdrive create <name> --connection-string="<db-conn>"
  2. Bind HYPERDRIVE in wrangler.jsonc and deploy
  3. Use env.HYPERDRIVE.connectionString to query your database from a Worker

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cloudflare-hyperdrive
Download link: https://github.com/jackspace/ClaudeSkillz/archive/main.zip#cloudflare-hyperdrive

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository