Grafana MCP Server
Query metrics, logs and traces and manage Grafana dashboards, alerts and incidents.
Officialby Grafana LabsHosted or on your computerChecked November 8, 2026
Grafana Labs offers two official MCP servers: a hosted one for Grafana Cloud at https://mcp.grafana.com/mcp with OAuth sign-in, and the open-source mcp-grafana that you run yourself against any Grafana 9.0 or later instance with a service account token. Both let Claude search dashboards, run PromQL and LogQL queries, explore traces and profiles, and work with alerts, incidents and on-call schedules, always within your own Grafana permissions.
Who is Grafana MCP for?
- SRE and platform teams
- Developers debugging production issues
- Teams on Grafana Cloud or self-hosted Grafana
What can you ask Grafana MCP to do?
Once it is connected, ask in plain words. Your AI tool decides when to use the server and asks before it changes anything important.
Why did checkout latency spike at 3 pm today? Check the Prometheus metrics and Loki logs for the checkout service.Find the dashboard for our API gateway and add a panel that shows the 5xx error rate.Who is on call for the payments team right now, and are there any open incidents?How to connect Grafana to Claude
MCP is an open standard. The setup steps below cover this server in Claude Code, Claude app, Codex, ChatGPT, Cursor, VS Code, Gemini CLI, Antigravity, OpenCode, Windsurf. Pick your tool:
New to MCP? Read what an MCP server is and how to add one.
Connect the Grafana MCP server to Claude Code for me: run this command: claude mcp add grafana --transport http https://mcp.grafana.com/mcp
If a value starts with YOUR_, ask me for it first. When it is connected, help me sign in if needed and show me one thing I can ask it to do.Or do it yourself:
claude mcp add grafana --transport http https://mcp.grafana.com/mcpType /mcp inside Claude Code, pick the server and choose Authenticate to sign in.
Hosted address: https://mcp.grafana.com/mcp
Unlock the setup steps
Free. Leave your email once to open the setup steps for all 152 servers, and get the best new connectors each month.
Good to know
The hosted server is for Grafana Cloud only; with several stacks, add one entry per stack, such as https://mcp.grafana.com/mcp/YOUR_STACK.grafana.net. For self-hosted Grafana run uvx mcp-grafana with GRAFANA_URL and GRAFANA_SERVICE_ACCOUNT_TOKEN set, and add --disable-write for read-only use.
How did we check Grafana MCP?
Checked on November 8, 2026: Grafana Cloud's MCP server docs and the grafana/mcp-grafana README (Apache-2.0, 3,648 stars, release v2.2.0 on November 2, 2026). A test MCP initialize request to the hosted endpoint returned HTTP 401 asking for a bearer token.
Source: grafana.com/docs/grafana-cloud/ai-tools/mcp-servers/cloud-mcp/
What do people ask about Grafana MCP?
Can I use the hosted Grafana MCP server with self-hosted Grafana?
No. https://mcp.grafana.com/mcp works only with hosted Grafana Cloud stacks. For a Grafana you run yourself, use the open-source mcp-grafana with a service account token; Grafana 9.0 or later is needed for full functionality.
How do I keep Claude read-only in Grafana?
On the hosted server's consent page, untick both Write and Query: unticking only Write still allows raw SQL against data sources such as ClickHouse or Snowflake. On the open-source server, start it with --disable-write, which also removes the raw SQL tools unless you add --enable-query.
Does the Grafana Cloud MCP server cost anything?
It counts toward Grafana Assistant usage: each person who uses it counts as an active Assistant user for billing. A tool call uses no Assistant tokens unless the tool calls an Assistant model, and read-only use consumes none (Grafana Cloud docs, checked November 8, 2026).
How long does the Grafana Cloud sign-in last?
OAuth access tokens last 1 hour and refresh for up to 30 days, then you authorize again. Access always follows your own Grafana role-based permissions.
We wrote these answers from the official pages of each product named, read on November 8, 2026.
More cloud and DevOps servers
- Cloudflare API MCP ServerReach the whole Cloudflare API, from DNS to Workers, through one hosted server
- Sentry MCP ServerSearch Sentry errors, read stack traces and get AI root-cause analysis in Claude
- Netlify MCP ServerCreate, deploy and manage Netlify sites, forms, extensions and environment variables
Using servers like Grafana from Claude Code? Our Claude Code course, in early access, goes from your first command to a landing page, an AI video and a working agent.