|
| 1 | +--- |
| 2 | +title: New GraphQL Analytics API Explorer and MCP Server |
| 3 | +description: Easily explore, build, and run GraphQL queries with two new tools |
| 4 | +date: 2025-05-23T11:00:00Z |
| 5 | +--- |
| 6 | + |
| 7 | +We’ve launched two powerful new tools to make the GraphQL Analytics API more accessible: |
| 8 | + |
| 9 | +#### GraphQL API Explorer |
| 10 | + |
| 11 | +The new [GraphQL API Explorer](https://graphql.cloudflare.com/explorer) helps you build, test, and run queries directly in your browser. Features include: |
| 12 | + |
| 13 | +- In-browser schema documentation to browse available datasets and fields |
| 14 | +- Interactive query editor with autocomplete and inline documentation |
| 15 | +- A "Run in GraphQL API Explorer" button to execute example queries from our docs |
| 16 | +- Seamless OAuth authentication — no manual setup required |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | +#### GraphQL Model Context Protocol (MCP) Server |
| 21 | + |
| 22 | +MCP Servers let you use natural language tools like Claude to generate structured queries against your data. See our [blog post](https://blog.cloudflare.com/thirteen-new-mcp-servers-from-cloudflare/) for details on how they work and which servers are available. The new [GraphQL MCP server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/graphql) helps you discover and generate useful queries for the GraphQL Analytics API. With this server, you can: |
| 23 | + |
| 24 | +- Explore what data is available to query |
| 25 | +- Generate and refine queries using natural language, with one-click links to run them in the API Explorer |
| 26 | +- Build dashboards and visualizations from structured query outputs |
| 27 | + |
| 28 | +Example prompts include: |
| 29 | + |
| 30 | +- “Show me HTTP traffic for the last 7 days for example.com” |
| 31 | +- “What GraphQL node returns firewall events?” |
| 32 | +- “Can you generate a link to the Cloudflare GraphQL API Explorer with a pre-populated query and variables?” |
| 33 | + |
| 34 | +We’re continuing to expand these tools, and your feedback helps shape what’s next. [Explore the documentation](/analytics/graphql-api/) to learn more and get started. |
0 commit comments