MCPInstall
Cloudflare DNS Analytics logo

Cloudflare DNS Analytics

Featured
by cloudflare 4,424 stars cloudflare/mcp-server-cloudflare

Integrates tools powered by the Cloudflare DNS Analytics API to provide insights on DNS analytics and optimization.

READMEHEAD

Cloudflare DNS Analytics MCP Server 📡

[!WARNING] This server is deprecated. Use the Cloudflare API MCP server at https://mcp.cloudflare.com/mcp instead. It covers the full Cloudflare API, including DNS Analytics.

This is a Model Context Protocol (MCP) server that supports remote MCP connections, with Cloudflare OAuth built-in.

It integrates tools powered by the Cloudflare DNS Analytics API to provide insights on DNS analytics and optimization.

The /mcp URL uses a stateless SDK v2 handler that creates a fresh server with request-scoped auth/account context for every request. The retired /sse URL returns 410 Gone pointing at /mcp. OAuth grants and token validation remain durable security state; the server stores no MCP protocol session.

🔨 Available Tools

Currently available tools:

CategoryToolDescription
Zone Informationzones_listList zones under the current active account.
DNS Analyticsdns_reportFetch the DNS Report for a given zone over a given time frame.
Account DNS Settingshow_account_dns_settingsFetch the DNS setting for the current active account.
Zone DNS Settingshow_zone_dns_settingsFetch the DNS setting for a given zone.

Note: Account-scoped tools detect single-account credentials and account-scoped API tokens automatically. If your credentials can access multiple accounts, pass account_id to the tool or set a cf-account-id request header in your MCP client configuration.

This MCP server is still a work in progress, and we plan to add more tools in the future.

Prompt Examples

  • List zones under my Cloudflare account.
  • What are the DNS Settings for my account?
  • Show me the zones under my account and fetch DNS Report for them.
  • How can I optimize my DNS Setting based on my DNS Report?
  • Which of my zones has the highest traffic?
  • Read Cloudflare's documentation on managing DNS records and tell me how to optimize my DNS settings.
  • Show me DNS Report for https://example.com in the last X days.

Connect to the MCP server

Connect your MCP client directly to https://dns-analytics.mcp.cloudflare.com/mcp. If prompted, complete the Cloudflare OAuth flow in your browser. The tools become available after authorization.

Interested in contributing, and running this server locally? See CONTRIBUTING.md to get started.

More Data Analysis & Visualization MCP servers

Similar servers from the same category.

CoinStats

coinstatshq

Provides real-time cryptocurrency market data, portfolio tracking, and news through direct access to the CoinStats API for retrieving coin information, market trends, wallet balances, and exchange integrations.

DataTrack+1

Vizro

mckinsey

Enables creation and validation of data visualization dashboards through natural language by generating chart code, validating configurations, and producing interactive Vizro visualizations with PyCafe preview links.

Data Analysis & Visualization

Provides a bridge between AI agents and Atlan data catalog services for searching, retrieving, traversing lineage, and updating asset metadata through the pyatlan SDK

search

ClickHouse

clickhouse

Integrates with ClickHouse to enable natural language querying and exploration of large datasets while maintaining read-only safeguards.

Data Analysis & Visualization