Skip to content

Grafana MCP Server

Query metrics, logs and traces and manage Grafana dashboards, alerts and incidents.

Officialby Grafana LabsHosted or on your computerChecked October 18, 2026

Grafana Labs runs a hosted MCP server for Grafana Cloud with OAuth sign-in, and it also publishes the open-source mcp-grafana server that you run yourself against any Grafana instance with a service account token. Both let Claude search dashboards, run PromQL and LogQL queries, and work with alerts, incidents and on-call schedules.

Who it is for

  • SRE and platform teams
  • Developers debugging production issues
  • Teams on Grafana Cloud or self-hosted Grafana

Prompts to try

Once it is connected, ask in plain words. Claude decides when to use the server and asks before it changes anything important.

Prompt 1
Why did checkout latency spike at 3 pm today? Check the Prometheus metrics and Loki logs for the checkout service.
Prompt 2
Find the dashboard for our API gateway and add a panel that shows the 5xx error rate.
Prompt 3
Who is on call for the payments team right now, and are there any open incidents?

How to connect it

In Claude Code

  1. claude mcp add grafana --transport http https://mcp.grafana.com/mcp

In the Claude desktop app

Customize > Connectors > Discover: search Grafana Cloud, then select Connect to Claude

Hosted address: https://mcp.grafana.com/mcp

Good to know

The hosted server is for Grafana Cloud only; for self-hosted Grafana run uvx mcp-grafana with GRAFANA_URL and GRAFANA_SERVICE_ACCOUNT_TOKEN set.

Unlock the setup steps

Free. Leave your email once to open the setup steps for all 150 servers, and get the best new connectors each month.

No spam. One click to unsubscribe. We use your email to send you the course and AI tips.

How we checked it

Checked Grafana Cloud's MCP docs, the grafana/mcp-grafana repo (Apache-2.0, release v2.0.2 on 2026-10-07, last commit 2026-10-14), the registry entry io.github.grafana/mcp-grafana and the Claude directory listing; the hosted endpoint answers with an OAuth challenge.

Source: grafana.com/docs/grafana-cloud/ai-tools/mcp-servers/cloud-mcp/