MCPdir β€” MCP Server Directory
πŸ‡¬πŸ‡§ πŸ‡ͺπŸ‡Έ

Grafana MCP

by Grafana Labs

AI-powered access to Grafana dashboards, alerting, logs, and incident management

devops Python Intermediate Self-hostable Docker Verified
⭐ 2.4k stars πŸ“… Updated: 1mo ago

Description

MCP server from Grafana Labs for AI assistants to access Grafana instances. Comprehensive coverage of the Grafana ecosystem including dashboard operations, datasource management (Prometheus, Loki, ClickHouse, CloudWatch, Elasticsearch), PromQL query execution, alert rule management, log search, incident management, on-call scheduling, and panel image rendering. Multiple installation methods including uvx, Docker, binary, and Helm chart for Kubernetes. Built in Go for high performance and minimal resource usage. Ideal for DevOps and SRE teams wanting AI-assisted observability workflows.

βœ… Best for

DevOps and SRE teams using Grafana who want AI-assisted monitoring, alerting, and incident response

⏭️ Skip if

You don't use Grafana for observability or have a different monitoring stack

πŸ’‘ Use cases

  • Searching and exploring Grafana dashboards using natural language queries
  • Executing PromQL queries and analyzing Prometheus metrics from AI assistants
  • Managing alert rules and investigating incidents through conversational AI
  • Searching logs across Loki, Elasticsearch, and other datasources

πŸ‘ Pros

  • βœ“ Official Grafana Labs project with comprehensive ecosystem coverage
  • βœ“ Multiple install methods β€” uvx, Docker, binary, Helm for Kubernetes
  • βœ“ Supports all major datasources β€” Prometheus, Loki, ClickHouse, CloudWatch, Elasticsearch
  • βœ“ Built in Go for excellent performance and low resource footprint

πŸ‘Ž Cons

  • βœ— Requires a running Grafana instance with service account configured
  • βœ— Complex permission model β€” service account needs appropriate access levels
  • βœ— Some advanced features require Grafana Cloud or Enterprise edition

πŸ”§ Exposed tools (8 tools)

ToolCategoryDescription
manage_alertsalertingCreate, update, and manage Grafana alert rules
search_dashboardsdashboardsSearch for Grafana dashboards by name or tag
get_dashboarddashboardsRetrieve a specific dashboard by UID with full panel details
manage_incidentsincidentsCreate and manage incidents in Grafana Incident
search_logslogsSearch logs across Loki, Elasticsearch, and other log datasources
manage_oncalloncallManage on-call schedules and escalation policies
query_prometheusqueryExecute PromQL queries against Prometheus datasources
render_panelrenderingRender a dashboard panel as an image

⚑ Installation

Prerequisites:

  • β€’ python v3.10+
  • β€’ Grafana service account token
  • β€’ API key required

Check Claude Code documentation to configure this MCP server.

πŸ’‘ Tips & tricks

Create a dedicated Grafana service account with read-only permissions for safe exploration. Use the Helm chart for Kubernetes-native deployments. The query_prometheus tool is especially powerful for ad-hoc metric analysis during incident investigation.

Quick info

Author
Grafana Labs
License
Apache-2.0
Runtime
Python 3.10+
Transport
stdio
Category
devops
Difficulty
Intermediate
Self-hostable
βœ…
Auth
β€”
Docker
🐳 Docker available
Version
latest
Updated
Feb 28, 2026

Client compatibility

  • βœ… Claude Code
  • βœ… Cursor
  • ❓ VS Code Copilot
  • ❓ Gemini CLI
  • ❓ Windsurf
  • ❓ Cline
  • ❓ JetBrains AI
  • ❓ Warp

Platforms

🍎 macOS 🐧 Linux πŸͺŸ Windows