Home / Servers / Cloudflare API / art_analytics_query_summary
Query analytics summary
An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.
Query analytics summary Returns aggregate summary stats for a dataset. Includes current-period and previous-period totals… [POST /accounts/{account_id}/analytics/query/{dataset}/summary]
Name on the gateway: cloudflare_api__art_analytics_query_summary · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
account_id required | string | account_id parameter |
dataset required | string | dataset parameter |
filters required | array | Filters to apply before aggregating results. |
from required | string | The start of the query time range (inclusive).… |
groupBy required | array | Specifies the column names to group results by.… |
stats required | array | Specifies the stat names to include in results.… |
to required | string | Specifies the end of the query time range… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "cloudflare_api__art_analytics_query_summary",
"arguments": {
"account_id": "…",
"dataset": "…",
"filters": [],
"from": "…",
"groupBy": [],
"stats": [],
"to": "…"
}
}Or connect the Cloudflare API server directly, which lists 3,127 tools including this one:
claude mcp add --transport http hj-cloudflare-api https://mcp.hjlabs.in/mcp/cloudflare-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the query analytics summary tool with account_id set to ….