# Grafana MCP Server

An MCP server for Grafana dashboards, data sources and incidents.

Grafana MCP lets agents search dashboards, query data sources and work with alerts and incidents.

- Canonical URL: https://meetnewai.com/mcp/grafana-mcp
- Official URL: https://grafana.com/
- Pricing: Open source
- Verified: Checked Oct 18, 2026
- Repository: https://github.com/grafana/mcp-grafana
- License: Apache-2.0

## MCP Install Config

```json
{
  "name": "grafana",
  "remote": false,
  "launch": "uvx mcp-grafana",
  "source": "https://github.com/grafana/mcp-grafana",
  "checked": "2026-10-18",
  "snippets": [
    {
      "id": "json",
      "code": "{\n  \"mcpServers\": {\n    \"grafana\": {\n      \"command\": \"uvx\",\n      \"args\": [\n        \"mcp-grafana\"\n      ],\n      \"env\": {\n        \"GRAFANA_URL\": \"http://localhost:3000\",\n        \"GRAFANA_SERVICE_ACCOUNT_TOKEN\": \"<SERVICE_ACCOUNT_TOKEN>\"\n      }\n    }\n  }\n}"
    },
    {
      "id": "vscode",
      "code": "{\n  \"servers\": {\n    \"grafana\": {\n      \"type\": \"stdio\",\n      \"command\": \"uvx\",\n      \"args\": [\n        \"mcp-grafana\"\n      ],\n      \"env\": {\n        \"GRAFANA_URL\": \"http://localhost:3000\",\n        \"GRAFANA_SERVICE_ACCOUNT_TOKEN\": \"<SERVICE_ACCOUNT_TOKEN>\"\n      }\n    }\n  }\n}"
    },
    {
      "id": "claude",
      "code": "claude mcp add grafana -e GRAFANA_URL=http://localhost:3000 -e GRAFANA_SERVICE_ACCOUNT_TOKEN='<SERVICE_ACCOUNT_TOKEN>' -- uvx mcp-grafana"
    }
  ]
}
```
