Grafana MCP Server for Claude Desktop

Connect Grafana to Claude Desktop using a service-account token to find dashboards and inspect monitoring data.

How to set up the Grafana MCP Server for Claude Desktop in Claude

  1. Obtain your Grafana instance URL and a Grafana service-account token with read permission.
  2. Install the Marketplace extension or configure the publisher’s uv-based server.
  3. Open a known staging dashboard and verify the returned dashboard UID.
  4. If the listing opens outside the app, use Claude Desktop’s extension browser to find and install the same extension.
Claude Desktop · Claude Desktop configuration
{
  "mcpServers": {
    "grafana": {
      "command": "uvx",
      "args": [
        "mcp-grafana"
      ],
      "env": {
        "GRAFANA_URL": "https://your-grafana.example.com",
        "GRAFANA_SERVICE_ACCOUNT_TOKEN": "<your service account token>"
      }
    }
  }
}
Download configuration

What you can do

This local server can find dashboards, retrieve panel definitions, and call exposed data-source tools. A read-only identity is a useful starting point for investigating the monitoring setup and avoiding edits.

A first task to try

Ask for the dashboard UID and exact panel title for a staging API latency panel. Match them in Grafana before using the suggested panel link to investigate an incident.

Compatibility and setup checks

Use the URL of your Grafana deployment and a service-account token scoped to the task. Grafana documents version 9.0 or later for full server functionality. The hosted Grafana Cloud connector uses a separate connection flow.

If a known dashboard is missing, verify the Grafana URL, organization, and token access. For a manual uv setup, confirm Claude Desktop can find uvx on its launch path.

Publisher setup

Claude Marketplace listing

Claude Desktop extension help

Browse MCP servers