# Cloudflare GraphQL

Cloudflare GraphQL — an MCP server that fetches analytics from Cloudflare via GraphQL API. Useful when you need traffic metrics, request counts, or security events from Cloudflare zones in an agent conversation.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: docker
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/docker/mcp-registry/blob/98a203ca6e58c67031b8aaed037a26a07ec73ce3/servers/cloudflare-graphql/server.yaml
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/cloudflare-graphql

## What it does

The server connects to Cloudflare's GraphQL API and lets the agent query analytics: traffic volume, request counts, response codes, security events. Under the hood is a GraphQL client that sends requests to Cloudflare's endpoint and returns results to the agent.

Requires a Cloudflare API token with analytics read permissions. The server will not start without a token.

Returns raw GraphQL data: the agent can build a report, plot a chart in code, or compare metrics across periods.

## Requirements
- Needs: Docker

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- fetch traffic metrics from a Cloudflare zone
- query request counts and response codes for a period
- retrieve Web Application Firewall events
- compare analytics across two zones
- build a security report from Cloudflare data

## Example prompts
- Show traffic for the last 24 hours for zone `example.com`
- Fetch HTTP response codes for the past week from Cloudflare analytics
- How many requests did WAF block yesterday?

## Similar
- [Cloudflare](https://affpapa.org/en/nevibecode/mcp/cloudflare.md) — MCP server · 199 installs
- [cloudflare-troubleshooting](https://affpapa.org/en/nevibecode/skills/cloudflare-troubleshooting.md) — skill · 1000 installs
- [cloudflare-tunnel](https://affpapa.org/en/nevibecode/skills/cloudflare-tunnel.md) — skill · 912 installs
- [cloudflare-registrar](https://affpapa.org/en/nevibecode/skills/cloudflare-registrar.md) — skill · 108 installs
- [cloudflare-workers](https://affpapa.org/en/nevibecode/skills/membrane-cloudflare-workers.md) — skill · 159 installs

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