TC
ToolCompared
MCP Server

Grafana MCP Server

by Grafana Labs

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

About Grafana

The Grafana MCP server enables searching and retrieving dashboards, listing and fetching alert rule information, listing and querying data sources (Prometheus, Loki), querying metadata, and managing Grafana incidents (create, update, resolve). Modular design allows selectively enabling tools.

Tags

monitoringdashboardsprometheuslokiincidents

How to install Grafana

Package
mcp-grafana (pypi)
Transport
Local (stdio), Remote (SSE), Remote (Streamable HTTP)

Install or run

uvx mcp-grafana

Client configuration

{
  "mcpServers": {
    "grafana": {
      "command": "uvx",
      "args": [
        "mcp-grafana"
      ],
      "env": {
        "GRAFANA_URL": "http://localhost:3000",
        "GRAFANA_SERVICE_ACCOUNT_TOKEN": "<your service account token>"
      }
    }
  }
}

Copied from the official README — . Replace placeholder keys with your own credentials.

Client setup documented by the maintainer

ClientSetup steps in README
Claude DesktopYes
Claude CodeNot documented
CursorNot documented
VS CodeYes
WindsurfNot documented

“Not documented” means the README has no client-specific steps — most MCP clients can still run a local stdio server from the configuration above.

Related MCP servers in Analytics & Monitoring