Skip to content
mcp/skillhub

Grafana MCP Server

by grafanaio.github.grafana/mcp-grafanav2.0.1

Search dashboards, investigate incidents and query datasources in your Grafana instance.

3.5kDockerstdioremoteofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Activetoday

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.1

Configuration

VariableRequiredSecretDescription
GRAFANA_URLyes—URL to your Grafana instance
GRAFANA_SERVICE_ACCOUNT_TOKEN—yesService account token used to authenticate with your Grafana instance
GRAFANA_USERNAME——Username to authenticate with your Grafana instance
GRAFANA_PASSWORD—yesPassword 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-httphttps://mcp.grafana.com/mcp

Freshness

Active — last maintenance signal today. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-08 · today · GitHub

  2. Latest release

    2026-10-07 · 1d ago · GitHub · v2.0.2

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-10-06 · 3d ago · official registry · v2.0.1

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.1. 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.

Alternatives to Grafana

Other monitoring & observability MCP servers.

View all