# Cloudflare Docs

Cloudflare Docs searches official Cloudflare documentation and guides code migration to Workers. Useful when writing serverless handlers, setting up D1 databases, or configuring R2 storage.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 1859 installs
- Author: chuhuoyuan
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/chuhuoyuan/cloudflare
- Updated: 2025-08-25
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/cloudflare-docs

## What it does

This server connects AI assistants directly to Cloudflare technical docs. It exposes two specific tools: `search_cloudflare_documentation` for browsing platform products and `migrate_pages_to_workers_guide` for moving existing Pages setups into Workers. The documentation coverage includes Workers, R2, D1, Queues, Hyperdrive, KV, Durable Objects, and AI Gateway.

Integration runs remotely through the HTTP endpoint `https://cloudflare--chuhuoyuan.run.tools`, removing any need for local package builds or background runtime daemons. Outgoing network access is strictly necessary for all queries, because every documentation request hits the remote hosted service.

## Requirements
- Remote server: `https://cloudflare--chuhuoyuan.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http cloudflare https://cloudflare--chuhuoyuan.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add cloudflare-docs --url https://cloudflare--chuhuoyuan.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "cloudflare-docs": {
            "url": "https://cloudflare--chuhuoyuan.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "cloudflare-docs": {
            "type": "http",
            "url": "https://cloudflare--chuhuoyuan.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http cloudflare-docs https://cloudflare--chuhuoyuan.run.tools
```

## When to use it
- Look up syntax and bindings for D1, KV, and Durable Objects
- Verify implementation patterns for Cloudflare Workers functions
- Follow structured guidance when shifting Pages applications to Workers
- Find configuration steps for AI Gateway and Workers AI

## Example prompts
- Find Cloudflare documentation on binding a D1 database to a Worker
- Walk me through migrating this Pages frontend to Cloudflare Workers
- Check how to publish messages to Cloudflare Queues in TypeScript

## Similar
- [hono-cloudflare](https://affpapa.org/en/nevibecode/skills/hono-cloudflare.md) — skill · 647 installs
- [Cloudflare Workers Bindings](https://affpapa.org/en/nevibecode/mcp/cloudflare-workers-bindings.md) — MCP server · 115 installs
- [cloudflare-development](https://affpapa.org/en/nevibecode/skills/cloudflare-development.md) — skill · 737 installs
- [cloudflare-deploy](https://affpapa.org/en/nevibecode/skills/githubcomopenaiskills-cloudflare-deploy.md) — skill · ★ 7191 repo stars
- [cloudflare](https://affpapa.org/en/nevibecode/rules/cloudflare.md) — rule · ★ 3589 repo stars
- [cloudflare-skills](https://affpapa.org/en/nevibecode/plugins/cloudflare-skills.md) — plugin · ★ 1216 repo stars

## Other versions with the same name
- [Cloudflare Docs · ](https://affpapa.org/en/nevibecode/mcp/docker-cloudflare-docs.md)

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
