MCP server

Grafana MCP Server

Search dashboards, query Prometheus and Loki, and manage incidents and alerts. Official: built and maintained by Grafana Labs. It runs as a hosted remote server or locally. Setup below for 13 clients (checked 2026-10-25). Repo and registry data checked 2026-10-24.
Maintainer
Official · Grafana Labs
Runs
Remote + local
GitHub
★ 3,598, last push 2026-10-23 (checked 2026-10-24)
License
Apache-2.0
URL
https://mcp.grafana.com/mcp
Registry
io.github.grafana/mcp-grafana
Connects to
Grafana, Loki, Prometheus

Install the Grafana MCP Server

Pick your client. Remote first: nothing to install, and you sign in with OAuth where the client supports it. Config shapes checked against each client's docs on 2026-10-25.

Needs GRAFANA_URL (replace the ... with your value).

The URL also takes X-Grafana-URL as a header (see its docs), for clients without OAuth sign-in.

Run in a terminal, then /mcp inside Claude Code to sign in. Add --scope project to share it via .mcp.json. docs

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

Security notes

  • The remote server runs at mcp.grafana.com, hosted by Grafana Labs. You sign in with OAuth in clients that support it, or with X-Grafana-URL header where OAuth isn't available, and it acts with your account's permissions.
  • The local server runs with your user's permissions (it runs in a Docker container, and only the variables passed with -e reach it).
  • Needs GRAFANA_URL.
  • Prometheuscommunity · ★ 519

    Run PromQL queries and explore metrics and targets in a Prometheus server.

  • OpenStatusofficial · ★ 9.2k

    Monitors, status pages, incidents and maintenance windows in OpenStatus.

  • Google Analyticsofficial · ★ 3.6k

    Run Google Analytics 4 reports and read account and property details.

  • Google Adsofficial · ★ 1.1k

    Query Google Ads accounts, campaigns and performance with GAQL.

  • Sentryofficial · ★ 944

    Search issues and events, read stack traces and run Seer root-cause analysis.

  • Dynatraceofficial · ★ 167

    Query logs, metrics, problems and vulnerabilities in your Dynatrace environment with DQL.

  • Logfireofficial · ★ 162

    Read OpenTelemetry traces and metrics from Logfire and find exceptions.

  • Rootlyofficial · ★ 45

    Rootly incidents, on-call schedules, alerts and similar past incidents.

Comparing servers for one product? Loki MCP servers

FAQ

What does the Grafana MCP Server do?+

Search dashboards, query Prometheus and Loki, and manage incidents and alerts.

Is the Grafana MCP server official?+

Official: built and maintained by Grafana Labs.

How do I add Grafana to Claude Code?+

Run: claude mcp add --transport http grafana https://mcp.grafana.com/mcp, then /mcp inside Claude Code to sign in. Add --scope project to share it with your team through .mcp.json.

How do I use the Grafana MCP server in Cursor or VS Code?+

Open the Cursor or VS Code tab above: it has the mcp.json entry and a one-click install link. Cursor uses the "mcpServers" key; VS Code uses "servers" and needs a type ("http").

Does Grafana work in ChatGPT and claude.ai?+

Yes, it has a remote URL (https://mcp.grafana.com/mcp). In claude.ai add it under Customize > Connectors > Add custom connector; in ChatGPT under chatgpt.com/plugins > Add custom MCP server.

What are the alternatives to the Grafana MCP server?+

Other monitoring & observability MCP servers: Prometheus, OpenStatus, Google Analytics, Google Ads and Sentry.

All MCP servers · What is an MCP server? · Agent skills