mcp-grafana
io.github.grafana/mcp-grafana
About mcp-grafana
mcp-grafana is an MCP server published by the GitHub account grafana. An MCP server giving access to Grafana dashboards, data and more.
It runs on your own machine: your AI client starts it from the Docker (OCI) package docker.io/grafana/mcp-grafana:2.1.1, with no version pinned, or you can connect to the hosted version instead.
It asks for 2 secrets: GRAFANA_SERVICE_ACCOUNT_TOKEN and GRAFANA_PASSWORD. Give it a key with the least access that still works.
It also needs GRAFANA_URL set before it starts.
Version v2.1.1 was published on 20 October 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on registry metadata: 5 pass, 0 warn, 0 fail, 4 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
GRAFANA_URL | Yes | No | URL to your Grafana instance |
GRAFANA_SERVICE_ACCOUNT_TOKEN | No | Yes | Service account token used to authenticate with your Grafana instance |
GRAFANA_USERNAME | No | No | Username to authenticate with your Grafana instance |
GRAFANA_PASSWORD | No | Yes | Password to authenticate with your Grafana instance |
GRAFANA_ORG_ID | No | No | Organization ID for multi-org support. Can also be set via X-Grafana-Org-Id header in SSE/streamable HTTP transports. |
GRAFANA_EXTRA_HEADERS | No | No | JSON object of additional HTTP headers to send with all Grafana API requests |
GRAFANA_FORWARD_HEADERS | No | No | Comma-separated list of HTTP header names to forward from the incoming request to Grafana (SSE/streamable-http only). Example: Cookie,X-Session-Id |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/grafana/mcp-grafana |
| Version pinned | Pass | Every package has an explicit version |
| Remote uses HTTPS | Pass | All remote endpoints use https:// |
| Secrets requested | Info | Asks for 2 secrets: GRAFANA_SERVICE_ACCOUNT_TOKEN, GRAFANA_PASSWORD |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account grafana |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Code red flags | Info | oci packages are not read yet |
| Tool descriptions read | Info | Needs sign-in before it lists its tools, so they could not be read |
Popularity & health: 74 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
482 forks, 808 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.grafana/mcp-grafana |
|---|---|
| Publisher | GitHub account grafana |
| How the name is verified | Name verified via GitHub account grafana. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local package and a hosted remote |
| Packages | oci docker.io/grafana/mcp-grafana:2.1.1 no version given (stdio) |
| Remote endpoints | streamable-http https://mcp.grafana.com/mcp |
| Version | v2.1.1 |
| Published | |
| Last updated | |
| Source repository | https://github.com/grafana/mcp-grafana |
| Website | None linked |
| Category | Analytics & monitoring (assigned by keyword rule, not by hand) |
Related servers in Analytics & monitoring
- Observability AIops7/7Governed Prometheus + Grafana ops: PromQL, alerts, dashboards, RCA;…
- Spoor4/5What changed across metrics, logs and traces, and where it started…
- Grafana MCP7/7Read-only project-level Grafana MCP: Loki logs, metrics, traces,…
- Loki MCP Server4/4Read-only Grafana Loki for AI agents: label discovery, bounded…
- logmcp2/2MCP server — read-only log access for AI assistants, without giving…
Glitchless8/8Game observability for coding agents: stutters, crashes, custom…