OfficialLocal + RemoteFree server, account needed

Grafana MCP server

grafana/mcp-grafana

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

3,631 GitHub stars483 forks

Install Grafana in Claude Code

Remote URL

Claude Code
claude mcp add --transport http grafana https://mcp.grafana.com/mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "grafana": {
      "url": "https://mcp.grafana.com/mcp"
    }
  }
}

Docker

Claude Code
claude mcp add grafana -e GRAFANA_URL=... -- docker run -i --rm -e GRAFANA_URL docker.io/grafana/mcp-grafana:2.1.1
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "grafana": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GRAFANA_URL",
        "docker.io/grafana/mcp-grafana:2.1.1"
      ],
      "env": {
        "GRAFANA_URL": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the Grafana MCP server do?

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

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 + Remote. Can run locally or be used as a hosted remote server.

How do I add Grafana to Claude Code?

Run: claude mcp add --transport http grafana https://mcp.grafana.com/mcp

More monitoring & observability MCP servers

View all