~/CLIRank
APIVerified~80ms avg

Cloudflare API

Workers, KV, R2, D1, DNS, and CDN management via REST.

Install
npm install cloudflare
MCP Alternative

There is an MCP server that covers similar functionality: Cloudflare MCP Server

Use the API when:

You need fine-grained control, custom error handling, or want to chain multiple API calls in a script.

Use the MCP when:

You want plug-and-play integration with Claude Code and don't need custom logic around the calls.

About

Cloudflare's SDK and CLI (Wrangler) provide full access to the Cloudflare platform. Deploy Workers, manage KV namespaces, interact with R2 storage, query D1 databases, configure DNS, and manage CDN settings. 95K weekly downloads for the SDK. Wrangler CLI is essential for local development and deployment of Cloudflare Workers.

Tags

cloudflareworkersedgecdndnsserverless

Score Breakdown

CLI Score Breakdown10/11
Official SDK on npm/pip+2
Env var authentication (no browser OAuth)+2
Works in headless/CI environments+2
CLI tool available+1
JSON response for piping/parsing+1
Docs have curl/CLI examples+1
Reasonable rate limits for scripted use+1
Machine-readable pricing (md/JSON/static)0
Quality Score Breakdown
npm weekly downloads95k
GitHub stars500
Days since last release7d
Issue close ratio82%
TypeScript typesYes
Docs qualityexcellent
Breaking changesoccasional

Performance

Latencyeu-west-1 - 2026-03-28
p50
60ms
avg
80ms
p95
200ms

Scores

CLI
10
Quality
9
Weekly installs95,000
Last updated3/24/2026

Related

MCP ServerVerified~130ms - Moderate
6.0k/wk

Cloudflare MCP Server

Manage Cloudflare Workers, KV, R2, and D1 from Claude Code.

CLI
8
Quality
8
claude mcp add cloudflare -- npx -y @cloudflare/mcp-server-cloudflare
APIVerified~45ms - Fast
65k/wk

PlanetScale API

Serverless MySQL with branching, deploy requests, and schema management.

CLI
9
Quality
8
npm install @planetscale/database
APIVerified~110ms - Moderate
85k/wk

Vercel API

Deployments, projects, domains, and serverless functions via REST.

CLI
8
Quality
9
npm install -g vercel