---
title: "Grafana"
url: "https://agentconnectors.dev/tools/grafana"
updated: "2026-10-14"
source_url: "https://github.com/modelcontextprotocol/servers/blob/e6b0b0f5d355530ebdd09bc547240e556fbc6c19/README.md"
---

# Grafana

Grafana is an MCP server an agent can use to search dashboards, investigate incidents and query datasources in the Grafana instance.

- Category: [Observability](https://agentconnectors.dev/categories/observability)
- Collection: Official integration
- Status: active
- Publisher: Vendor. Repository owner grafana is the company that publishes this listing. Source: https://github.com/grafana/mcp-grafana
- Kind: mcp-server
- Listing: https://github.com/grafana/mcp-grafana
- Repository: https://github.com/grafana/mcp-grafana
- Homepage: Not listed
- Package: Not listed
- Successor: Not listed
- Source: https://github.com/modelcontextprotocol/servers/blob/e6b0b0f5d355530ebdd09bc547240e556fbc6c19/README.md
- Page: https://agentconnectors.dev/tools/grafana
- JSON: https://agentconnectors.dev/api/tools/grafana.json
- Labels: none.

Paid placements are labelled Featured or Sponsored. An Enriched badge means we applied the owner-supplied description and links after a link check on those URLs. Ownership confirmation is optional. It does not mean functionality testing, a security audit, an endorsement, a ranking, or guaranteed traffic, leads, citations, or revenue.

## Connect it

from vendor docs, not tested by us

Configuration validation checks that these snippets parse and include every environment variable named in the Auth fact. It is not a connection test.

Source: https://github.com/grafana/mcp-grafana/blob/HEAD/README.md

- Env vars named in the local snippet: GRAFANA_URL, GRAFANA_SERVICE_ACCOUNT_TOKEN

### Claude Desktop (local)

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

### Claude Code (local)

```
claude mcp add grafana -e GRAFANA_URL="http://localhost:3000" -e GRAFANA_SERVICE_ACCOUNT_TOKEN="<your service account token>" -- uvx mcp-grafana
```

### Cursor (local)

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

### VS Code (local)

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

Added 2026-10-14.

## Related in Observability

- [HeyOnCall](https://agentconnectors.dev/tools/heyoncall)
- [Honeycomb](https://agentconnectors.dev/tools/honeycomb)
- [Last9](https://agentconnectors.dev/tools/last9)
- [Logfire](https://agentconnectors.dev/tools/logfire)
- [Metoro](https://agentconnectors.dev/tools/metoro)
- [Mixpanel](https://agentconnectors.dev/tools/mixpanel)
