TL;DR

Grafana is a Monitoring MCP server that lets Claude Code, Cursor, Windsurf and any MCP-compatible AI agent dashboard and observability platform. Install in 1 minute with mcpizy install grafana.

πŸ“Š

Grafana

Install verified 6 tools

Monitoring

Last updated September 4, 2026 Β· By MCPizy team

Dashboard and observability platform

Official homepage
A

Repo audit: 90/100 β€” actively maintained, documented and licensed

Scored on licence, adoption, maintenance and documentation of grafana/mcp-grafana. We show the grade whether it flatters the server or not.

last commit today Β· 3,381 stars Β· Apache-2.0 licence Β· 128 open issues

Read the full audit on CheckMCP

Install Grafana

Via MCPizy CLI (recommended):
mcpizy install grafana
Or run directly:
uvx mcp-grafana
View on GitHub

Tools exposed

6 tools available
list_dashboards

List Grafana dashboards

Inputs

  • querystringoptional
get_dashboard

Get a dashboard by UID

Inputs

  • uidstringrequired
query_prometheus

Run a PromQL query

Inputs

  • querystringrequired
  • startstringoptional
  • endstringoptional
query_loki

Query logs via LogQL

Inputs

  • querystringrequired
list_datasources

List configured datasources

list_alerts

List alert rules

Configuration

Works identically across clients. Only the config file path differs.

Claude Code~/.claude.json
{
  "mcpServers": {
    "grafana": {
      "command": "uvx",
      "args": [
        "mcp-grafana"
      ],
      "env": {
        "GRAFANA_URL": "https://grafana.example.com",
        "GRAFANA_API_KEY": "glsa_..."
      }
    }
  }
}
Cursor.cursor/mcp.json
{
  "mcpServers": {
    "grafana": {
      "command": "uvx",
      "args": [
        "mcp-grafana"
      ],
      "env": {
        "GRAFANA_URL": "https://grafana.example.com",
        "GRAFANA_API_KEY": "glsa_..."
      }
    }
  }
}
Windsurf~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "grafana": {
      "command": "uvx",
      "args": [
        "mcp-grafana"
      ],
      "env": {
        "GRAFANA_URL": "https://grafana.example.com",
        "GRAFANA_API_KEY": "glsa_..."
      }
    }
  }
}

Authentication setup

  1. 1

    Create a service account token with Viewer role

    Get it GRAFANA_API_KEY
  2. 2

    Set your Grafana URL (cloud or self-hosted)

    Get it GRAFANA_URL

What you can do with Grafana MCP

Paste any of these prompts into Claude Code, Cursor or another MCP-compatible client.

β€œWhat's the current CPU usage of my production nodes? Use PromQL.”

Uses: query_prometheus

β€œShow me 5xx errors from my API in the last 30 minutes via Loki”

Uses: query_loki

β€œList dashboards tagged `production`”

Uses: list_dashboards

Works with

Claude Code
Claude Desktop
Cursor
Windsurf
VS Code + Copilot
Any MCP Client

Frequently asked questions

What is the Grafana MCP server?

Grafana is listed as an Monitoring Model Context Protocol server whose documented purpose is to let an MCP-compatible agent dashboard and observability platform. Client support, permissions and authentication remain specific to the upstream project.

How do I install Grafana MCP with Claude Code?

The fastest way is the MCPizy CLI: run `mcpizy install grafana` and MCPizy will add the server to your `.claude.json` automatically. You can also install it manually by adding an entry under `mcpServers` in `.claude.json` with the command `uvx mcp-grafana` and restarting Claude Code.

Does MCPizy charge to view or install Grafana MCP?

No. Reading this profile and copying its install guidance is free. Upstream software, API, account or usage costs are separate, and licence coverage should be checked from the linked source when available.

Does Grafana MCP work with Cursor and Windsurf?

The MCP standard is supported by those clients, but a specific server can still have client-specific setup or transport limits. Use the configuration shown on this page when present and verify the upstream instructions before installation.

What can I do with Grafana MCP?

Its documented purpose is to let an MCP-compatible agent dashboard and observability platform. The exact tools, permissions and write capabilities depend on the server version and configuration shown by the upstream project.

Compare before you commit

Put this server beside an alternative, or return to the full evidence directory.

Compare MCP serversBack to directory