# Cloudflare Radar [Health: Active]

**Category:** ☁️ Cloud Platforms  
**Repository:** https://github.com/pipeworx-io/mcp-cloudflare-radar  
**GitHub Stars:** 0  
**npm Downloads (last month):** 603  
**Views:** 9  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/cloudflare-radar

## Description
Cloudflare Radar MCP — internet observatory (traffic, attacks, BGP, quality)

## Tools
Capabilities this server exposes over MCP:

- **internet_quality** — Internet Quality Index (IQI) summary — bandwidth, latency, jitter, packet loss — current value + change vs prior period. Optionally filtered to a 2-letter location code.
- **attack_summary** — Layer-7 DDoS attack mix over a time window. Returns the percentage breakdown of attacks by mitigation product or attack vector. Filter by location to scope to a region/country.
- **top_locations** — Top locations by a metric. metric=http_requests returns countries by share of HTTP traffic; metric=dns_queries by DNS; metric=attacks by attack origin. Returns ranked list with share percentages.
- **bgp_leaks** — Recent BGP route-leak events detected by Cloudflare. Returns leaker AS, victim AS, originated prefixes, start/end times.
- **radar_domain_rank** — Is this domain widely visited, or nowhere? Returns a single domain's Cloudflare Radar popularity: an exact `rank` for domains inside the global top 100, otherwise only a `bucket` (e.g. "200" = top 200, "100000" = top 100k) — `rank` is null for everything outside the top 100, so do not build logic on it populating. Below Radar's tracked ceiling (bucket ">200000") there is NO signal at all: Radar does not verify domain existence, so a real-but-obscure site and a domain that has never existed come back identically. Read `ranked` and `interpretation`, not just `bucket`, to tell those apart.
- **radar_top_domains** — The most-visited domains on the internet, globally or filtered to one country. Use to see what dominates traffic, or as the reference list to compare a rank against.
- **radar_ai_bots** — Cloudflare Radar AI bots: which AI crawlers (GPTBot, ClaudeBot, PerplexityBot, Bytespider, Amazonbot, ...) generate how much of AI-bot traffic. Returns percentage shares by user agent, by crawl purpose (training, search, user action) or by industry of the crawled sites, over a date range, globally or for one country. Pass user_agent to get a single crawler's share; an unknown user agent returns found:false.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "cloudflare-radar": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-cloudflare-radar"],
    "env": {
      "PLATFORM_CLOUDFLARE_RADAR_KEY": "",
      "CLOUDFLARE_API_TOKEN": ""
    }
  }
}
```

**Requires environment variables:** `PLATFORM_CLOUDFLARE_RADAR_KEY`, `CLOUDFLARE_API_TOKEN` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Cloudflare Radar does

Cloudflare Radar provides access to internet observatory data through the Model Context Protocol. Its tools cover several distinct areas: Internet Quality Index measurements, Layer 7 DDoS attack composition, country-level traffic and attack shares, BGP route leaks, domain popularity, ranked domain lists, and AI crawler traffic.

The data is sourced from Cloudflare's Radar API at `https://api.cloudflare.com/client/v4/radar/`. Results can be scoped by location, date or time range, metric, dimension, domain, user agent, and result limit depending on the tool. Location filters use two-letter location codes where applicable.

## How it works

The package supports two connection styles. A remote MCP endpoint is available at `https://gateway.pipeworx.io/cloudflare-radar/mcp`, where an MCP client can discover and call the Radar tools over HTTP. The gateway endpoint also lists shared Pipeworx tools such as `ask_pipeworx`, `discover_tools`, `search_within`, and memory functions. The exact tool scope is reported by the connection's `initialize` response.

For a local connection, run `@pipeworx/mcp-cloudflare-radar` with `npx`. The local process communicates over standard input and output and exposes only the Cloudflare Radar pack's tools. The same gateway can also be reached at `https://gateway.pipeworx.io/mcp` to work with the wider Pipeworx catalog. Without an MCP client, individual tools can be called through the gateway's HTTP API.

## Setup and configuration

A remote MCP client can use this configuration:

```json
{
  "mcpServers": {
    "cloudflare-radar": {
      "url": "https://gateway.pipeworx.io/cloudflare-radar/mcp"
    }
  }
}
```

The local stdio configuration is:

```json
{
  "mcpServers": {
    "cloudflare-radar": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-cloudflare-radar"]
    }
  }
}
```

Gateway authentication can use `PLATFORM_CLOUDFLARE_RADAR_KEY` or `CLOUDFLARE_API_TOKEN`. A user-supplied token can also be passed as the `_apiKey` query parameter after creating a Cloudflare API token; Radar does not require a special token scope. The upstream API uses a bearer token.

## Tools and capabilities

- `internet_quality` returns bandwidth, latency, jitter, and packet-loss indicators, including the current IQI value and its change from the prior period.
- `attack_summary` reports the Layer 7 DDoS mix by mitigation product or attack vector, with optional location and time filters.
- `top_locations` ranks countries by HTTP request share, DNS query share, or attack origin share.
- `bgp_leaks` lists detected route leaks with the leaker and victim AS numbers, prefixes, and event times.
- `radar_domain_rank` reports a domain's popularity rank or ranking bucket, category, and top locations.
- `radar_top_domains` returns the most-visited domains globally or for a selected country.
- `radar_ai_bots` measures AI crawler traffic by user agent, crawl purpose, or industry; an unknown user agent returns `found: false`.

## Limitations and notes

`radar_domain_rank` provides an exact rank only for domains in the global top 100. Other results use buckets, and domains below the `>200000` tracked ceiling receive no existence signal. A real but obscure domain and a never-used domain can therefore produce the same result; callers should consider the returned `ranked` and `interpretation` fields rather than relying only on `bucket`.

The gateway pack endpoint includes shared Pipeworx meta-tools in addition to the Radar tools, while the standalone process does not. The gateway also provides `ask_pipeworx` for routing natural-language questions across the wider catalog.

_Full upstream README: https://allmcps.com/mcp/cloudflare-radar/readme_

