LocalFree server, account needed

Grafana MCP server

dockndevai/mcp-grafana

Safe-by-default MCP server for Grafana: search & read dashboards and the dashboard JSON model, query datasources (Prometheus/Loki/SQL via the unified query API), and inspect alert rules & annotations; in higher modes, create/update dashboards and folders, write annotations, and delete. Read-only by default with access modes, folder/datasource allowlists, and human confirmation (MCP elicitation) on deletes. npx -y @dockndevai/mcp-grafana

1 GitHub stars

Install Grafana in Claude Code

Claude Code
claude mcp add dockndevai-grafana -e GRAFANA_TOKEN=... -- npx -y @dockndevai/mcp-grafana
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "dockndevai-grafana": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-grafana"
      ],
      "env": {
        "GRAFANA_TOKEN": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the Grafana MCP server do?

Safe-by-default MCP server for Grafana: search & read dashboards and the dashboard JSON model, query datasources (Prometheus/Loki/SQL via the unified query API), and inspect alert rules & annotations; in higher modes, create/update dashboards and folders, write annotations, and delete. Read-only by default with access modes, folder/datasource allowlists, and human confirmation (MCP elicitation) on deletes. npx -y @dockndevai/mcp-grafana

Is the Grafana MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does Grafana run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Grafana to Claude Code?

Run: claude mcp add dockndevai-grafana -e GRAFANA_TOKEN=... -- npx -y @dockndevai/mcp-grafana

More monitoring & observability MCP servers

View all