# Does Grafana have an MCP server?

**Yes — Official.** Grafana maintains an official MCP server.

## Facts

- Verdict: Official (Yes)
- Access: Local server — Runs on your machine over stdio, launched by your MCP client.
- Repository: [grafana/mcp-grafana](https://github.com/grafana/mcp-grafana) — ★ 3.3k, last push 2026-08-11, Apache-2.0
- Maintainer: Grafana Labs
- Language: Go
- Category: [Monitoring](https://mcpyet.com/category/monitoring/)
- Verified against vendor docs: 2026-08-10
- GitHub data refreshed: 2026-08-11 (re-checked every 6 hours)

## What it does

> MCP server for Grafana
> — how [grafana/mcp-grafana](https://github.com/grafana/mcp-grafana) describes itself

## The receipts

- **Official repository:** [grafana/mcp-grafana](https://github.com/grafana/mcp-grafana) — ★ 3.3k, pushed 2026-08-11, Apache-2.0 (active)

## How to connect it

Runs on your machine over stdio, launched by your MCP client.

### Claude Code

```sh
claude mcp add grafana -- npx -y <package-from-readme>
```

Swap in the exact package and flags from the repo README — most servers need an API key passed as an environment variable. Add `--scope user` to make it available in every project.

### Claude Desktop

Open **Settings → Developer → Edit Config** and add the server to `claude_desktop_config.json`, then restart Claude Desktop:

```json
{
  "mcpServers": {
    "grafana": {
      "command": "npx",
      "args": [
        "-y",
        "<package-from-readme>"
      ],
      "env": {
        "API_KEY": "…"
      }
    }
  }
}
```

### Cursor

Add to `.cursor/mcp.json` in your project, or `~/.cursor/mcp.json` for every project:

```json
{
  "mcpServers": {
    "grafana": {
      "command": "npx",
      "args": [
        "-y",
        "<package-from-readme>"
      ],
      "env": {
        "API_KEY": "…"
      }
    }
  }
}
```

### VS Code

Add to `.vscode/mcp.json`, then pick the server from Copilot's agent-mode tools menu:

```json
{
  "servers": {
    "grafana": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "<package-from-readme>"
      ]
    }
  }
}
```

### ChatGPT

ChatGPT connects to **remote servers only**, and this one runs on your machine. Either expose it through an MCP gateway that gives it a public URL, or use a client with native local support (Claude or Cursor).

## How we know

grafana/mcp-grafana lives in Grafana Labs' own org (~3.3k stars, active) — dashboards, datasources, Prometheus/Loki queries, incidents and alerting.

- GitHub data refreshed 2026-08-11, then every 6 hours.
- Vendor docs verified on 2026-08-10.
- Corrections: hello@mcpyet.com.

## Also in Monitoring

- [Datadog](https://mcpyet.com/mcp/datadog.md) — Official (Yes)
- [Splunk](https://mcpyet.com/mcp/splunk.md) — Official (Yes)
- [Sentry](https://mcpyet.com/mcp/sentry.md) — Official (Yes)

---

Source: https://mcpyet.com/mcp/grafana/ — data refreshed 2026-08-11
