
Grafana MCP Server
by grafanaio.github.grafana/mcp-grafanav2.0.2
Search dashboards, investigate incidents and query datasources in your Grafana instance.
context tax
not measurable
security
100/100
cold start
pending
freshness
Active23d ago
Our reading of Grafana, from the data
Grafana is a monitoring & observability MCP server from grafana, listed in the official MCP Registry.
We haven't measured its tool list yet, so its token cost is unknown.
Maintenance is active: the last public signal was 23 days ago (2026-10-18). For comparison, 61% of monitoring & observability servers are active or maintained.
With 3,571 GitHub stars it ranks #6 of 797 monitoring & observability servers we index.
It runs either locally over stdio or as a hosted endpoint and needs 2 secrets (GRAFANA_SERVICE_ACCOUNT_TOKEN, GRAFANA_PASSWORD); use a scoped, least-privilege key.
Install Grafana MCP server
Install in Claude Code
claude mcp add grafana -e GRAFANA_URL='<grafana-url>' -e GRAFANA_SERVICE_ACCOUNT_TOKEN='<grafana-service-account-token>' -e GRAFANA_PASSWORD='<grafana-password>' -- docker run -i --rm -e GRAFANA_URL -e GRAFANA_SERVICE_ACCOUNT_TOKEN -e GRAFANA_PASSWORD docker.io/grafana/mcp-grafana:2.0.2Install in Cursor
{
"mcpServers": {
"grafana": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GRAFANA_URL",
"-e",
"GRAFANA_SERVICE_ACCOUNT_TOKEN",
"-e",
"GRAFANA_PASSWORD",
"docker.io/grafana/mcp-grafana:2.0.2"
],
"env": {
"GRAFANA_URL": "<grafana-url>",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "<grafana-service-account-token>",
"GRAFANA_PASSWORD": "<grafana-password>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"grafana": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GRAFANA_URL",
"-e",
"GRAFANA_SERVICE_ACCOUNT_TOKEN",
"-e",
"GRAFANA_PASSWORD",
"docker.io/grafana/mcp-grafana:2.0.2"
],
"env": {
"GRAFANA_URL": "<grafana-url>",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "<grafana-service-account-token>",
"GRAFANA_PASSWORD": "<grafana-password>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"grafana": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GRAFANA_URL",
"-e",
"GRAFANA_SERVICE_ACCOUNT_TOKEN",
"-e",
"GRAFANA_PASSWORD",
"docker.io/grafana/mcp-grafana:2.0.2"
],
"env": {
"GRAFANA_URL": "<grafana-url>",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "<grafana-service-account-token>",
"GRAFANA_PASSWORD": "<grafana-password>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"grafana": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GRAFANA_URL",
"-e",
"GRAFANA_SERVICE_ACCOUNT_TOKEN",
"-e",
"GRAFANA_PASSWORD",
"docker.io/grafana/mcp-grafana:2.0.2"
],
"env": {
"GRAFANA_URL": "<grafana-url>",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "<grafana-service-account-token>",
"GRAFANA_PASSWORD": "<grafana-password>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test docker.io/grafana/mcp-grafana:2.0.2 --env GRAFANA_URL
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| GRAFANA_URL | yes | — | URL to your Grafana instance |
| GRAFANA_SERVICE_ACCOUNT_TOKEN | — | yes | Service account token used to authenticate with your Grafana instance |
| GRAFANA_USERNAME | — | — | Username to authenticate with your Grafana instance |
| GRAFANA_PASSWORD | — | yes | Password to authenticate with your Grafana instance |
| GRAFANA_ORG_ID | — | — | Organization ID for multi-org support. Can also be set via X-Grafana-Org-Id header in SSE/streamable HTTP transports. |
| GRAFANA_EXTRA_HEADERS | — | — | JSON object of additional HTTP headers to send with all Grafana API requests |
| GRAFANA_FORWARD_HEADERS | — | — | Comma-separated list of HTTP header names to forward from the incoming request to Grafana (SSE/streamable-http only). Example: Cookie,X-Session-Id |
Remote endpoints
- streamable-http
https://mcp.grafana.com/mcp
Security signals
100/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
No findings from the checks that ran.
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ○Package metadata (install scripts, provenance) — pending
- ○Tool descriptions (prompt-injection and hidden-text heuristics) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 23d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-18 · 23d ago · GitHub
Latest release
2026-10-07 · 34d ago · GitHub · v2.0.2
Package published
no data · npm/PyPI
Registry entry updated
2026-10-10 · 31d ago · official registry · v2.0.2
How it compares in Monitoring & Observability
Against the most-starred monitoring & observability servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| Grafana (this) | 3,571 | — | not measured | Active | local + hosted |
| Netdata | 81,005 | — | not measured | Active | hosted |
| Firecrawl | 7,634 | 3 | 4,383 | Active | local + hosted |
| Browser Tools | 7,327 | 16 | 2,909 | Active | local |
| Kubefwd | 4,177 | — | not measured | Active | local |
| Radar Kubernetes | 3,851 | — | not measured | Active | hosted |
FAQ
›How do I install the Grafana MCP server in Claude Code?
Run: claude mcp add grafana -e GRAFANA_URL='<grafana-url>' -e GRAFANA_SERVICE_ACCOUNT_TOKEN='<grafana-service-account-token>' -e GRAFANA_PASSWORD='<grafana-password>' -- docker run -i --rm -e GRAFANA_URL -e GRAFANA_SERVICE_ACCOUNT_TOKEN -e GRAFANA_PASSWORD docker.io/grafana/mcp-grafana:2.0.2. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Grafana require an API key?
Yes. It expects GRAFANA_URL, GRAFANA_SERVICE_ACCOUNT_TOKEN, GRAFANA_PASSWORD, of which 2 are secrets.
›Can I use Grafana as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is Grafana in the official MCP registry?
Yes, as io.github.grafana/mcp-grafana.
Sources and method
- Official MCP Registry entry
- updated 2026-10-10
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Security signals, computed by us
- 2026-10-19
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to Grafana
Other monitoring & observability MCP servers.